#210E5D#210E5D

#210E5D is a dark, vivid violet. Relative luminance 0.014; OKLCH L 25.7% C 0.128 H 283.8°. Best body text is #FFFFFF at 16.33:1 contrast (WCAG AA passes).

Color values

HEX#210E5D
RGBrgb(33, 14, 93)
HSLhsl(254, 74%, 21%)
HSVhsv(254, 85%, 36%)
CMYKcmyk(64.5%, 84.9%, 0%, 63.5%)
CIE-LABlab(12.14, 32.38, -43.15)
CIE-LCHlch(12.14, 53.95, 306.88°)
OKLaboklab(25.72% 0.0306 -0.1244)
OKLCHoklch(25.72% 0.128 283.8)
XYZxyz(2.7594, 1.4275, 10.4839)
Luminance0.0143 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210E5D #4A5D0E
analogous
#0E225D #210E5D #480E5D
triadic
#210E5D #5D210E #0E5D21
tetradic
#210E5D #5D0E22 #4A5D0E #0E5D48
square
#210E5D #5D0E22 #4A5D0E #0E5D48
split-complementary
#210E5D #5D480E #225D0E
monochromatic
#09041B #0E0628 #210E5D #341692 #471EC7

Accessibility & contrast

On white

16.33
#210E5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#210E5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #210E5D
16.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210E5D#FFFFFF#000000##FFFFFF
##210E5D1.0016.331.2916.33
#FFFFFF16.331.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00225F
Deuteranopia (green-blind)
#001D5C
Tritanopia (blue-blind)
#002636
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #210e5d;
/* rgb */ color: rgb(33, 14, 93);
/* oklch */ color: oklch(25.7% 0.128 283.8);
Tailwind
colors: {
  custom: {
    50: '#66508c',
    500: '#210e5d',
    950: '#000000',
  },
}
SCSS
$custom: #210e5d;
$custom-light: #66508c;
$custom-dark: #000000;
JSON
{
  "hex": "#210e5d",
  "rgb": {
    "r": 33,
    "g": 14,
    "b": 93
  },
  "hsl": {
    "h": 254.43,
    "s": 73.832,
    "l": 20.98
  },
  "oklch": {
    "l": 0.2572,
    "c": 0.1281,
    "h": 283.8
  },
  "luminance": 0.01428
}

Semantic roles & 50–950 ramp

primary
#210E5D
secondary
#7E9730
accent
#F037C4
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #210E5D

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

Preview Lab → · Contrast checker → · Palette generator →

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