#21063D#21063D

#21063D is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.1% C 0.097 H 300.4°. Best body text is #FFFFFF at 18.13:1 contrast (WCAG AA passes).

Color values

HEX#21063D
RGBrgb(33, 6, 61)
HSLhsl(269, 82%, 13%)
HSVhsv(269, 90%, 24%)
CMYKcmyk(45.9%, 90.2%, 0%, 76.1%)
CIE-LABlab(7.14, 26.62, -29.18)
CIE-LCHlch(7.14, 39.50, 312.38°)
OKLaboklab(21.15% 0.0491 -0.0836)
OKLCHoklch(21.15% 0.097 300.4)
XYZxyz(1.5344, 0.7905, 4.4857)
Luminance0.0079 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21063D #223D06
analogous
#06063D #21063D #3C063D
triadic
#21063D #3D2106 #063D21
tetradic
#21063D #3D0606 #223D06 #063D3C
square
#21063D #3D0606 #223D06 #063D3C
split-complementary
#21063D #3D3C06 #063D06
monochromatic
#0F031C #0F031C #21063D #3F0B75 #5D11AC

Accessibility & contrast

On white

18.13
#21063D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#21063D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21063D
18.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21063D#FFFFFF#000000##FFFFFF
##21063D1.0018.131.1618.13
#FFFFFF18.131.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00163F
Deuteranopia (green-blind)
#00153C
Tritanopia (blue-blind)
#1A1521
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #21063d;
/* rgb */ color: rgb(33, 6, 61);
/* oklch */ color: oklch(21.1% 0.097 300.4);
Tailwind
colors: {
  custom: {
    50: '#604973',
    500: '#21063d',
    950: '#000000',
  },
}
SCSS
$custom: #21063d;
$custom-light: #604973;
$custom-dark: #000000;
JSON
{
  "hex": "#21063d",
  "rgb": {
    "r": 33,
    "g": 6,
    "b": 61
  },
  "hsl": {
    "h": 269.455,
    "s": 82.09,
    "l": 13.137
  },
  "oklch": {
    "l": 0.21145,
    "c": 0.09695,
    "h": 300.4
  },
  "luminance": 0.00791
}

Semantic roles & 50–950 ramp

primary
#21063D
secondary
#507D22
accent
#F82F96
background
#F5F4F7
surface
#EAE7ED
border
#C6C3C8
text
#050108
muted
#79777B

Preview Lab

Preview with #21063D

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

Preview Lab → · Contrast checker → · Palette generator →

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