#21083A#21083A

#21083A is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.1% C 0.090 H 301.8°. Best body text is #FFFFFF at 18.10:1 contrast (WCAG AA passes).

Color values

HEX#21083A
RGBrgb(33, 8, 58)
HSLhsl(270, 76%, 13%)
HSVhsv(270, 86%, 23%)
CMYKcmyk(43.1%, 86.2%, 0%, 77.3%)
CIE-LABlab(7.25, 24.58, -26.84)
CIE-LCHlch(7.25, 36.39, 312.48°)
OKLaboklab(21.13% 0.0476 -0.0767)
OKLCHoklch(21.13% 0.09 301.8)
XYZxyz(1.4776, 0.8025, 4.0792)
Luminance0.0080 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21083A #213A08
analogous
#08083A #21083A #3A083A
triadic
#21083A #3A2108 #083A21
tetradic
#21083A #3A0808 #213A08 #083A3A
square
#21083A #3A0808 #213A08 #083A3A
split-complementary
#21083A #3A3A08 #083A08
monochromatic
#0F041B #0F041B #21083A #400F70 #5E17A6

Accessibility & contrast

On white

18.10
#21083A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #21083A
18.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21083A#FFFFFF#000000##FFFFFF
##21083A1.0018.101.1618.10
#FFFFFF18.101.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00163B
Deuteranopia (green-blind)
#001639
Tritanopia (blue-blind)
#1C1520
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #21083a;
/* rgb */ color: rgb(33, 8, 58);
/* oklch */ color: oklch(21.1% 0.090 301.8);
Tailwind
colors: {
  custom: {
    50: '#5f4a71',
    500: '#21083a',
    950: '#000000',
  },
}
SCSS
$custom: #21083a;
$custom-light: #5f4a71;
$custom-dark: #000000;
JSON
{
  "hex": "#21083a",
  "rgb": {
    "r": 33,
    "g": 8,
    "b": 58
  },
  "hsl": {
    "h": 270,
    "s": 75.758,
    "l": 12.941
  },
  "oklch": {
    "l": 0.21132,
    "c": 0.09025,
    "h": 301.8
  },
  "luminance": 0.00802
}

Semantic roles & 50–950 ramp

primary
#21083A
secondary
#4F7925
accent
#F23594
background
#F5F4F6
surface
#EAE7EC
border
#C6C3C7
text
#050107
muted
#79777A

Preview Lab

Preview with #21083A

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

Preview Lab → · Contrast checker → · Palette generator →

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