#210E42#210E42

#210E42 is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.8% C 0.092 H 294.7°. Best body text is #FFFFFF at 17.41:1 contrast (WCAG AA passes).

Color values

HEX#210E42
RGBrgb(33, 14, 66)
HSLhsl(262, 65%, 16%)
HSVhsv(262, 79%, 26%)
CMYKcmyk(50%, 78.8%, 0%, 74.1%)
CIE-LABlab(9.24, 23.65, -29.31)
CIE-LCHlch(9.24, 37.66, 308.90°)
OKLaboklab(22.81% 0.0386 -0.0839)
OKLCHoklch(22.81% 0.092 294.7)
XYZxyz(1.7673, 1.0307, 5.2590)
Luminance0.0103 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210E42 #2F420E
analogous
#0E1542 #210E42 #3B0E42
triadic
#210E42 #42210E #0E4221
tetradic
#210E42 #420E15 #2F420E #0E423B
square
#210E42 #420E15 #2F420E #0E423B
split-complementary
#210E42 #423B0E #15420E
monochromatic
#0D0519 #0D0519 #210E42 #3A1974 #5323A7

Accessibility & contrast

On white

17.41
#210E42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#210E42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #210E42
17.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210E42#FFFFFF#000000##FFFFFF
##210E421.0017.411.2117.41
#FFFFFF17.411.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A44
Deuteranopia (green-blind)
#001941
Tritanopia (blue-blind)
#181B26
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #210e42;
/* rgb */ color: rgb(33, 14, 66);
/* oklch */ color: oklch(22.8% 0.092 294.7);
Tailwind
colors: {
  custom: {
    50: '#604e77',
    500: '#210e42',
    950: '#000000',
  },
}
SCSS
$custom: #210e42;
$custom-light: #604e77;
$custom-dark: #000000;
JSON
{
  "hex": "#210e42",
  "rgb": {
    "r": 33,
    "g": 14,
    "b": 66
  },
  "hsl": {
    "h": 261.923,
    "s": 65,
    "l": 15.686
  },
  "oklch": {
    "l": 0.22806,
    "c": 0.09231,
    "h": 294.7
  },
  "luminance": 0.01031
}

Semantic roles & 50–950 ramp

primary
#210E42
secondary
#607D2F
accent
#E840AB
background
#F5F4F7
surface
#EAE7ED
border
#C6C3C8
text
#050108
muted
#79777B

Preview Lab

Preview with #210E42

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

Preview Lab → · Contrast checker → · Palette generator →

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