#21053B#21053B

#21053B is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.8% C 0.096 H 302.1°. Best body text is #FFFFFF at 18.27:1 contrast (WCAG AA passes).

Color values

HEX#21053B
RGBrgb(33, 5, 59)
HSLhsl(271, 84%, 13%)
HSVhsv(271, 92%, 23%)
CMYKcmyk(44.1%, 91.5%, 0%, 76.9%)
CIE-LABlab(6.75, 26.52, -28.37)
CIE-LCHlch(6.75, 38.83, 313.07°)
OKLaboklab(20.78% 0.0511 -0.0814)
OKLCHoklch(20.78% 0.096 302.1)
XYZxyz(1.4707, 0.7476, 4.2037)
Luminance0.0075 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21053B #1F3B05
analogous
#06053B #21053B #3B053A
triadic
#21053B #3B2105 #053B21
tetradic
#21053B #3B0605 #1F3B05 #053A3B
square
#21053B #3B0605 #1F3B05 #053A3B
split-complementary
#21053B #3A3B05 #053B06
monochromatic
#10021C #10021C #21053B #410A73 #600FAC

Accessibility & contrast

On white

18.27
#21053B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #21053B
18.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21053B#FFFFFF#000000##FFFFFF
##21053B1.0018.271.1518.27
#FFFFFF18.271.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00153C
Deuteranopia (green-blind)
#00153A
Tritanopia (blue-blind)
#1B1320
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #21053b;
/* rgb */ color: rgb(33, 5, 59);
/* oklch */ color: oklch(20.8% 0.096 302.1);
Tailwind
colors: {
  custom: {
    50: '#604871',
    500: '#21053b',
    950: '#000000',
  },
}
SCSS
$custom: #21053b;
$custom-light: #604871;
$custom-dark: #000000;
JSON
{
  "hex": "#21053b",
  "rgb": {
    "r": 33,
    "g": 5,
    "b": 59
  },
  "hsl": {
    "h": 271.111,
    "s": 84.375,
    "l": 12.549
  },
  "oklch": {
    "l": 0.20784,
    "c": 0.0961,
    "h": 302.1
  },
  "luminance": 0.00748
}

Semantic roles & 50–950 ramp

primary
#21053B
secondary
#4C7C20
accent
#FB2D90
background
#F5F4F6
surface
#EAE7EC
border
#C6C3C7
text
#050108
muted
#79777B

Preview Lab

Preview with #21053B

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

Preview Lab → · Contrast checker → · Palette generator →

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