#20105C#20105C

#20105C is a dark, vivid violet. Relative luminance 0.015; OKLCH L 25.8% C 0.125 H 282.9°. Best body text is #FFFFFF at 16.28:1 contrast (WCAG AA passes).

Color values

HEX#20105C
RGBrgb(32, 16, 92)
HSLhsl(253, 70%, 21%)
HSVhsv(253, 83%, 36%)
CMYKcmyk(65.2%, 82.6%, 0%, 63.9%)
CIE-LABlab(12.29, 30.86, -42.24)
CIE-LCHlch(12.29, 52.31, 306.15°)
OKLaboklab(25.76% 0.0278 -0.1218)
OKLCHoklch(25.76% 0.125 282.9)
XYZxyz(2.7121, 1.4502, 10.2601)
Luminance0.0145 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20105C #4C5C10
analogous
#10265C #20105C #46105C
triadic
#20105C #5C2010 #105C20
tetradic
#20105C #5C1026 #4C5C10 #105C46
square
#20105C #5C1026 #4C5C10 #105C46
split-complementary
#20105C #5C4610 #265C10
monochromatic
#09051A #0E0728 #20105C #321990 #4422C4

Accessibility & contrast

On white

16.28
#20105C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #20105C
16.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20105C#FFFFFF#000000##FFFFFF
##20105C1.0016.281.2916.28
#FFFFFF16.281.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00225E
Deuteranopia (green-blind)
#001D5B
Tritanopia (blue-blind)
#002635
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #20105c;
/* rgb */ color: rgb(32, 16, 92);
/* oklch */ color: oklch(25.8% 0.125 282.9);
Tailwind
colors: {
  custom: {
    50: '#65518b',
    500: '#20105c',
    950: '#000000',
  },
}
SCSS
$custom: #20105c;
$custom-light: #65518b;
$custom-dark: #000000;
JSON
{
  "hex": "#20105c",
  "rgb": {
    "r": 32,
    "g": 16,
    "b": 92
  },
  "hsl": {
    "h": 252.632,
    "s": 70.37,
    "l": 21.176
  },
  "oklch": {
    "l": 0.25763,
    "c": 0.12494,
    "h": 282.9
  },
  "luminance": 0.0145
}

Semantic roles & 50–950 ramp

primary
#20105C
secondary
#809533
accent
#ED3BC8
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #20105C

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

Preview Lab → · Contrast checker → · Palette generator →

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