#210D42#210D42

#210D42 is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.7% C 0.094 H 295.1°. Best body text is #FFFFFF at 17.49:1 contrast (WCAG AA passes).

Color values

HEX#210D42
RGBrgb(33, 13, 66)
HSLhsl(263, 67%, 15%)
HSVhsv(263, 80%, 26%)
CMYKcmyk(50%, 80.3%, 0%, 74.1%)
CIE-LABlab(9.03, 24.25, -29.66)
CIE-LCHlch(9.03, 38.31, 309.27°)
OKLaboklab(22.65% 0.0397 -0.0849)
OKLCHoklch(22.65% 0.094 295.1)
XYZxyz(1.7542, 1.0045, 5.2547)
Luminance0.0100 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210D42 #2E420D
analogous
#0D1342 #210D42 #3B0D42
triadic
#210D42 #42210D #0D4221
tetradic
#210D42 #420D13 #2E420D #0D423B
square
#210D42 #420D13 #2E420D #0D423B
split-complementary
#210D42 #423B0D #13420D
monochromatic
#0D051A #0D051A #210D42 #3B1775 #5421A8

Accessibility & contrast

On white

17.49
#210D42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #210D42
17.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210D42#FFFFFF#000000##FFFFFF
##210D421.0017.491.2017.49
#FFFFFF17.491.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A44
Deuteranopia (green-blind)
#001941
Tritanopia (blue-blind)
#181A26
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #210d42;
/* rgb */ color: rgb(33, 13, 66);
/* oklch */ color: oklch(22.7% 0.094 295.1);
Tailwind
colors: {
  custom: {
    50: '#604d77',
    500: '#210d42',
    950: '#000000',
  },
}
SCSS
$custom: #210d42;
$custom-light: #604d77;
$custom-dark: #000000;
JSON
{
  "hex": "#210d42",
  "rgb": {
    "r": 33,
    "g": 13,
    "b": 66
  },
  "hsl": {
    "h": 262.642,
    "s": 67.089,
    "l": 15.49
  },
  "oklch": {
    "l": 0.22652,
    "c": 0.09373,
    "h": 295.1
  },
  "luminance": 0.01005
}

Semantic roles & 50–950 ramp

primary
#210D42
secondary
#5F7E2D
accent
#EA3EA9
background
#F5F4F7
surface
#EAE7ED
border
#C6C3C8
text
#050109
muted
#79777B

Preview Lab

Preview with #210D42

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

Preview Lab → · Contrast checker → · Palette generator →

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