#21083D#21083D

#21083D is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.4% C 0.094 H 299.8°. Best body text is #FFFFFF at 18.00:1 contrast (WCAG AA passes).

Color values

HEX#21083D
RGBrgb(33, 8, 61)
HSLhsl(268, 77%, 14%)
HSVhsv(268, 87%, 24%)
CMYKcmyk(45.9%, 86.9%, 0%, 76.1%)
CIE-LABlab(7.53, 25.53, -28.54)
CIE-LCHlch(7.53, 38.29, 311.81°)
OKLaboklab(21.44% 0.0467 -0.0816)
OKLCHoklch(21.44% 0.094 299.8)
XYZxyz(1.5561, 0.8339, 4.4929)
Luminance0.0083 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21083D #243D08
analogous
#08093D #21083D #3B083D
triadic
#21083D #3D2108 #083D21
tetradic
#21083D #3D0809 #243D08 #083D3B
square
#21083D #3D0809 #243D08 #083D3B
split-complementary
#21083D #3D3B08 #093D08
monochromatic
#0F041B #0F041B #21083D #3E0F73 #5C16A9

Accessibility & contrast

On white

18.00
#21083D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#21083D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21083D
18.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21083D#FFFFFF#000000##FFFFFF
##21083D1.0018.001.1718.00
#FFFFFF18.001.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF18.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00163E
Deuteranopia (green-blind)
#00163C
Tritanopia (blue-blind)
#1A1622
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #21083d;
/* rgb */ color: rgb(33, 8, 61);
/* oklch */ color: oklch(21.4% 0.094 299.8);
Tailwind
colors: {
  custom: {
    50: '#604a73',
    500: '#21083d',
    950: '#000000',
  },
}
SCSS
$custom: #21083d;
$custom-light: #604a73;
$custom-dark: #000000;
JSON
{
  "hex": "#21083d",
  "rgb": {
    "r": 33,
    "g": 8,
    "b": 61
  },
  "hsl": {
    "h": 268.302,
    "s": 76.812,
    "l": 13.529
  },
  "oklch": {
    "l": 0.21435,
    "c": 0.09402,
    "h": 299.8
  },
  "luminance": 0.00834
}

Semantic roles & 50–950 ramp

primary
#21083D
secondary
#537C25
accent
#F33499
background
#F5F4F7
surface
#EAE7ED
border
#C6C3C8
text
#050108
muted
#79777B

Preview Lab

Preview with #21083D

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

Preview Lab → · Contrast checker → · Palette generator →

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