#250131#250131

#250131 is a very dark, moderate purple. Relative luminance 0.006; OKLCH L 19.8% C 0.094 H 316.1°. Best body text is #FFFFFF at 18.63:1 contrast (WCAG AA passes).

Color values

HEX#250131
RGBrgb(37, 1, 49)
HSLhsl(285, 96%, 10%)
HSVhsv(285, 98%, 19%)
CMYKcmyk(24.5%, 98%, 0%, 80.8%)
CIE-LABlab(5.75, 26.67, -22.62)
CIE-LCHlch(5.75, 34.97, 319.70°)
OKLaboklab(19.81% 0.0676 -0.0652)
OKLCHoklch(19.81% 0.094 316.1)
XYZxyz(1.3281, 0.6368, 2.9581)
Luminance0.0064 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#250131 #0D3101
analogous
#0D0131 #250131 #310125
triadic
#250131 #312501 #013125
tetradic
#250131 #310D01 #0D3101 #012531
square
#250131 #310D01 #0D3101 #012531
split-complementary
#250131 #253101 #01310D
monochromatic
#17011E #17011E #250131 #52026D #8003A9

Accessibility & contrast

On white

18.63
#250131 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #250131
18.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##250131#FFFFFF#000000##FFFFFF
##2501311.0018.631.1318.63
#FFFFFF18.631.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.631.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #250131;
/* rgb */ color: rgb(37, 1, 49);
/* oklch */ color: oklch(19.8% 0.094 316.1);
Tailwind
colors: {
  custom: {
    50: '#624669',
    500: '#250131',
    950: '#000000',
  },
}
SCSS
$custom: #250131;
$custom-light: #624669;
$custom-dark: #000000;
JSON
{
  "hex": "#250131",
  "rgb": {
    "r": 37,
    "g": 1,
    "b": 49
  },
  "hsl": {
    "h": 285,
    "s": 96,
    "l": 9.804
  },
  "oklch": {
    "l": 0.19807,
    "c": 0.09393,
    "h": 316.1
  },
  "luminance": 0.00637
}

Semantic roles & 50–950 ramp

primary
#250131
secondary
#2F7717
accent
#FF295E
background
#F5F4F6
surface
#EAE6EB
border
#C6C2C6
text
#050006
muted
#79777A

Preview Lab

Preview with #250131

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

Preview Lab → · Contrast checker → · Palette generator →

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