#21103A#21103A

#21103A is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.4% C 0.078 H 298.5°. Best body text is #FFFFFF at 17.50:1 contrast (WCAG AA passes).

Color values

HEX#21103A
RGBrgb(33, 16, 58)
HSLhsl(264, 57%, 15%)
HSVhsv(264, 72%, 23%)
CMYKcmyk(43.1%, 72.4%, 0%, 77.3%)
CIE-LABlab(8.99, 19.80, -24.02)
CIE-LCHlch(8.99, 31.13, 309.50°)
OKLaboklab(22.39% 0.0372 -0.0683)
OKLCHoklch(22.39% 0.078 298.5)
XYZxyz(1.5760, 0.9994, 4.1120)
Luminance0.0100 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21103A #293A10
analogous
#10143A #21103A #36103A
triadic
#21103A #3A2110 #103A21
tetradic
#21103A #3A1014 #293A10 #103A36
square
#21103A #3A1014 #293A10 #103A36
split-complementary
#21103A #3A3610 #143A10
monochromatic
#0E0718 #0E0718 #21103A #3C1D6A #582A9A

Accessibility & contrast

On white

17.50
#21103A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #21103A
17.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21103A#FFFFFF#000000##FFFFFF
##21103A1.0017.501.2017.50
#FFFFFF17.501.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00193B
Deuteranopia (green-blind)
#011939
Tritanopia (blue-blind)
#1B1923
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #21103a;
/* rgb */ color: rgb(33, 16, 58);
/* oklch */ color: oklch(22.4% 0.078 298.5);
Tailwind
colors: {
  custom: {
    50: '#5f4f70',
    500: '#21103a',
    950: '#000000',
  },
}
SCSS
$custom: #21103a;
$custom-light: #5f4f70;
$custom-dark: #000000;
JSON
{
  "hex": "#21103a",
  "rgb": {
    "r": 33,
    "g": 16,
    "b": 58
  },
  "hsl": {
    "h": 264.286,
    "s": 56.757,
    "l": 14.51
  },
  "oklch": {
    "l": 0.22392,
    "c": 0.07778,
    "h": 298.5
  },
  "luminance": 0.00999
}

Semantic roles & 50–950 ramp

primary
#21103A
secondary
#597432
accent
#E048A2
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#050207
muted
#79787A

Preview Lab

Preview with #21103A

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

Preview Lab → · Contrast checker → · Palette generator →

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