#21083B#21083B

#21083B is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.2% C 0.092 H 301.1°. Best body text is #FFFFFF at 18.06:1 contrast (WCAG AA passes).

Color values

HEX#21083B
RGBrgb(33, 8, 59)
HSLhsl(269, 76%, 13%)
HSVhsv(269, 86%, 23%)
CMYKcmyk(44.1%, 86.4%, 0%, 76.9%)
CIE-LABlab(7.34, 24.90, -27.41)
CIE-LCHlch(7.34, 37.03, 312.25°)
OKLaboklab(21.23% 0.0473 -0.0783)
OKLCHoklch(21.23% 0.092 301.1)
XYZxyz(1.5033, 0.8128, 4.2145)
Luminance0.0081 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21083B #223B08
analogous
#08083B #21083B #3A083B
triadic
#21083B #3B2108 #083B21
tetradic
#21083B #3B0808 #223B08 #083B3A
square
#21083B #3B0808 #223B08 #083B3A
split-complementary
#21083B #3B3A08 #083B08
monochromatic
#0F041B #0F041B #21083B #3F0F71 #5D17A7

Accessibility & contrast

On white

18.06
#21083B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#21083B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21083B
18.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21083B#FFFFFF#000000##FFFFFF
##21083B1.0018.061.1618.06
#FFFFFF18.061.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00163C
Deuteranopia (green-blind)
#00163A
Tritanopia (blue-blind)
#1B1521
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #21083b;
/* rgb */ color: rgb(33, 8, 59);
/* oklch */ color: oklch(21.2% 0.092 301.1);
Tailwind
colors: {
  custom: {
    50: '#604a71',
    500: '#21083b',
    950: '#000000',
  },
}
SCSS
$custom: #21083b;
$custom-light: #604a71;
$custom-dark: #000000;
JSON
{
  "hex": "#21083b",
  "rgb": {
    "r": 33,
    "g": 8,
    "b": 59
  },
  "hsl": {
    "h": 269.412,
    "s": 76.119,
    "l": 13.137
  },
  "oklch": {
    "l": 0.21232,
    "c": 0.09151,
    "h": 301.1
  },
  "luminance": 0.00813
}

Semantic roles & 50–950 ramp

primary
#21083B
secondary
#507A25
accent
#F33596
background
#F5F4F6
surface
#EAE7EC
border
#C6C3C7
text
#050108
muted
#79777B

Preview Lab

Preview with #21083B

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

Preview Lab → · Contrast checker → · Palette generator →

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