#210C39#210C39

#210C39 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 21.6% C 0.083 H 301.0°. Best body text is #FFFFFF at 17.85:1 contrast (WCAG AA passes).

Color values

HEX#210C39
RGBrgb(33, 12, 57)
HSLhsl(268, 65%, 14%)
HSVhsv(268, 79%, 22%)
CMYKcmyk(42.1%, 78.9%, 0%, 77.6%)
CIE-LABlab(7.96, 22.04, -24.95)
CIE-LCHlch(7.96, 33.29, 311.45°)
OKLaboklab(21.63% 0.0428 -0.0711)
OKLCHoklch(21.63% 0.083 301)
XYZxyz(1.4970, 0.8817, 3.9614)
Luminance0.0088 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210C39 #24390C
analogous
#0C0D39 #210C39 #370C39
triadic
#210C39 #39210C #0C3921
tetradic
#210C39 #390C0D #24390C #0C3937
square
#210C39 #390C0D #24390C #0C3937
split-complementary
#210C39 #39370C #0D390C
monochromatic
#0F0519 #0F0519 #210C39 #3E176C #5C219E

Accessibility & contrast

On white

17.85
#210C39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#210C39 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #210C39
17.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210C39#FFFFFF#000000##FFFFFF
##210C391.0017.851.1817.85
#FFFFFF17.851.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00173A
Deuteranopia (green-blind)
#001738
Tritanopia (blue-blind)
#1C1621
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #210c39;
/* rgb */ color: rgb(33, 12, 57);
/* oklch */ color: oklch(21.6% 0.083 301.0);
Tailwind
colors: {
  custom: {
    50: '#5f4c70',
    500: '#210c39',
    950: '#000000',
  },
}
SCSS
$custom: #210c39;
$custom-light: #5f4c70;
$custom-dark: #000000;
JSON
{
  "hex": "#210c39",
  "rgb": {
    "r": 33,
    "g": 12,
    "b": 57
  },
  "hsl": {
    "h": 268,
    "s": 65.217,
    "l": 13.529
  },
  "oklch": {
    "l": 0.21628,
    "c": 0.08294,
    "h": 301
  },
  "luminance": 0.00882
}

Semantic roles & 50–950 ramp

primary
#210C39
secondary
#53752C
accent
#E8409A
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#050107
muted
#79777A

Preview Lab

Preview with #210C39

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

Preview Lab → · Contrast checker → · Palette generator →

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