#250F42#250F42

#250F42 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.5% C 0.091 H 298.9°. Best body text is #FFFFFF at 17.13:1 contrast (WCAG AA passes).

Color values

HEX#250F42
RGBrgb(37, 15, 66)
HSLhsl(266, 63%, 16%)
HSVhsv(266, 77%, 26%)
CMYKcmyk(43.9%, 77.3%, 0%, 74.1%)
CIE-LABlab(10.02, 23.96, -28.03)
CIE-LCHlch(10.02, 36.87, 310.52°)
OKLaboklab(23.48% 0.0442 -0.0799)
OKLCHoklch(23.48% 0.091 298.9)
XYZxyz(1.9169, 1.1283, 5.2700)
Luminance0.0113 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#250F42 #2C420F
analogous
#0F1242 #250F42 #3E0F42
triadic
#250F42 #42250F #0F4225
tetradic
#250F42 #420F12 #2C420F #0F423E
square
#250F42 #420F12 #2C420F #0F423E
split-complementary
#250F42 #423E0F #12420F
monochromatic
#0E0619 #0E0619 #250F42 #411A74 #5D26A6

Accessibility & contrast

On white

17.13
#250F42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#250F42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #250F42
17.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##250F42#FFFFFF#000000##FFFFFF
##250F421.0017.131.2317.13
#FFFFFF17.131.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #250f42;
/* rgb */ color: rgb(37, 15, 66);
/* oklch */ color: oklch(23.5% 0.091 298.9);
Tailwind
colors: {
  custom: {
    50: '#634f77',
    500: '#250f42',
    950: '#000000',
  },
}
SCSS
$custom: #250f42;
$custom-light: #634f77;
$custom-dark: #000000;
JSON
{
  "hex": "#250f42",
  "rgb": {
    "r": 37,
    "g": 15,
    "b": 66
  },
  "hsl": {
    "h": 265.882,
    "s": 62.963,
    "l": 15.882
  },
  "oklch": {
    "l": 0.23483,
    "c": 0.09133,
    "h": 298.9
  },
  "luminance": 0.01128
}

Semantic roles & 50–950 ramp

primary
#250F42
secondary
#5C7C30
accent
#E6429F
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#050208
muted
#7A787B

Preview Lab

Preview with #250F42

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

Preview Lab → · Contrast checker → · Palette generator →

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