#210D2E#210D2E

#210D2E is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 20.8% C 0.066 H 309.8°. Best body text is #FFFFFF at 18.08:1 contrast (WCAG AA passes).

Color values

HEX#210D2E
RGBrgb(33, 13, 46)
HSLhsl(276, 56%, 12%)
HSVhsv(276, 72%, 18%)
CMYKcmyk(28.3%, 71.7%, 0%, 82%)
CIE-LABlab(7.30, 18.02, -17.95)
CIE-LCHlch(7.30, 25.44, 315.11°)
OKLaboklab(20.84% 0.0422 -0.0506)
OKLCHoklch(20.84% 0.066 309.8)
XYZxyz(1.2642, 0.8085, 2.6737)
Luminance0.0081 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210D2E #1A2E0D
analogous
#110D2E #210D2E #2E0D2B
triadic
#210D2E #2E210D #0D2E21
tetradic
#210D2E #2E110D #1A2E0D #0D2B2E
square
#210D2E #2E110D #1A2E0D #0D2B2E
split-complementary
#210D2E #2B2E0D #0D2E11
monochromatic
#110718 #110718 #210D2E #431A5E #65288D

Accessibility & contrast

On white

18.08
#210D2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#210D2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #210D2E
18.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210D2E#FFFFFF#000000##FFFFFF
##210D2E1.0018.081.1618.08
#FFFFFF18.081.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03152F
Deuteranopia (green-blind)
#09162D
Tritanopia (blue-blind)
#1F131B
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #210d2e;
/* rgb */ color: rgb(33, 13, 46);
/* oklch */ color: oklch(20.8% 0.066 309.8);
Tailwind
colors: {
  custom: {
    50: '#5d4c67',
    500: '#210d2e',
    950: '#000000',
  },
}
SCSS
$custom: #210d2e;
$custom-light: #5d4c67;
$custom-dark: #000000;
JSON
{
  "hex": "#210d2e",
  "rgb": {
    "r": 33,
    "g": 13,
    "b": 46
  },
  "hsl": {
    "h": 276.364,
    "s": 55.932,
    "l": 11.569
  },
  "oklch": {
    "l": 0.20843,
    "c": 0.06591,
    "h": 309.8
  },
  "luminance": 0.00808
}

Semantic roles & 50–950 ramp

primary
#210D2E
secondary
#45692E
accent
#DF4984
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040106
muted
#79777A

Preview Lab

Preview with #210D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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