#20105D#20105D

#20105D is a dark, vivid violet. Relative luminance 0.015; OKLCH L 25.9% C 0.126 H 282.6°. Best body text is #FFFFFF at 16.23:1 contrast (WCAG AA passes).

Color values

HEX#20105D
RGBrgb(32, 16, 93)
HSLhsl(252, 71%, 21%)
HSVhsv(252, 83%, 36%)
CMYKcmyk(65.6%, 82.8%, 0%, 63.5%)
CIE-LABlab(12.40, 31.19, -42.72)
CIE-LCHlch(12.40, 52.90, 306.13°)
OKLaboklab(25.88% 0.0275 -0.1232)
OKLCHoklch(25.88% 0.126 282.6)
XYZxyz(2.7561, 1.4678, 10.4919)
Luminance0.0147 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20105D #4D5D10
analogous
#10275D #20105D #47105D
triadic
#20105D #5D2010 #105D20
tetradic
#20105D #5D1027 #4D5D10 #105D47
square
#20105D #5D1027 #4D5D10 #105D47
split-complementary
#20105D #5D4710 #275D10
monochromatic
#09041A #0E0729 #20105D #321991 #4422C5

Accessibility & contrast

On white

16.23
#20105D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#20105D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20105D
16.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20105D#FFFFFF#000000##FFFFFF
##20105D1.0016.231.2916.23
#FFFFFF16.231.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00235F
Deuteranopia (green-blind)
#001E5C
Tritanopia (blue-blind)
#002736
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #20105d;
/* rgb */ color: rgb(32, 16, 93);
/* oklch */ color: oklch(25.9% 0.126 282.6);
Tailwind
colors: {
  custom: {
    50: '#65518c',
    500: '#20105d',
    950: '#000000',
  },
}
SCSS
$custom: #20105d;
$custom-light: #65518c;
$custom-dark: #000000;
JSON
{
  "hex": "#20105d",
  "rgb": {
    "r": 32,
    "g": 16,
    "b": 93
  },
  "hsl": {
    "h": 252.468,
    "s": 70.642,
    "l": 21.373
  },
  "oklch": {
    "l": 0.25877,
    "c": 0.12625,
    "h": 282.6
  },
  "luminance": 0.01468
}

Semantic roles & 50–950 ramp

primary
#20105D
secondary
#819633
accent
#ED3AC8
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #20105D

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

Preview Lab → · Contrast checker → · Palette generator →

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