#210C36#210C36

#210C36 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 21.4% C 0.079 H 303.3°. Best body text is #FFFFFF at 17.94:1 contrast (WCAG AA passes).

Color values

HEX#210C36
RGBrgb(33, 12, 54)
HSLhsl(270, 64%, 13%)
HSVhsv(270, 78%, 21%)
CMYKcmyk(38.9%, 77.8%, 0%, 78.8%)
CIE-LABlab(7.70, 21.11, -23.20)
CIE-LCHlch(7.70, 31.37, 312.30°)
OKLaboklab(21.35% 0.0432 -0.0659)
OKLCHoklch(21.35% 0.079 303.3)
XYZxyz(1.4244, 0.8526, 3.5788)
Luminance0.0085 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210C36 #21360C
analogous
#0C0C36 #210C36 #360C36
triadic
#210C36 #36210C #0C3621
tetradic
#210C36 #360C0C #21360C #0C3636
square
#210C36 #360C0C #21360C #0C3636
split-complementary
#210C36 #36360C #0C360C
monochromatic
#0F0619 #0F0619 #210C36 #401768 #5E229A

Accessibility & contrast

On white

17.94
#210C36 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#210C36 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #210C36
17.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210C36#FFFFFF#000000##FFFFFF
##210C361.0017.941.1717.94
#FFFFFF17.941.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001637
Deuteranopia (green-blind)
#011735
Tritanopia (blue-blind)
#1D151F
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #210c36;
/* rgb */ color: rgb(33, 12, 54);
/* oklch */ color: oklch(21.4% 0.079 303.3);
Tailwind
colors: {
  custom: {
    50: '#5f4c6d',
    500: '#210c36',
    950: '#000000',
  },
}
SCSS
$custom: #210c36;
$custom-light: #5f4c6d;
$custom-dark: #000000;
JSON
{
  "hex": "#210c36",
  "rgb": {
    "r": 33,
    "g": 12,
    "b": 54
  },
  "hsl": {
    "h": 270,
    "s": 63.636,
    "l": 12.941
  },
  "oklch": {
    "l": 0.21353,
    "c": 0.07883,
    "h": 303.3
  },
  "luminance": 0.00853
}

Semantic roles & 50–950 ramp

primary
#210C36
secondary
#4F722C
accent
#E74194
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#050107
muted
#79777A

Preview Lab

Preview with #210C36

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

Preview Lab → · Contrast checker → · Palette generator →

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