#210D2C#210D2C

#210D2C is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 20.7% C 0.063 H 311.9°. Best body text is #FFFFFF at 18.13:1 contrast (WCAG AA passes).

Color values

HEX#210D2C
RGBrgb(33, 13, 44)
HSLhsl(279, 54%, 11%)
HSVhsv(279, 70%, 17%)
CMYKcmyk(25%, 70.5%, 0%, 82.7%)
CIE-LABlab(7.16, 17.41, -16.69)
CIE-LCHlch(7.16, 24.11, 316.21°)
OKLaboklab(20.69% 0.0422 -0.0469)
OKLCHoklch(20.69% 0.063 311.9)
XYZxyz(1.2257, 0.7931, 2.4709)
Luminance0.0079 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210D2C #182C0D
analogous
#110D2C #210D2C #2C0D27
triadic
#210D2C #2C210D #0D2C21
tetradic
#210D2C #2C110D #182C0D #0D272C
square
#210D2C #2C110D #182C0D #0D272C
split-complementary
#210D2C #272C0D #0D2C11
monochromatic
#120718 #120718 #210D2C #441B5B #68298A

Accessibility & contrast

On white

18.13
#210D2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #210D2C
18.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210D2C#FFFFFF#000000##FFFFFF
##210D2C1.0018.131.1618.13
#FFFFFF18.131.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05152D
Deuteranopia (green-blind)
#0B162B
Tritanopia (blue-blind)
#20121A
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #210d2c;
/* rgb */ color: rgb(33, 13, 44);
/* oklch */ color: oklch(20.7% 0.063 311.9);
Tailwind
colors: {
  custom: {
    50: '#5d4c65',
    500: '#210d2c',
    950: '#000000',
  },
}
SCSS
$custom: #210d2c;
$custom-light: #5d4c65;
$custom-dark: #000000;
JSON
{
  "hex": "#210d2c",
  "rgb": {
    "r": 33,
    "g": 13,
    "b": 44
  },
  "hsl": {
    "h": 278.71,
    "s": 54.386,
    "l": 11.176
  },
  "oklch": {
    "l": 0.20687,
    "c": 0.0631,
    "h": 311.9
  },
  "luminance": 0.00793
}

Semantic roles & 50–950 ramp

primary
#210D2C
secondary
#42672E
accent
#DE4A7E
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040105
muted
#79777A

Preview Lab

Preview with #210D2C

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

Preview Lab → · Contrast checker → · Palette generator →

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