#210631#210631

#210631 is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 19.9% C 0.082 H 309.7°. Best body text is #FFFFFF at 18.50:1 contrast (WCAG AA passes).

Color values

HEX#210631
RGBrgb(33, 6, 49)
HSLhsl(278, 78%, 11%)
HSVhsv(278, 88%, 19%)
CMYKcmyk(32.7%, 87.8%, 0%, 80.8%)
CIE-LABlab(6.10, 22.65, -22.10)
CIE-LCHlch(6.10, 31.65, 315.71°)
OKLaboklab(19.95% 0.0527 -0.0635)
OKLCHoklch(19.95% 0.082 309.7)
XYZxyz(1.2466, 0.6754, 2.9698)
Luminance0.0067 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210631 #163106
analogous
#0B0631 #210631 #31062B
triadic
#210631 #312106 #063121
tetradic
#210631 #310B06 #163106 #062B31
square
#210631 #310B06 #163106 #062B31
split-complementary
#210631 #2B3106 #06310B
monochromatic
#12031B #12031B #210631 #460D68 #6A139E

Accessibility & contrast

On white

18.50
#210631 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #210631
18.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210631#FFFFFF#000000##FFFFFF
##2106311.0018.501.1418.50
#FFFFFF18.501.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001232
Deuteranopia (green-blind)
#011430
Tritanopia (blue-blind)
#1F101B
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #210631;
/* rgb */ color: rgb(33, 6, 49);
/* oklch */ color: oklch(19.9% 0.082 309.7);
Tailwind
colors: {
  custom: {
    50: '#5e4969',
    500: '#210631',
    950: '#000000',
  },
}
SCSS
$custom: #210631;
$custom-light: #5e4969;
$custom-dark: #000000;
JSON
{
  "hex": "#210631",
  "rgb": {
    "r": 33,
    "g": 6,
    "b": 49
  },
  "hsl": {
    "h": 277.674,
    "s": 78.182,
    "l": 10.784
  },
  "oklch": {
    "l": 0.19949,
    "c": 0.08249,
    "h": 309.7
  },
  "luminance": 0.00675
}

Semantic roles & 50–950 ramp

primary
#210631
secondary
#3F7221
accent
#F5337B
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040106
muted
#79777A

Preview Lab

Preview with #210631

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

Preview Lab → · Contrast checker → · Palette generator →

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