#21063A#21063A

#21063A is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 20.8% C 0.093 H 302.5°. Best body text is #FFFFFF at 18.23:1 contrast (WCAG AA passes).

Color values

HEX#21063A
RGBrgb(33, 6, 58)
HSLhsl(271, 81%, 13%)
HSVhsv(271, 90%, 23%)
CMYKcmyk(43.1%, 89.7%, 0%, 77.3%)
CIE-LABlab(6.86, 25.65, -27.47)
CIE-LCHlch(6.86, 37.59, 313.04°)
OKLaboklab(20.83% 0.0502 -0.0787)
OKLCHoklch(20.83% 0.093 302.5)
XYZxyz(1.4559, 0.7591, 4.0720)
Luminance0.0076 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21063A #1F3A06
analogous
#07063A #21063A #3A0639
triadic
#21063A #3A2106 #063A21
tetradic
#21063A #3A0706 #1F3A06 #06393A
square
#21063A #3A0706 #1F3A06 #06393A
split-complementary
#21063A #393A06 #063A07
monochromatic
#10031C #10031C #21063A #410C71 #6011A9

Accessibility & contrast

On white

18.23
#21063A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #21063A
18.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21063A#FFFFFF#000000##FFFFFF
##21063A1.0018.231.1518.23
#FFFFFF18.231.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #21063a;
/* rgb */ color: rgb(33, 6, 58);
/* oklch */ color: oklch(20.8% 0.093 302.5);
Tailwind
colors: {
  custom: {
    50: '#604971',
    500: '#21063a',
    950: '#000000',
  },
}
SCSS
$custom: #21063a;
$custom-light: #604971;
$custom-dark: #000000;
JSON
{
  "hex": "#21063a",
  "rgb": {
    "r": 33,
    "g": 6,
    "b": 58
  },
  "hsl": {
    "h": 271.154,
    "s": 81.25,
    "l": 12.549
  },
  "oklch": {
    "l": 0.20833,
    "c": 0.09333,
    "h": 302.5
  },
  "luminance": 0.00759
}

Semantic roles & 50–950 ramp

primary
#21063A
secondary
#4C7A22
accent
#F83090
background
#F5F4F6
surface
#EAE7EC
border
#C6C3C7
text
#050107
muted
#79777A

Preview Lab

Preview with #21063A

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

Preview Lab → · Contrast checker → · Palette generator →

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