#210C2F#210C2F

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

Color values

HEX#210C2F
RGBrgb(33, 12, 47)
HSLhsl(276, 59%, 12%)
HSVhsv(276, 74%, 18%)
CMYKcmyk(29.8%, 74.5%, 0%, 81.6%)
CIE-LABlab(7.15, 18.92, -18.94)
CIE-LCHlch(7.15, 26.77, 314.96°)
OKLaboklab(20.75% 0.0438 -0.0535)
OKLCHoklch(20.75% 0.069 309.3)
XYZxyz(1.2717, 0.7915, 2.7746)
Luminance0.0079 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210C2F #1A2F0C
analogous
#100C2F #210C2F #2F0C2C
triadic
#210C2F #2F210C #0C2F21
tetradic
#210C2F #2F100C #1A2F0C #0C2C2F
square
#210C2F #2F100C #1A2F0C #0C2C2F
split-complementary
#210C2F #2C2F0C #0C2F10
monochromatic
#110618 #110618 #210C2F #431860 #652591

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##210C2F#FFFFFF#000000##FFFFFF
##210C2F1.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)
#011530
Deuteranopia (green-blind)
#07162E
Tritanopia (blue-blind)
#1F131B
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #210c2f;
/* rgb */ color: rgb(33, 12, 47);
/* oklch */ color: oklch(20.7% 0.069 309.3);
Tailwind
colors: {
  custom: {
    50: '#5e4c68',
    500: '#210c2f',
    950: '#000000',
  },
}
SCSS
$custom: #210c2f;
$custom-light: #5e4c68;
$custom-dark: #000000;
JSON
{
  "hex": "#210c2f",
  "rgb": {
    "r": 33,
    "g": 12,
    "b": 47
  },
  "hsl": {
    "h": 276,
    "s": 59.322,
    "l": 11.569
  },
  "oklch": {
    "l": 0.20749,
    "c": 0.06918,
    "h": 309.3
  },
  "luminance": 0.00792
}

Semantic roles & 50–950 ramp

primary
#210C2F
secondary
#456B2C
accent
#E34584
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040106
muted
#79777A

Preview Lab

Preview with #210C2F

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

Preview Lab → · Contrast checker → · Palette generator →

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