#21105F#21105F

#21105F is a dark, vivid violet. Relative luminance 0.015; OKLCH L 26.2% C 0.129 H 282.8°. Best body text is #FFFFFF at 16.10:1 contrast (WCAG AA passes).

Color values

HEX#21105F
RGBrgb(33, 16, 95)
HSLhsl(253, 71%, 22%)
HSVhsv(253, 83%, 37%)
CMYKcmyk(65.3%, 83.2%, 0%, 62.7%)
CIE-LABlab(12.73, 31.98, -43.51)
CIE-LCHlch(12.73, 54.00, 306.31°)
OKLaboklab(26.2% 0.0286 -0.1255)
OKLCHoklch(26.2% 0.129 282.8)
XYZxyz(2.8774, 1.5199, 10.9660)
Luminance0.0152 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21105F #4E5F10
analogous
#10275F #21105F #49105F
triadic
#21105F #5F2110 #105F21
tetradic
#21105F #5F1027 #4E5F10 #105F49
square
#21105F #5F1027 #4E5F10 #105F49
split-complementary
#21105F #5F4910 #275F10
monochromatic
#09041A #0F072B #21105F #331993 #4522C8

Accessibility & contrast

On white

16.10
#21105F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#21105F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21105F
16.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21105F#FFFFFF#000000##FFFFFF
##21105F1.0016.101.3016.10
#FFFFFF16.101.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002361
Deuteranopia (green-blind)
#001E5E
Tritanopia (blue-blind)
#002737
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #21105f;
/* rgb */ color: rgb(33, 16, 95);
/* oklch */ color: oklch(26.2% 0.129 282.8);
Tailwind
colors: {
  custom: {
    50: '#66518d',
    500: '#21105f',
    950: '#000000',
  },
}
SCSS
$custom: #21105f;
$custom-light: #66518d;
$custom-dark: #000000;
JSON
{
  "hex": "#21105f",
  "rgb": {
    "r": 33,
    "g": 16,
    "b": 95
  },
  "hsl": {
    "h": 252.911,
    "s": 71.171,
    "l": 21.765
  },
  "oklch": {
    "l": 0.26203,
    "c": 0.12868,
    "h": 282.8
  },
  "luminance": 0.0152
}

Semantic roles & 50–950 ramp

primary
#21105F
secondary
#829833
accent
#EE3AC7
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #21105F

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

Preview Lab → · Contrast checker → · Palette generator →

#21105F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva