#210C42#210C42

#210C42 is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.5% C 0.095 H 295.4°. Best body text is #FFFFFF at 17.56:1 contrast (WCAG AA passes).

Color values

HEX#210C42
RGBrgb(33, 12, 66)
HSLhsl(263, 69%, 15%)
HSVhsv(263, 82%, 26%)
CMYKcmyk(50%, 81.8%, 0%, 74.1%)
CIE-LABlab(8.82, 24.84, -30.00)
CIE-LCHlch(8.82, 38.95, 309.62°)
OKLaboklab(22.5% 0.0408 -0.0859)
OKLCHoklch(22.5% 0.095 295.4)
XYZxyz(1.7418, 0.9796, 5.2505)
Luminance0.0098 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210C42 #2D420C
analogous
#0C1242 #210C42 #3C0C42
triadic
#210C42 #42210C #0C4221
tetradic
#210C42 #420C12 #2D420C #0C423C
square
#210C42 #420C12 #2D420C #0C423C
split-complementary
#210C42 #423C0C #12420C
monochromatic
#0D051A #0D051A #210C42 #3B1576 #551FAA

Accessibility & contrast

On white

17.56
#210C42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#210C42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #210C42
17.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210C42#FFFFFF#000000##FFFFFF
##210C421.0017.561.2017.56
#FFFFFF17.561.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A44
Deuteranopia (green-blind)
#001841
Tritanopia (blue-blind)
#181A26
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #210c42;
/* rgb */ color: rgb(33, 12, 66);
/* oklch */ color: oklch(22.5% 0.095 295.4);
Tailwind
colors: {
  custom: {
    50: '#604d77',
    500: '#210c42',
    950: '#000000',
  },
}
SCSS
$custom: #210c42;
$custom-light: #604d77;
$custom-dark: #000000;
JSON
{
  "hex": "#210c42",
  "rgb": {
    "r": 33,
    "g": 12,
    "b": 66
  },
  "hsl": {
    "h": 263.333,
    "s": 69.231,
    "l": 15.294
  },
  "oklch": {
    "l": 0.22504,
    "c": 0.09511,
    "h": 295.4
  },
  "luminance": 0.0098
}

Semantic roles & 50–950 ramp

primary
#210C42
secondary
#5E7E2C
accent
#EC3CA7
background
#F5F4F7
surface
#EAE7ED
border
#C6C3C8
text
#050109
muted
#79777B

Preview Lab

Preview with #210C42

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

Preview Lab → · Contrast checker → · Palette generator →

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