#210431#210431

#210431 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.6% C 0.086 H 310.4°. Best body text is #FFFFFF at 18.64:1 contrast (WCAG AA passes).

Color values

HEX#210431
RGBrgb(33, 4, 49)
HSLhsl(279, 85%, 10%)
HSVhsv(279, 92%, 19%)
CMYKcmyk(32.7%, 91.8%, 0%, 80.8%)
CIE-LABlab(5.71, 23.66, -22.73)
CIE-LCHlch(5.71, 32.81, 316.15°)
OKLaboklab(19.61% 0.0559 -0.0658)
OKLCHoklch(19.61% 0.086 310.4)
XYZxyz(1.2249, 0.6319, 2.9626)
Luminance0.0063 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210431 #143104
analogous
#0B0431 #210431 #31042A
triadic
#210431 #312104 #043121
tetradic
#210431 #310B04 #143104 #042A31
square
#210431 #310B04 #143104 #042A31
split-complementary
#210431 #2A3104 #04310B
monochromatic
#13021C #13021C #210431 #47096A #6D0DA2

Accessibility & contrast

On white

18.64
#210431 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #210431
18.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210431#FFFFFF#000000##FFFFFF
##2104311.0018.641.1318.64
#FFFFFF18.641.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001132
Deuteranopia (green-blind)
#001330
Tritanopia (blue-blind)
#1F0E1A
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #210431;
/* rgb */ color: rgb(33, 4, 49);
/* oklch */ color: oklch(19.6% 0.086 310.4);
Tailwind
colors: {
  custom: {
    50: '#5e4869',
    500: '#210431',
    950: '#000000',
  },
}
SCSS
$custom: #210431;
$custom-light: #5e4869;
$custom-dark: #000000;
JSON
{
  "hex": "#210431",
  "rgb": {
    "r": 33,
    "g": 4,
    "b": 49
  },
  "hsl": {
    "h": 278.667,
    "s": 84.906,
    "l": 10.392
  },
  "oklch": {
    "l": 0.19611,
    "c": 0.08632,
    "h": 310.4
  },
  "luminance": 0.00632
}

Semantic roles & 50–950 ramp

primary
#210431
secondary
#3C731D
accent
#FB2D76
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#050006
muted
#79777A

Preview Lab

Preview with #210431

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

Preview Lab → · Contrast checker → · Palette generator →

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