#210131#210131

#210131 is a very dark, moderate purple. Relative luminance 0.006; OKLCH L 19.1% C 0.092 H 311.4°. Best body text is #FFFFFF at 18.86:1 contrast (WCAG AA passes).

Color values

HEX#210131
RGBrgb(33, 1, 49)
HSLhsl(280, 96%, 10%)
HSVhsv(280, 98%, 19%)
CMYKcmyk(32.7%, 98%, 0%, 80.8%)
CIE-LABlab(5.12, 25.14, -23.67)
CIE-LCHlch(5.12, 34.53, 316.73°)
OKLaboklab(19.08% 0.0612 -0.0694)
OKLCHoklch(19.08% 0.093 311.4)
XYZxyz(1.1923, 0.5668, 2.9517)
Luminance0.0057 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210131 #113101
analogous
#090131 #210131 #310129
triadic
#210131 #312101 #013121
tetradic
#210131 #310901 #113101 #012931
square
#210131 #310901 #113101 #012931
split-complementary
#210131 #293101 #013109
monochromatic
#14011E #14011E #210131 #49026D #7203A9

Accessibility & contrast

On white

18.86
#210131 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#210131 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #210131
18.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210131#FFFFFF#000000##FFFFFF
##2101311.0018.861.1118.86
#FFFFFF18.861.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001032
Deuteranopia (green-blind)
#001230
Tritanopia (blue-blind)
#1F0C19
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #210131;
/* rgb */ color: rgb(33, 1, 49);
/* oklch */ color: oklch(19.1% 0.092 311.4);
Tailwind
colors: {
  custom: {
    50: '#5e4669',
    500: '#210131',
    950: '#000000',
  },
}
SCSS
$custom: #210131;
$custom-light: #5e4669;
$custom-dark: #000000;
JSON
{
  "hex": "#210131",
  "rgb": {
    "r": 33,
    "g": 1,
    "b": 49
  },
  "hsl": {
    "h": 280,
    "s": 96,
    "l": 9.804
  },
  "oklch": {
    "l": 0.19081,
    "c": 0.0925,
    "h": 311.4
  },
  "luminance": 0.00567
}

Semantic roles & 50–950 ramp

primary
#210131
secondary
#377717
accent
#FF2970
background
#F5F3F6
surface
#E9E5EB
border
#C5C1C6
text
#050006
muted
#79767A

Preview Lab

Preview with #210131

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

Preview Lab → · Contrast checker → · Palette generator →

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