#210E51#210E51

#210E51 is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.4% C 0.113 H 287.9°. Best body text is #FFFFFF at 16.85:1 contrast (WCAG AA passes).

Color values

HEX#210E51
RGBrgb(33, 14, 81)
HSLhsl(257, 71%, 19%)
HSVhsv(257, 83%, 32%)
CMYKcmyk(59.3%, 82.7%, 0%, 68.2%)
CIE-LABlab(10.79, 28.51, -37.24)
CIE-LCHlch(10.79, 46.90, 307.44°)
OKLaboklab(24.37% 0.0346 -0.1071)
OKLCHoklch(24.37% 0.113 287.9)
XYZxyz(2.2690, 1.2314, 7.9011)
Luminance0.0123 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210E51 #3E510E
analogous
#0E1C51 #210E51 #420E51
triadic
#210E51 #51210E #0E5121
tetradic
#210E51 #510E1C #3E510E #0E5142
square
#210E51 #510E1C #3E510E #0E5142
split-complementary
#210E51 #51420E #1C510E
monochromatic
#0B051A #0C051D #210E51 #361785 #4C20B9

Accessibility & contrast

On white

16.85
#210E51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#210E51 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #210E51
16.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210E51#FFFFFF#000000##FFFFFF
##210E511.0016.851.2516.85
#FFFFFF16.851.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F53
Deuteranopia (green-blind)
#001B50
Tritanopia (blue-blind)
#0D212F
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #210e51;
/* rgb */ color: rgb(33, 14, 81);
/* oklch */ color: oklch(24.4% 0.113 287.9);
Tailwind
colors: {
  custom: {
    50: '#634f83',
    500: '#210e51',
    950: '#000000',
  },
}
SCSS
$custom: #210e51;
$custom-light: #634f83;
$custom-dark: #000000;
JSON
{
  "hex": "#210e51",
  "rgb": {
    "r": 33,
    "g": 14,
    "b": 81
  },
  "hsl": {
    "h": 257.015,
    "s": 70.526,
    "l": 18.627
  },
  "oklch": {
    "l": 0.2437,
    "c": 0.11255,
    "h": 287.9
  },
  "luminance": 0.01231
}

Semantic roles & 50–950 ramp

primary
#210E51
secondary
#718C2F
accent
#ED3ABB
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020B
muted
#7A787C

Preview Lab

Preview with #210E51

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

Preview Lab → · Contrast checker → · Palette generator →

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