#210F33#210F33

#210F33 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 21.6% C 0.069 H 304.3°. Best body text is #FFFFFF at 17.78:1 contrast (WCAG AA passes).

Color values

HEX#210F33
RGBrgb(33, 15, 51)
HSLhsl(270, 55%, 13%)
HSVhsv(270, 71%, 20%)
CMYKcmyk(35.3%, 70.6%, 0%, 80%)
CIE-LABlab(8.16, 18.27, -20.26)
CIE-LCHlch(8.16, 27.29, 312.04°)
OKLaboklab(21.61% 0.039 -0.0573)
OKLCHoklch(21.61% 0.069 304.3)
XYZxyz(1.3954, 0.9040, 3.2323)
Luminance0.0090 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210F33 #21330F
analogous
#0F0F33 #210F33 #330F33
triadic
#210F33 #33210F #0F3321
tetradic
#210F33 #330F0F #21330F #0F3333
square
#210F33 #330F0F #21330F #0F3333
split-complementary
#210F33 #33330F #0F330F
monochromatic
#0F0718 #0F0718 #210F33 #401D62 #5E2B92

Accessibility & contrast

On white

17.78
#210F33 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#210F33 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #210F33
17.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210F33#FFFFFF#000000##FFFFFF
##210F331.0017.781.1817.78
#FFFFFF17.781.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021734
Deuteranopia (green-blind)
#071832
Tritanopia (blue-blind)
#1E161F
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #210f33;
/* rgb */ color: rgb(33, 15, 51);
/* oklch */ color: oklch(21.6% 0.069 304.3);
Tailwind
colors: {
  custom: {
    50: '#5e4e6b',
    500: '#210f33',
    950: '#000000',
  },
}
SCSS
$custom: #210f33;
$custom-light: #5e4e6b;
$custom-dark: #000000;
JSON
{
  "hex": "#210f33",
  "rgb": {
    "r": 33,
    "g": 15,
    "b": 51
  },
  "hsl": {
    "h": 270,
    "s": 54.545,
    "l": 12.941
  },
  "oklch": {
    "l": 0.21612,
    "c": 0.06931,
    "h": 304.3
  },
  "luminance": 0.00904
}

Semantic roles & 50–950 ramp

primary
#210F33
secondary
#4F6D31
accent
#DE4A94
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040106
muted
#79777A

Preview Lab

Preview with #210F33

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

Preview Lab → · Contrast checker → · Palette generator →

#210F33 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva