#21106A#21106A

#21106A is a dark, vivid violet. Relative luminance 0.017; OKLCH L 27.5% C 0.143 H 280.1°. Best body text is #FFFFFF at 15.59:1 contrast (WCAG AA passes).

Color values

HEX#21106A
RGBrgb(33, 16, 106)
HSLhsl(251, 74%, 24%)
HSVhsv(251, 85%, 42%)
CMYKcmyk(68.9%, 84.9%, 0%, 58.4%)
CIE-LABlab(14.03, 35.54, -48.66)
CIE-LCHlch(14.03, 60.26, 306.14°)
OKLaboklab(27.48% 0.0249 -0.1405)
OKLCHoklch(27.48% 0.143 280.1)
XYZxyz(3.4132, 1.7342, 13.7878)
Luminance0.0174 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21106A #596A10
analogous
#102C6A #21106A #4E106A
triadic
#21106A #6A2110 #106A21
tetradic
#21106A #6A102C #596A10 #106A4E
square
#21106A #6A102C #596A10 #106A4E
split-complementary
#21106A #6A4E10 #2C6A10
monochromatic
#08041B #100835 #21106A #32189F #4220D4

Accessibility & contrast

On white

15.59
#21106A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#21106A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21106A
15.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21106A#FFFFFF#000000##FFFFFF
##21106A1.0015.591.3515.59
#FFFFFF15.591.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00276C
Deuteranopia (green-blind)
#002068
Tritanopia (blue-blind)
#002C3E
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #21106a;
/* rgb */ color: rgb(33, 16, 106);
/* oklch */ color: oklch(27.5% 0.143 280.1);
Tailwind
colors: {
  custom: {
    50: '#685296',
    500: '#21106a',
    950: '#000000',
  },
}
SCSS
$custom: #21106a;
$custom-light: #685296;
$custom-dark: #000000;
JSON
{
  "hex": "#21106a",
  "rgb": {
    "r": 33,
    "g": 16,
    "b": 106
  },
  "hsl": {
    "h": 251.333,
    "s": 73.77,
    "l": 23.922
  },
  "oklch": {
    "l": 0.27483,
    "c": 0.14268,
    "h": 280.1
  },
  "luminance": 0.01735
}

Semantic roles & 50–950 ramp

primary
#21106A
secondary
#8DA234
accent
#F037CD
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07020D
muted
#7A787E

Preview Lab

Preview with #21106A

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

Preview Lab → · Contrast checker → · Palette generator →

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