#25143F#25143F

#25143F is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.1% C 0.079 H 298.5°. Best body text is #FFFFFF at 16.79:1 contrast (WCAG AA passes).

Color values

HEX#25143F
RGBrgb(37, 20, 63)
HSLhsl(264, 52%, 16%)
HSVhsv(264, 68%, 25%)
CMYKcmyk(41.3%, 68.3%, 0%, 75.3%)
CIE-LABlab(10.94, 19.82, -24.41)
CIE-LCHlch(10.94, 31.45, 309.07°)
OKLaboklab(24.07% 0.0377 -0.0693)
OKLCHoklch(24.07% 0.079 298.5)
XYZxyz(1.9101, 1.2525, 4.8428)
Luminance0.0125 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25143F #2E3F14
analogous
#14193F #25143F #3B143F
triadic
#25143F #3F2514 #143F25
tetradic
#25143F #3F1419 #2E3F14 #143F3B
square
#25143F #3F1419 #2E3F14 #143F3B
split-complementary
#25143F #3F3B14 #193F14
monochromatic
#0E0717 #0E0717 #25143F #40236D #5C319C

Accessibility & contrast

On white

16.79
#25143F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#25143F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25143F
16.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25143F#FFFFFF#000000##FFFFFF
##25143F1.0016.791.2516.79
#FFFFFF16.791.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D40
Deuteranopia (green-blind)
#051D3E
Tritanopia (blue-blind)
#1F1D27
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #25143f;
/* rgb */ color: rgb(37, 20, 63);
/* oklch */ color: oklch(24.1% 0.079 298.5);
Tailwind
colors: {
  custom: {
    50: '#625274',
    500: '#25143f',
    950: '#000000',
  },
}
SCSS
$custom: #25143f;
$custom-light: #625274;
$custom-dark: #000000;
JSON
{
  "hex": "#25143f",
  "rgb": {
    "r": 37,
    "g": 20,
    "b": 63
  },
  "hsl": {
    "h": 263.721,
    "s": 51.807,
    "l": 16.275
  },
  "oklch": {
    "l": 0.24068,
    "c": 0.0789,
    "h": 298.5
  },
  "luminance": 0.01253
}

Semantic roles & 50–950 ramp

primary
#25143F
secondary
#5E7738
accent
#DB4DA3
background
#F5F4F7
surface
#EAE7ED
border
#C6C3C8
text
#050208
muted
#79787B

Preview Lab

Preview with #25143F

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#25143F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva