#20105A#20105A

#20105A is a dark, vivid violet. Relative luminance 0.014; OKLCH L 25.5% C 0.122 H 283.5°. Best body text is #FFFFFF at 16.37:1 contrast (WCAG AA passes).

Color values

HEX#20105A
RGBrgb(32, 16, 90)
HSLhsl(253, 70%, 21%)
HSVhsv(253, 82%, 35%)
CMYKcmyk(64.4%, 82.2%, 0%, 64.7%)
CIE-LABlab(12.06, 30.20, -41.27)
CIE-LCHlch(12.06, 51.13, 306.19°)
OKLaboklab(25.54% 0.0285 -0.1189)
OKLCHoklch(25.54% 0.122 283.5)
XYZxyz(2.6258, 1.4157, 9.8058)
Luminance0.0142 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20105A #4A5A10
analogous
#10255A #20105A #45105A
triadic
#20105A #5A2010 #105A20
tetradic
#20105A #5A1025 #4A5A10 #105A45
square
#20105A #5A1025 #4A5A10 #105A45
split-complementary
#20105A #5A4510 #255A10
monochromatic
#09051A #0E0726 #20105A #32198E #4522C2

Accessibility & contrast

On white

16.37
#20105A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#20105A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20105A
16.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20105A#FFFFFF#000000##FFFFFF
##20105A1.0016.371.2816.37
#FFFFFF16.371.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00225C
Deuteranopia (green-blind)
#001D59
Tritanopia (blue-blind)
#002534
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #20105a;
/* rgb */ color: rgb(32, 16, 90);
/* oklch */ color: oklch(25.5% 0.122 283.5);
Tailwind
colors: {
  custom: {
    50: '#645089',
    500: '#20105a',
    950: '#000000',
  },
}
SCSS
$custom: #20105a;
$custom-light: #645089;
$custom-dark: #000000;
JSON
{
  "hex": "#20105a",
  "rgb": {
    "r": 32,
    "g": 16,
    "b": 90
  },
  "hsl": {
    "h": 252.973,
    "s": 69.811,
    "l": 20.784
  },
  "oklch": {
    "l": 0.25537,
    "c": 0.1223,
    "h": 283.5
  },
  "luminance": 0.01416
}

Semantic roles & 50–950 ramp

primary
#20105A
secondary
#7E9333
accent
#ED3BC6
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #20105A

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

Preview Lab → · Contrast checker → · Palette generator →

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