#210C32#210C32

#210C32 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.0% C 0.073 H 306.5°. Best body text is #FFFFFF at 18.05:1 contrast (WCAG AA passes).

Color values

HEX#210C32
RGBrgb(33, 12, 50)
HSLhsl(273, 61%, 12%)
HSVhsv(273, 76%, 20%)
CMYKcmyk(34%, 76%, 0%, 80.4%)
CIE-LABlab(7.38, 19.86, -20.79)
CIE-LCHlch(7.38, 28.75, 313.68°)
OKLaboklab(21% 0.0437 -0.0589)
OKLCHoklch(21% 0.073 306.5)
XYZxyz(1.3343, 0.8166, 3.1043)
Luminance0.0082 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210C32 #1D320C
analogous
#0E0C32 #210C32 #320C30
triadic
#210C32 #32210C #0C3221
tetradic
#210C32 #320E0C #1D320C #0C3032
square
#210C32 #320E0C #1D320C #0C3032
split-complementary
#210C32 #30320C #0C320E
monochromatic
#100619 #100619 #210C32 #421863 #622495

Accessibility & contrast

On white

18.05
#210C32 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #210C32
18.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210C32#FFFFFF#000000##FFFFFF
##210C321.0018.051.1618.05
#FFFFFF18.051.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001633
Deuteranopia (green-blind)
#051631
Tritanopia (blue-blind)
#1E141D
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #210c32;
/* rgb */ color: rgb(33, 12, 50);
/* oklch */ color: oklch(21.0% 0.073 306.5);
Tailwind
colors: {
  custom: {
    50: '#5e4c6a',
    500: '#210c32',
    950: '#000000',
  },
}
SCSS
$custom: #210c32;
$custom-light: #5e4c6a;
$custom-dark: #000000;
JSON
{
  "hex": "#210c32",
  "rgb": {
    "r": 33,
    "g": 12,
    "b": 50
  },
  "hsl": {
    "h": 273.158,
    "s": 61.29,
    "l": 12.157
  },
  "oklch": {
    "l": 0.21001,
    "c": 0.07333,
    "h": 306.5
  },
  "luminance": 0.00817
}

Semantic roles & 50–950 ramp

primary
#210C32
secondary
#496E2C
accent
#E4438B
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040106
muted
#79777A

Preview Lab

Preview with #210C32

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

Preview Lab → · Contrast checker → · Palette generator →

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