#250E42#250E42

#250E42 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.3% C 0.093 H 299.3°. Best body text is #FFFFFF at 17.21:1 contrast (WCAG AA passes).

Color values

HEX#250E42
RGBrgb(37, 14, 66)
HSLhsl(267, 65%, 16%)
HSVhsv(267, 79%, 26%)
CMYKcmyk(43.9%, 78.8%, 0%, 74.1%)
CIE-LABlab(9.80, 24.55, -28.38)
CIE-LCHlch(9.80, 37.52, 310.86°)
OKLaboklab(23.33% 0.0454 -0.081)
OKLCHoklch(23.33% 0.093 299.3)
XYZxyz(1.9031, 1.1007, 5.2654)
Luminance0.0110 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#250E42 #2B420E
analogous
#0E1142 #250E42 #3F0E42
triadic
#250E42 #42250E #0E4225
tetradic
#250E42 #420E11 #2B420E #0E423F
square
#250E42 #420E11 #2B420E #0E423F
split-complementary
#250E42 #423F0E #11420E
monochromatic
#0E0519 #0E0519 #250E42 #411974 #5E23A7

Accessibility & contrast

On white

17.21
#250E42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#250E42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #250E42
17.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##250E42#FFFFFF#000000##FFFFFF
##250E421.0017.211.2217.21
#FFFFFF17.211.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B44
Deuteranopia (green-blind)
#001B41
Tritanopia (blue-blind)
#1E1B26
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #250e42;
/* rgb */ color: rgb(37, 14, 66);
/* oklch */ color: oklch(23.3% 0.093 299.3);
Tailwind
colors: {
  custom: {
    50: '#634e77',
    500: '#250e42',
    950: '#000000',
  },
}
SCSS
$custom: #250e42;
$custom-light: #634e77;
$custom-dark: #000000;
JSON
{
  "hex": "#250e42",
  "rgb": {
    "r": 37,
    "g": 14,
    "b": 66
  },
  "hsl": {
    "h": 266.538,
    "s": 65,
    "l": 15.686
  },
  "oklch": {
    "l": 0.2333,
    "c": 0.09282,
    "h": 299.3
  },
  "luminance": 0.01101
}

Semantic roles & 50–950 ramp

primary
#250E42
secondary
#5A7D2F
accent
#E8409E
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#050208
muted
#7A787B

Preview Lab

Preview with #250E42

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

Preview Lab → · Contrast checker → · Palette generator →

#250E42 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva