#250331#250331

#250331 is a very dark, moderate purple. Relative luminance 0.007; OKLCH L 20.1% C 0.090 H 315.5°. Best body text is #FFFFFF at 18.49:1 contrast (WCAG AA passes).

Color values

HEX#250331
RGBrgb(37, 3, 49)
HSLhsl(284, 88%, 10%)
HSVhsv(284, 94%, 19%)
CMYKcmyk(24.5%, 93.9%, 0%, 80.8%)
CIE-LABlab(6.14, 25.63, -21.99)
CIE-LCHlch(6.14, 33.77, 319.37°)
OKLaboklab(20.14% 0.0641 -0.0629)
OKLCHoklch(20.14% 0.09 315.5)
XYZxyz(1.3498, 0.6802, 2.9653)
Luminance0.0068 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#250331 #0F3103
analogous
#0E0331 #250331 #310326
triadic
#250331 #312503 #033125
tetradic
#250331 #310E03 #0F3103 #032631
square
#250331 #310E03 #0F3103 #032631
split-complementary
#250331 #263103 #03310E
monochromatic
#16021D #16021D #250331 #51076B #7C0AA4

Accessibility & contrast

On white

18.49
#250331 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#250331 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #250331
18.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##250331#FFFFFF#000000##FFFFFF
##2503311.0018.491.1418.49
#FFFFFF18.491.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001232
Deuteranopia (green-blind)
#021530
Tritanopia (blue-blind)
#240D1A
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #250331;
/* rgb */ color: rgb(37, 3, 49);
/* oklch */ color: oklch(20.1% 0.090 315.5);
Tailwind
colors: {
  custom: {
    50: '#624769',
    500: '#250331',
    950: '#000000',
  },
}
SCSS
$custom: #250331;
$custom-light: #624769;
$custom-dark: #000000;
JSON
{
  "hex": "#250331",
  "rgb": {
    "r": 37,
    "g": 3,
    "b": 49
  },
  "hsl": {
    "h": 284.348,
    "s": 88.462,
    "l": 10.196
  },
  "oklch": {
    "l": 0.2014,
    "c": 0.08984,
    "h": 315.5
  },
  "luminance": 0.0068
}

Semantic roles & 50–950 ramp

primary
#250331
secondary
#33741B
accent
#FF2961
background
#F5F4F6
surface
#EAE6EB
border
#C6C2C6
text
#050006
muted
#79777A

Preview Lab

Preview with #250331

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

Preview Lab → · Contrast checker → · Palette generator →

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