#210C2D#210C2D

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

Color values

HEX#210C2D
RGBrgb(33, 12, 45)
HSLhsl(278, 58%, 11%)
HSVhsv(278, 73%, 18%)
CMYKcmyk(26.7%, 73.3%, 0%, 82.4%)
CIE-LABlab(7.01, 18.29, -17.68)
CIE-LCHlch(7.01, 25.44, 315.97°)
OKLaboklab(20.59% 0.0438 -0.0499)
OKLCHoklch(20.59% 0.066 311.3)
XYZxyz(1.2322, 0.7758, 2.5669)
Luminance0.0078 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210C2D #182D0C
analogous
#100C2D #210C2D #2D0C28
triadic
#210C2D #2D210C #0C2D21
tetradic
#210C2D #2D100C #182D0C #0C282D
square
#210C2D #2D100C #182D0C #0C282D
split-complementary
#210C2D #282D0C #0C2D10
monochromatic
#120618 #120618 #210C2D #44195D #68268E

Accessibility & contrast

On white

18.18
#210C2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #210C2D
18.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210C2D#FFFFFF#000000##FFFFFF
##210C2D1.0018.181.1618.18
#FFFFFF18.181.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03142E
Deuteranopia (green-blind)
#09162C
Tritanopia (blue-blind)
#20121A
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #210c2d;
/* rgb */ color: rgb(33, 12, 45);
/* oklch */ color: oklch(20.6% 0.066 311.3);
Tailwind
colors: {
  custom: {
    50: '#5d4c66',
    500: '#210c2d',
    950: '#000000',
  },
}
SCSS
$custom: #210c2d;
$custom-light: #5d4c66;
$custom-dark: #000000;
JSON
{
  "hex": "#210c2d",
  "rgb": {
    "r": 33,
    "g": 12,
    "b": 45
  },
  "hsl": {
    "h": 278.182,
    "s": 57.895,
    "l": 11.176
  },
  "oklch": {
    "l": 0.20587,
    "c": 0.06643,
    "h": 311.3
  },
  "luminance": 0.00776
}

Semantic roles & 50–950 ramp

primary
#210C2D
secondary
#42692C
accent
#E1477F
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040106
muted
#79777A

Preview Lab

Preview with #210C2D

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

Preview Lab → · Contrast checker → · Palette generator →

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