#210D4C#210D4C

#210D4C is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.7% C 0.107 H 290.2°. Best body text is #FFFFFF at 17.12:1 contrast (WCAG AA passes).

Color values

HEX#210D4C
RGBrgb(33, 13, 76)
HSLhsl(259, 71%, 17%)
HSVhsv(259, 83%, 30%)
CMYKcmyk(56.6%, 82.9%, 0%, 70.2%)
CIE-LABlab(10.05, 27.45, -34.99)
CIE-LCHlch(10.05, 44.48, 308.12°)
OKLaboklab(23.69% 0.037 -0.1005)
OKLCHoklch(23.69% 0.107 290.2)
XYZxyz(2.0753, 1.1329, 6.9454)
Luminance0.0113 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210D4C #384C0D
analogous
#0D184C #210D4C #410D4C
triadic
#210D4C #4C210D #0D4C21
tetradic
#210D4C #4C0D18 #384C0D #0D4C41
square
#210D4C #4C0D18 #384C0D #0D4C41
split-complementary
#210D4C #4C410D #184C0D
monochromatic
#0B041A #0B041A #210D4C #381680 #4E1FB5

Accessibility & contrast

On white

17.12
#210D4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#210D4C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #210D4C
17.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210D4C#FFFFFF#000000##FFFFFF
##210D4C1.0017.121.2317.12
#FFFFFF17.121.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D4E
Deuteranopia (green-blind)
#001A4B
Tritanopia (blue-blind)
#121E2C
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #210d4c;
/* rgb */ color: rgb(33, 13, 76);
/* oklch */ color: oklch(23.7% 0.107 290.2);
Tailwind
colors: {
  custom: {
    50: '#624e7f',
    500: '#210d4c',
    950: '#000000',
  },
}
SCSS
$custom: #210d4c;
$custom-light: #624e7f;
$custom-dark: #000000;
JSON
{
  "hex": "#210d4c",
  "rgb": {
    "r": 33,
    "g": 13,
    "b": 76
  },
  "hsl": {
    "h": 259.048,
    "s": 70.787,
    "l": 17.451
  },
  "oklch": {
    "l": 0.23691,
    "c": 0.10713,
    "h": 290.2
  },
  "luminance": 0.01133
}

Semantic roles & 50–950 ramp

primary
#210D4C
secondary
#6B872E
accent
#EE3AB5
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#05010A
muted
#7A777C

Preview Lab

Preview with #210D4C

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

Preview Lab → · Contrast checker → · Palette generator →

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