#210E52#210E52

#210E52 is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.5% C 0.114 H 287.5°. Best body text is #FFFFFF at 16.81:1 contrast (WCAG AA passes).

Color values

HEX#210E52
RGBrgb(33, 14, 82)
HSLhsl(257, 71%, 19%)
HSVhsv(257, 83%, 32%)
CMYKcmyk(59.8%, 82.9%, 0%, 67.8%)
CIE-LABlab(10.90, 28.83, -37.74)
CIE-LCHlch(10.90, 47.50, 307.38°)
OKLaboklab(24.48% 0.0342 -0.1086)
OKLCHoklch(24.48% 0.114 287.5)
XYZxyz(2.3068, 1.2465, 8.1001)
Luminance0.0125 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210E52 #3F520E
analogous
#0E1D52 #210E52 #430E52
triadic
#210E52 #52210E #0E5221
tetradic
#210E52 #520E1D #3F520E #0E5243
square
#210E52 #520E1D #3F520E #0E5243
split-complementary
#210E52 #52430E #1D520E
monochromatic
#0B041A #0C051E #210E52 #361786 #4B20BB

Accessibility & contrast

On white

16.81
#210E52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #210E52
16.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210E52#FFFFFF#000000##FFFFFF
##210E521.0016.811.2516.81
#FFFFFF16.811.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F54
Deuteranopia (green-blind)
#001B51
Tritanopia (blue-blind)
#0C212F
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #210e52;
/* rgb */ color: rgb(33, 14, 82);
/* oklch */ color: oklch(24.5% 0.114 287.5);
Tailwind
colors: {
  custom: {
    50: '#634f83',
    500: '#210e52',
    950: '#000000',
  },
}
SCSS
$custom: #210e52;
$custom-light: #634f83;
$custom-dark: #000000;
JSON
{
  "hex": "#210e52",
  "rgb": {
    "r": 33,
    "g": 14,
    "b": 82
  },
  "hsl": {
    "h": 256.765,
    "s": 70.833,
    "l": 18.824
  },
  "oklch": {
    "l": 0.24479,
    "c": 0.11387,
    "h": 287.5
  },
  "luminance": 0.01247
}

Semantic roles & 50–950 ramp

primary
#210E52
secondary
#728C2F
accent
#EE3ABB
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020B
muted
#7A787C

Preview Lab

Preview with #210E52

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

Preview Lab → · Contrast checker → · Palette generator →

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