#21053A#21053A

#21053A is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.7% C 0.095 H 302.8°. Best body text is #FFFFFF at 18.30:1 contrast (WCAG AA passes).

Color values

HEX#21053A
RGBrgb(33, 5, 58)
HSLhsl(272, 84%, 12%)
HSVhsv(272, 91%, 23%)
CMYKcmyk(43.1%, 91.4%, 0%, 77.3%)
CIE-LABlab(6.66, 26.19, -27.79)
CIE-LCHlch(6.66, 38.19, 313.30°)
OKLaboklab(20.68% 0.0515 -0.0797)
OKLCHoklch(20.68% 0.095 302.8)
XYZxyz(1.4450, 0.7374, 4.0684)
Luminance0.0074 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21053A #1E3A05
analogous
#06053A #21053A #3A0539
triadic
#21053A #3A2105 #053A21
tetradic
#21053A #3A0605 #1E3A05 #05393A
square
#21053A #3A0605 #1E3A05 #05393A
split-complementary
#21053A #393A05 #053A06
monochromatic
#10021C #10021C #21053A #410A72 #610FAB

Accessibility & contrast

On white

18.30
#21053A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#21053A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21053A
18.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21053A#FFFFFF#000000##FFFFFF
##21053A1.0018.301.1518.30
#FFFFFF18.301.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00143B
Deuteranopia (green-blind)
#001539
Tritanopia (blue-blind)
#1C131F
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #21053a;
/* rgb */ color: rgb(33, 5, 58);
/* oklch */ color: oklch(20.7% 0.095 302.8);
Tailwind
colors: {
  custom: {
    50: '#604871',
    500: '#21053a',
    950: '#000000',
  },
}
SCSS
$custom: #21053a;
$custom-light: #604871;
$custom-dark: #000000;
JSON
{
  "hex": "#21053a",
  "rgb": {
    "r": 33,
    "g": 5,
    "b": 58
  },
  "hsl": {
    "h": 271.698,
    "s": 84.127,
    "l": 12.353
  },
  "oklch": {
    "l": 0.2068,
    "c": 0.09493,
    "h": 302.8
  },
  "luminance": 0.00737
}

Semantic roles & 50–950 ramp

primary
#21053A
secondary
#4B7B20
accent
#FA2D8E
background
#F5F4F6
surface
#EAE6EC
border
#C6C2C7
text
#050107
muted
#79777A

Preview Lab

Preview with #21053A

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

Preview Lab → · Contrast checker → · Palette generator →

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