#210D4B#210D4B

#210D4B is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.6% C 0.106 H 290.6°. Best body text is #FFFFFF at 17.16:1 contrast (WCAG AA passes).

Color values

HEX#210D4B
RGBrgb(33, 13, 75)
HSLhsl(259, 70%, 17%)
HSVhsv(259, 83%, 29%)
CMYKcmyk(56%, 82.7%, 0%, 70.6%)
CIE-LABlab(9.95, 27.13, -34.47)
CIE-LCHlch(9.95, 43.87, 308.20°)
OKLaboklab(23.58% 0.0373 -0.099)
OKLCHoklch(23.58% 0.106 290.6)
XYZxyz(2.0408, 1.1191, 6.7637)
Luminance0.0112 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210D4B #374B0D
analogous
#0D184B #210D4B #400D4B
triadic
#210D4B #4B210D #0D4B21
tetradic
#210D4B #4B0D18 #374B0D #0D4B40
square
#210D4B #4B0D18 #374B0D #0D4B40
split-complementary
#210D4B #4B400D #184B0D
monochromatic
#0B051A #0B051A #210D4B #38167F #4F1FB3

Accessibility & contrast

On white

17.16
#210D4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#210D4B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #210D4B
17.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210D4B#FFFFFF#000000##FFFFFF
##210D4B1.0017.161.2217.16
#FFFFFF17.161.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C4D
Deuteranopia (green-blind)
#001A4A
Tritanopia (blue-blind)
#121E2B
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #210d4b;
/* rgb */ color: rgb(33, 13, 75);
/* oklch */ color: oklch(23.6% 0.106 290.6);
Tailwind
colors: {
  custom: {
    50: '#624e7e',
    500: '#210d4b',
    950: '#000000',
  },
}
SCSS
$custom: #210d4b;
$custom-light: #624e7e;
$custom-dark: #000000;
JSON
{
  "hex": "#210d4b",
  "rgb": {
    "r": 33,
    "g": 13,
    "b": 75
  },
  "hsl": {
    "h": 259.355,
    "s": 70.455,
    "l": 17.255
  },
  "oklch": {
    "l": 0.23583,
    "c": 0.10581,
    "h": 290.6
  },
  "luminance": 0.01119
}

Semantic roles & 50–950 ramp

primary
#210D4B
secondary
#6A862E
accent
#ED3BB4
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#05010A
muted
#7A777C

Preview Lab

Preview with #210D4B

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

Preview Lab → · Contrast checker → · Palette generator →

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