#210D3E#210D3E

#210D3E is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.3% C 0.088 H 297.4°. Best body text is #FFFFFF at 17.62:1 contrast (WCAG AA passes).

Color values

HEX#210D3E
RGBrgb(33, 13, 62)
HSLhsl(264, 65%, 15%)
HSVhsv(264, 79%, 24%)
CMYKcmyk(46.8%, 79%, 0%, 75.7%)
CIE-LABlab(8.65, 22.98, -27.44)
CIE-LCHlch(8.65, 35.80, 309.95°)
OKLaboklab(22.26% 0.0406 -0.0784)
OKLCHoklch(22.26% 0.088 297.4)
XYZxyz(1.6404, 0.9590, 4.6552)
Luminance0.0096 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210D3E #2A3E0D
analogous
#0D123E #210D3E #3A0D3E
triadic
#210D3E #3E210D #0D3E21
tetradic
#210D3E #3E0D12 #2A3E0D #0D3E3A
square
#210D3E #3E0D12 #2A3E0D #0D3E3A
split-complementary
#210D3E #3E3A0D #123E0D
monochromatic
#0D0519 #0D0519 #210D3E #3C1871 #5722A3

Accessibility & contrast

On white

17.62
#210D3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#210D3E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #210D3E
17.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210D3E#FFFFFF#000000##FFFFFF
##210D3E1.0017.621.1917.62
#FFFFFF17.621.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00193F
Deuteranopia (green-blind)
#00183D
Tritanopia (blue-blind)
#1A1924
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #210d3e;
/* rgb */ color: rgb(33, 13, 62);
/* oklch */ color: oklch(22.3% 0.088 297.4);
Tailwind
colors: {
  custom: {
    50: '#604d74',
    500: '#210d3e',
    950: '#000000',
  },
}
SCSS
$custom: #210d3e;
$custom-light: #604d74;
$custom-dark: #000000;
JSON
{
  "hex": "#210d3e",
  "rgb": {
    "r": 33,
    "g": 13,
    "b": 62
  },
  "hsl": {
    "h": 264.49,
    "s": 65.333,
    "l": 14.706
  },
  "oklch": {
    "l": 0.22259,
    "c": 0.08827,
    "h": 297.4
  },
  "luminance": 0.00959
}

Semantic roles & 50–950 ramp

primary
#210D3E
secondary
#5A7A2D
accent
#E840A3
background
#F5F4F7
surface
#EAE7ED
border
#C6C3C8
text
#050108
muted
#79777B

Preview Lab

Preview with #210D3E

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

Preview Lab → · Contrast checker → · Palette generator →

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