#21083C#21083C

#21083C is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.3% C 0.093 H 300.4°. Best body text is #FFFFFF at 18.03:1 contrast (WCAG AA passes).

Color values

HEX#21083C
RGBrgb(33, 8, 60)
HSLhsl(269, 76%, 13%)
HSVhsv(269, 87%, 24%)
CMYKcmyk(45%, 86.7%, 0%, 76.5%)
CIE-LABlab(7.44, 25.21, -27.98)
CIE-LCHlch(7.44, 37.66, 312.03°)
OKLaboklab(21.33% 0.047 -0.08)
OKLCHoklch(21.33% 0.093 300.4)
XYZxyz(1.5294, 0.8232, 4.3524)
Luminance0.0082 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21083C #233C08
analogous
#08093C #21083C #3B083C
triadic
#21083C #3C2108 #083C21
tetradic
#21083C #3C0809 #233C08 #083C3B
square
#21083C #3C0809 #233C08 #083C3B
split-complementary
#21083C #3C3B08 #093C08
monochromatic
#0F041B #0F041B #21083C #3F0F72 #5C16A8

Accessibility & contrast

On white

18.03
#21083C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #21083C
18.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21083C#FFFFFF#000000##FFFFFF
##21083C1.0018.031.1618.03
#FFFFFF18.031.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #21083c;
/* rgb */ color: rgb(33, 8, 60);
/* oklch */ color: oklch(21.3% 0.093 300.4);
Tailwind
colors: {
  custom: {
    50: '#604a72',
    500: '#21083c',
    950: '#000000',
  },
}
SCSS
$custom: #21083c;
$custom-light: #604a72;
$custom-dark: #000000;
JSON
{
  "hex": "#21083c",
  "rgb": {
    "r": 33,
    "g": 8,
    "b": 60
  },
  "hsl": {
    "h": 268.846,
    "s": 76.471,
    "l": 13.333
  },
  "oklch": {
    "l": 0.21333,
    "c": 0.09277,
    "h": 300.4
  },
  "luminance": 0.00823
}

Semantic roles & 50–950 ramp

primary
#21083C
secondary
#527B25
accent
#F33598
background
#F5F4F6
surface
#EAE7EC
border
#C6C3C7
text
#050108
muted
#79777B

Preview Lab

Preview with #21083C

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

Preview Lab → · Contrast checker → · Palette generator →

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