#210C4C#210C4C

#210C4C is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.6% C 0.108 H 290.5°. Best body text is #FFFFFF at 17.19:1 contrast (WCAG AA passes).

Color values

HEX#210C4C
RGBrgb(33, 12, 76)
HSLhsl(260, 73%, 17%)
HSVhsv(260, 84%, 30%)
CMYKcmyk(56.6%, 84.2%, 0%, 70.2%)
CIE-LABlab(9.86, 28.00, -35.31)
CIE-LCHlch(9.86, 45.06, 308.42°)
OKLaboklab(23.56% 0.0379 -0.1014)
OKLCHoklch(23.56% 0.108 290.5)
XYZxyz(2.0628, 1.1080, 6.9412)
Luminance0.0111 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210C4C #374C0C
analogous
#0C174C #210C4C #410C4C
triadic
#210C4C #4C210C #0C4C21
tetradic
#210C4C #4C0C17 #374C0C #0C4C41
square
#210C4C #4C0C17 #374C0C #0C4C41
split-complementary
#210C4C #4C410C #174C0C
monochromatic
#0B041A #0B041A #210C4C #381481 #4F1DB6

Accessibility & contrast

On white

17.19
#210C4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#210C4C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #210C4C
17.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210C4C#FFFFFF#000000##FFFFFF
##210C4C1.0017.191.2217.19
#FFFFFF17.191.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C4E
Deuteranopia (green-blind)
#001A4B
Tritanopia (blue-blind)
#121E2B
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #210c4c;
/* rgb */ color: rgb(33, 12, 76);
/* oklch */ color: oklch(23.6% 0.108 290.5);
Tailwind
colors: {
  custom: {
    50: '#624d7f',
    500: '#210c4c',
    950: '#000000',
  },
}
SCSS
$custom: #210c4c;
$custom-light: #624d7f;
$custom-dark: #000000;
JSON
{
  "hex": "#210c4c",
  "rgb": {
    "r": 33,
    "g": 12,
    "b": 76
  },
  "hsl": {
    "h": 259.688,
    "s": 72.727,
    "l": 17.255
  },
  "oklch": {
    "l": 0.23556,
    "c": 0.1083,
    "h": 290.5
  },
  "luminance": 0.01108
}

Semantic roles & 50–950 ramp

primary
#210C4C
secondary
#6A882C
accent
#EF38B3
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#05010A
muted
#7A777C

Preview Lab

Preview with #210C4C

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

Preview Lab → · Contrast checker → · Palette generator →

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