#21103B#21103B

#21103B is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.5% C 0.079 H 297.9°. Best body text is #FFFFFF at 17.47:1 contrast (WCAG AA passes).

Color values

HEX#21103B
RGBrgb(33, 16, 59)
HSLhsl(264, 57%, 15%)
HSVhsv(264, 73%, 23%)
CMYKcmyk(44.1%, 72.9%, 0%, 76.9%)
CIE-LABlab(9.07, 20.12, -24.60)
CIE-LCHlch(9.07, 31.78, 309.28°)
OKLaboklab(22.48% 0.0371 -0.07)
OKLCHoklch(22.48% 0.079 297.9)
XYZxyz(1.6017, 1.0097, 4.2473)
Luminance0.0101 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21103B #2A3B10
analogous
#10153B #21103B #37103B
triadic
#21103B #3B2110 #103B21
tetradic
#21103B #3B1015 #2A3B10 #103B37
square
#21103B #3B1015 #2A3B10 #103B37
split-complementary
#21103B #3B3710 #153B10
monochromatic
#0D0718 #0D0718 #21103B #3C1D6B #572A9B

Accessibility & contrast

On white

17.47
#21103B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#21103B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21103B
17.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21103B#FFFFFF#000000##FFFFFF
##21103B1.0017.471.2017.47
#FFFFFF17.471.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A3C
Deuteranopia (green-blind)
#00193A
Tritanopia (blue-blind)
#1B1A23
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #21103b;
/* rgb */ color: rgb(33, 16, 59);
/* oklch */ color: oklch(22.5% 0.079 297.9);
Tailwind
colors: {
  custom: {
    50: '#5f4f71',
    500: '#21103b',
    950: '#000000',
  },
}
SCSS
$custom: #21103b;
$custom-light: #5f4f71;
$custom-dark: #000000;
JSON
{
  "hex": "#21103b",
  "rgb": {
    "r": 33,
    "g": 16,
    "b": 59
  },
  "hsl": {
    "h": 263.721,
    "s": 57.333,
    "l": 14.706
  },
  "oklch": {
    "l": 0.22481,
    "c": 0.07925,
    "h": 297.9
  },
  "luminance": 0.0101
}

Semantic roles & 50–950 ramp

primary
#21103B
secondary
#5A7532
accent
#E147A4
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#050208
muted
#79787B

Preview Lab

Preview with #21103B

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

Preview Lab → · Contrast checker → · Palette generator →

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