#21033A#21033A

#21033A is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.4% C 0.098 H 303.5°. Best body text is #FFFFFF at 18.44:1 contrast (WCAG AA passes).

Color values

HEX#21033A
RGBrgb(33, 3, 58)
HSLhsl(273, 90%, 12%)
HSVhsv(273, 95%, 23%)
CMYKcmyk(43.1%, 94.8%, 0%, 77.3%)
CIE-LABlab(6.27, 27.26, -28.43)
CIE-LCHlch(6.27, 39.39, 313.80°)
OKLaboklab(20.37% 0.0543 -0.0819)
OKLCHoklch(20.37% 0.098 303.5)
XYZxyz(1.4233, 0.6939, 4.0611)
Luminance0.0069 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21033A #1C3A03
analogous
#05033A #21033A #3A0338
triadic
#21033A #3A2103 #033A21
tetradic
#21033A #3A0503 #1C3A03 #03383A
square
#21033A #3A0503 #1C3A03 #03383A
split-complementary
#21033A #383A03 #033A05
monochromatic
#11021D #11021D #21033A #420674 #6309AE

Accessibility & contrast

On white

18.44
#21033A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#21033A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21033A
18.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21033A#FFFFFF#000000##FFFFFF
##21033A1.0018.441.1418.44
#FFFFFF18.441.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00133B
Deuteranopia (green-blind)
#001439
Tritanopia (blue-blind)
#1C121F
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #21033a;
/* rgb */ color: rgb(33, 3, 58);
/* oklch */ color: oklch(20.4% 0.098 303.5);
Tailwind
colors: {
  custom: {
    50: '#604771',
    500: '#21033a',
    950: '#000000',
  },
}
SCSS
$custom: #21033a;
$custom-light: #604771;
$custom-dark: #000000;
JSON
{
  "hex": "#21033a",
  "rgb": {
    "r": 33,
    "g": 3,
    "b": 58
  },
  "hsl": {
    "h": 272.727,
    "s": 90.164,
    "l": 11.961
  },
  "oklch": {
    "l": 0.20367,
    "c": 0.09824,
    "h": 303.5
  },
  "luminance": 0.00694
}

Semantic roles & 50–950 ramp

primary
#21033A
secondary
#487D1C
accent
#FF298A
background
#F5F4F6
surface
#EAE6EC
border
#C6C2C7
text
#050007
muted
#79777A

Preview Lab

Preview with #21033A

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

Preview Lab → · Contrast checker → · Palette generator →

#21033A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva