#210C3D#210C3D

#210C3D is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 22.0% C 0.088 H 298.4°. Best body text is #FFFFFF at 17.73:1 contrast (WCAG AA passes).

Color values

HEX#210C3D
RGBrgb(33, 12, 61)
HSLhsl(266, 67%, 14%)
HSVhsv(266, 80%, 24%)
CMYKcmyk(45.9%, 80.3%, 0%, 76.1%)
CIE-LABlab(8.33, 23.27, -27.23)
CIE-LCHlch(8.33, 35.82, 310.52°)
OKLaboklab(22.01% 0.042 -0.0777)
OKLCHoklch(22.01% 0.088 298.4)
XYZxyz(1.6008, 0.9232, 4.5078)
Luminance0.0092 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210C3D #283D0C
analogous
#0C103D #210C3D #3A0C3D
triadic
#210C3D #3D210C #0C3D21
tetradic
#210C3D #3D0C10 #283D0C #0C3D3A
square
#210C3D #3D0C10 #283D0C #0C3D3A
split-complementary
#210C3D #3D3A0C #103D0C
monochromatic
#0E051A #0E051A #210C3D #3D1670 #5820A3

Accessibility & contrast

On white

17.73
#210C3D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#210C3D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #210C3D
17.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210C3D#FFFFFF#000000##FFFFFF
##210C3D1.0017.731.1817.73
#FFFFFF17.731.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00183E
Deuteranopia (green-blind)
#00183C
Tritanopia (blue-blind)
#1A1823
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #210c3d;
/* rgb */ color: rgb(33, 12, 61);
/* oklch */ color: oklch(22.0% 0.088 298.4);
Tailwind
colors: {
  custom: {
    50: '#604c73',
    500: '#210c3d',
    950: '#000000',
  },
}
SCSS
$custom: #210c3d;
$custom-light: #604c73;
$custom-dark: #000000;
JSON
{
  "hex": "#210c3d",
  "rgb": {
    "r": 33,
    "g": 12,
    "b": 61
  },
  "hsl": {
    "h": 265.714,
    "s": 67.123,
    "l": 14.314
  },
  "oklch": {
    "l": 0.22008,
    "c": 0.08838,
    "h": 298.4
  },
  "luminance": 0.00923
}

Semantic roles & 50–950 ramp

primary
#210C3D
secondary
#58792C
accent
#EA3EA0
background
#F5F4F7
surface
#EAE7ED
border
#C6C3C8
text
#050108
muted
#79777B

Preview Lab

Preview with #210C3D

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

Preview Lab → · Contrast checker → · Palette generator →

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