#210D3F#210D3F

#210D3F is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.4% C 0.090 H 296.8°. Best body text is #FFFFFF at 17.59:1 contrast (WCAG AA passes).

Color values

HEX#210D3F
RGBrgb(33, 13, 63)
HSLhsl(264, 66%, 15%)
HSVhsv(264, 79%, 25%)
CMYKcmyk(47.6%, 79.4%, 0%, 75.3%)
CIE-LABlab(8.74, 23.30, -28.00)
CIE-LCHlch(8.74, 36.43, 309.77°)
OKLaboklab(22.36% 0.0404 -0.08)
OKLCHoklch(22.36% 0.09 296.8)
XYZxyz(1.6681, 0.9700, 4.8010)
Luminance0.0097 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210D3F #2B3F0D
analogous
#0D123F #210D3F #3A0D3F
triadic
#210D3F #3F210D #0D3F21
tetradic
#210D3F #3F0D12 #2B3F0D #0D3F3A
square
#210D3F #3F0D12 #2B3F0D #0D3F3A
split-complementary
#210D3F #3F3A0D #123F0D
monochromatic
#0D0519 #0D0519 #210D3F #3C1772 #5622A4

Accessibility & contrast

On white

17.59
#210D3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #210D3F
17.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210D3F#FFFFFF#000000##FFFFFF
##210D3F1.0017.591.1917.59
#FFFFFF17.591.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001940
Deuteranopia (green-blind)
#00183E
Tritanopia (blue-blind)
#191924
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #210d3f;
/* rgb */ color: rgb(33, 13, 63);
/* oklch */ color: oklch(22.4% 0.090 296.8);
Tailwind
colors: {
  custom: {
    50: '#604d74',
    500: '#210d3f',
    950: '#000000',
  },
}
SCSS
$custom: #210d3f;
$custom-light: #604d74;
$custom-dark: #000000;
JSON
{
  "hex": "#210d3f",
  "rgb": {
    "r": 33,
    "g": 13,
    "b": 63
  },
  "hsl": {
    "h": 264,
    "s": 65.789,
    "l": 14.902
  },
  "oklch": {
    "l": 0.22356,
    "c": 0.08964,
    "h": 296.8
  },
  "luminance": 0.0097
}

Semantic roles & 50–950 ramp

primary
#210D3F
secondary
#5C7B2D
accent
#E93FA5
background
#F5F4F7
surface
#EAE7ED
border
#C6C3C8
text
#050108
muted
#79777B

Preview Lab

Preview with #210D3F

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

Preview Lab → · Contrast checker → · Palette generator →

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