#210C4D#210C4D

#210C4D is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.7% C 0.110 H 290.0°. Best body text is #FFFFFF at 17.15:1 contrast (WCAG AA passes).

Color values

HEX#210C4D
RGBrgb(33, 12, 77)
HSLhsl(259, 73%, 17%)
HSVhsv(259, 84%, 30%)
CMYKcmyk(57.1%, 84.4%, 0%, 69.8%)
CIE-LABlab(9.97, 28.32, -35.82)
CIE-LCHlch(9.97, 45.66, 308.33°)
OKLaboklab(23.67% 0.0376 -0.103)
OKLCHoklch(23.67% 0.11 290)
XYZxyz(2.0978, 1.1220, 7.1258)
Luminance0.0112 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210C4D #384D0C
analogous
#0C174D #210C4D #420C4D
triadic
#210C4D #4D210C #0C4D21
tetradic
#210C4D #4D0C17 #384D0C #0C4D42
square
#210C4D #4D0C17 #384D0C #0C4D42
split-complementary
#210C4D #4D420C #174D0C
monochromatic
#0B041A #0B041A #210C4D #381482 #4E1DB7

Accessibility & contrast

On white

17.15
#210C4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #210C4D
17.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210C4D#FFFFFF#000000##FFFFFF
##210C4D1.0017.151.2217.15
#FFFFFF17.151.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D4F
Deuteranopia (green-blind)
#001A4C
Tritanopia (blue-blind)
#111E2C
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #210c4d;
/* rgb */ color: rgb(33, 12, 77);
/* oklch */ color: oklch(23.7% 0.110 290.0);
Tailwind
colors: {
  custom: {
    50: '#624d80',
    500: '#210c4d',
    950: '#000000',
  },
}
SCSS
$custom: #210c4d;
$custom-light: #624d80;
$custom-dark: #000000;
JSON
{
  "hex": "#210c4d",
  "rgb": {
    "r": 33,
    "g": 12,
    "b": 77
  },
  "hsl": {
    "h": 259.385,
    "s": 73.034,
    "l": 17.451
  },
  "oklch": {
    "l": 0.23665,
    "c": 0.1096,
    "h": 290
  },
  "luminance": 0.01122
}

Semantic roles & 50–950 ramp

primary
#210C4D
secondary
#6B892C
accent
#F038B4
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06010A
muted
#7A777C

Preview Lab

Preview with #210C4D

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

Preview Lab → · Contrast checker → · Palette generator →

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