#250231#250231

#250231 is a very dark, moderate purple. Relative luminance 0.007; OKLCH L 20.0% C 0.092 H 315.8°. Best body text is #FFFFFF at 18.56:1 contrast (WCAG AA passes).

Color values

HEX#250231
RGBrgb(37, 2, 49)
HSLhsl(285, 92%, 10%)
HSVhsv(285, 96%, 19%)
CMYKcmyk(24.5%, 95.9%, 0%, 80.8%)
CIE-LABlab(5.95, 26.15, -22.31)
CIE-LCHlch(5.95, 34.37, 319.54°)
OKLaboklab(19.98% 0.0659 -0.064)
OKLCHoklch(19.98% 0.092 315.8)
XYZxyz(1.3389, 0.6585, 2.9617)
Luminance0.0066 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#250231 #0E3102
analogous
#0E0231 #250231 #310225
triadic
#250231 #312502 #023125
tetradic
#250231 #310E02 #0E3102 #022531
square
#250231 #310E02 #0E3102 #022531
split-complementary
#250231 #253102 #02310E
monochromatic
#16011D #16011D #250231 #51046C #7E07A7

Accessibility & contrast

On white

18.56
#250231 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#250231 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #250231
18.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##250231#FFFFFF#000000##FFFFFF
##2502311.0018.561.1318.56
#FFFFFF18.561.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001132
Deuteranopia (green-blind)
#011430
Tritanopia (blue-blind)
#240C19
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #250231;
/* rgb */ color: rgb(37, 2, 49);
/* oklch */ color: oklch(20.0% 0.092 315.8);
Tailwind
colors: {
  custom: {
    50: '#624769',
    500: '#250231',
    950: '#000000',
  },
}
SCSS
$custom: #250231;
$custom-light: #624769;
$custom-dark: #000000;
JSON
{
  "hex": "#250231",
  "rgb": {
    "r": 37,
    "g": 2,
    "b": 49
  },
  "hsl": {
    "h": 284.681,
    "s": 92.157,
    "l": 10
  },
  "oklch": {
    "l": 0.19975,
    "c": 0.09186,
    "h": 315.8
  },
  "luminance": 0.00658
}

Semantic roles & 50–950 ramp

primary
#250231
secondary
#317519
accent
#FF295F
background
#F5F4F6
surface
#EAE6EB
border
#C6C2C6
text
#050006
muted
#79777A

Preview Lab

Preview with #250231

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

Preview Lab → · Contrast checker → · Palette generator →

#250231 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva