#210F39#210F39

#210F39 is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.1% C 0.078 H 299.7°. Best body text is #FFFFFF at 17.62:1 contrast (WCAG AA passes).

Color values

HEX#210F39
RGBrgb(33, 15, 57)
HSLhsl(266, 58%, 14%)
HSVhsv(266, 74%, 22%)
CMYKcmyk(42.1%, 73.7%, 0%, 77.6%)
CIE-LABlab(8.66, 20.14, -23.83)
CIE-LCHlch(8.66, 31.20, 310.20°)
OKLaboklab(22.13% 0.0387 -0.0678)
OKLCHoklch(22.13% 0.078 299.7)
XYZxyz(1.5364, 0.9604, 3.9745)
Luminance0.0096 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210F39 #27390F
analogous
#0F1239 #210F39 #360F39
triadic
#210F39 #39210F #0F3921
tetradic
#210F39 #390F12 #27390F #0F3936
square
#210F39 #390F12 #27390F #0F3936
split-complementary
#210F39 #39360F #12390F
monochromatic
#0E0618 #0E0618 #210F39 #3D1C69 #59299A

Accessibility & contrast

On white

17.62
#210F39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#210F39 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #210F39
17.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210F39#FFFFFF#000000##FFFFFF
##210F391.0017.621.1917.62
#FFFFFF17.621.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00193A
Deuteranopia (green-blind)
#011838
Tritanopia (blue-blind)
#1C1822
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #210f39;
/* rgb */ color: rgb(33, 15, 57);
/* oklch */ color: oklch(22.1% 0.078 299.7);
Tailwind
colors: {
  custom: {
    50: '#5f4e70',
    500: '#210f39',
    950: '#000000',
  },
}
SCSS
$custom: #210f39;
$custom-light: #5f4e70;
$custom-dark: #000000;
JSON
{
  "hex": "#210f39",
  "rgb": {
    "r": 33,
    "g": 15,
    "b": 57
  },
  "hsl": {
    "h": 265.714,
    "s": 58.333,
    "l": 14.118
  },
  "oklch": {
    "l": 0.22126,
    "c": 0.07803,
    "h": 299.7
  },
  "luminance": 0.0096
}

Semantic roles & 50–950 ramp

primary
#210F39
secondary
#577330
accent
#E2469F
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#050107
muted
#79777A

Preview Lab

Preview with #210F39

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

Preview Lab → · Contrast checker → · Palette generator →

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