#210C4A#210C4A

#210C4A is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.3% C 0.106 H 291.4°. Best body text is #FFFFFF at 17.27:1 contrast (WCAG AA passes).

Color values

HEX#210C4A
RGBrgb(33, 12, 74)
HSLhsl(260, 72%, 17%)
HSVhsv(260, 84%, 29%)
CMYKcmyk(55.4%, 83.8%, 0%, 71%)
CIE-LABlab(9.65, 27.37, -34.27)
CIE-LCHlch(9.65, 43.86, 308.61°)
OKLaboklab(23.34% 0.0385 -0.0984)
OKLCHoklch(23.34% 0.106 291.4)
XYZxyz(1.9944, 1.0806, 6.5807)
Luminance0.0108 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210C4A #354A0C
analogous
#0C164A #210C4A #400C4A
triadic
#210C4A #4A210C #0C4A21
tetradic
#210C4A #4A0C16 #354A0C #0C4A40
square
#210C4A #4A0C16 #354A0C #0C4A40
split-complementary
#210C4A #4A400C #164A0C
monochromatic
#0C041A #0C041A #210C4A #38157F #501DB3

Accessibility & contrast

On white

17.27
#210C4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #210C4A
17.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210C4A#FFFFFF#000000##FFFFFF
##210C4A1.0017.271.2217.27
#FFFFFF17.271.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C4C
Deuteranopia (green-blind)
#001949
Tritanopia (blue-blind)
#131D2A
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #210c4a;
/* rgb */ color: rgb(33, 12, 74);
/* oklch */ color: oklch(23.3% 0.106 291.4);
Tailwind
colors: {
  custom: {
    50: '#624d7d',
    500: '#210c4a',
    950: '#000000',
  },
}
SCSS
$custom: #210c4a;
$custom-light: #624d7d;
$custom-dark: #000000;
JSON
{
  "hex": "#210c4a",
  "rgb": {
    "r": 33,
    "g": 12,
    "b": 74
  },
  "hsl": {
    "h": 260.323,
    "s": 72.093,
    "l": 16.863
  },
  "oklch": {
    "l": 0.2334,
    "c": 0.1057,
    "h": 291.4
  },
  "luminance": 0.01081
}

Semantic roles & 50–950 ramp

primary
#210C4A
secondary
#67862C
accent
#EF39B1
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#05010A
muted
#7A777C

Preview Lab

Preview with #210C4A

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

Preview Lab → · Contrast checker → · Palette generator →

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