#210C2C#210C2C

#210C2C is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 20.5% C 0.065 H 312.3°. Best body text is #FFFFFF at 18.20:1 contrast (WCAG AA passes).

Color values

HEX#210C2C
RGBrgb(33, 12, 44)
HSLhsl(279, 57%, 11%)
HSVhsv(279, 73%, 17%)
CMYKcmyk(25%, 72.7%, 0%, 82.7%)
CIE-LABlab(6.94, 17.98, -17.04)
CIE-LCHlch(6.94, 24.77, 316.53°)
OKLaboklab(20.51% 0.0438 -0.0481)
OKLCHoklch(20.51% 0.065 312.3)
XYZxyz(1.2132, 0.7682, 2.4667)
Luminance0.0077 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210C2C #172C0C
analogous
#110C2C #210C2C #2C0C27
triadic
#210C2C #2C210C #0C2C21
tetradic
#210C2C #2C110C #172C0C #0C272C
square
#210C2C #2C110C #172C0C #0C272C
split-complementary
#210C2C #272C0C #0C2C11
monochromatic
#120718 #120718 #210C2C #45195C #69268C

Accessibility & contrast

On white

18.20
#210C2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#210C2C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #210C2C
18.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210C2C#FFFFFF#000000##FFFFFF
##210C2C1.0018.201.1518.20
#FFFFFF18.201.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03142D
Deuteranopia (green-blind)
#0A162B
Tritanopia (blue-blind)
#20121A
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #210c2c;
/* rgb */ color: rgb(33, 12, 44);
/* oklch */ color: oklch(20.5% 0.065 312.3);
Tailwind
colors: {
  custom: {
    50: '#5d4c65',
    500: '#210c2c',
    950: '#000000',
  },
}
SCSS
$custom: #210c2c;
$custom-light: #5d4c65;
$custom-dark: #000000;
JSON
{
  "hex": "#210c2c",
  "rgb": {
    "r": 33,
    "g": 12,
    "b": 44
  },
  "hsl": {
    "h": 279.375,
    "s": 57.143,
    "l": 10.98
  },
  "oklch": {
    "l": 0.20508,
    "c": 0.06505,
    "h": 312.3
  },
  "luminance": 0.00768
}

Semantic roles & 50–950 ramp

primary
#210C2C
secondary
#41672C
accent
#E0477C
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040105
muted
#79777A

Preview Lab

Preview with #210C2C

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

Preview Lab → · Contrast checker → · Palette generator →

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