#20135D#20135D

#20135D is a dark, vivid violet. Relative luminance 0.016; OKLCH L 26.3% C 0.123 H 281.9°. Best body text is #FFFFFF at 16.00:1 contrast (WCAG AA passes).

Color values

HEX#20135D
RGBrgb(32, 19, 93)
HSLhsl(251, 66%, 22%)
HSVhsv(251, 80%, 36%)
CMYKcmyk(65.6%, 79.6%, 0%, 63.5%)
CIE-LABlab(13.00, 29.48, -41.73)
CIE-LCHlch(13.00, 51.09, 305.24°)
OKLaboklab(26.3% 0.0253 -0.1203)
OKLCHoklch(26.3% 0.123 281.9)
XYZxyz(2.8037, 1.5629, 10.5077)
Luminance0.0156 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20135D #505D13
analogous
#132B5D #20135D #45135D
triadic
#20135D #5D2013 #135D20
tetradic
#20135D #5D132B #505D13 #135D45
square
#20135D #5D132B #505D13 #135D45
split-complementary
#20135D #5D4513 #2B5D13
monochromatic
#090519 #0F092A #20135D #311D90 #4328C3

Accessibility & contrast

On white

16.00
#20135D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#20135D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20135D
16.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20135D#FFFFFF#000000##FFFFFF
##20135D1.0016.001.3116.00
#FFFFFF16.001.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00245F
Deuteranopia (green-blind)
#001F5C
Tritanopia (blue-blind)
#002837
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #20135d;
/* rgb */ color: rgb(32, 19, 93);
/* oklch */ color: oklch(26.3% 0.123 281.9);
Tailwind
colors: {
  custom: {
    50: '#65528c',
    500: '#20135d',
    950: '#000000',
  },
}
SCSS
$custom: #20135d;
$custom-light: #65528c;
$custom-dark: #000000;
JSON
{
  "hex": "#20135d",
  "rgb": {
    "r": 32,
    "g": 19,
    "b": 93
  },
  "hsl": {
    "h": 250.541,
    "s": 66.071,
    "l": 21.961
  },
  "oklch": {
    "l": 0.26299,
    "c": 0.12298,
    "h": 281.9
  },
  "luminance": 0.01563
}

Semantic roles & 50–950 ramp

primary
#20135D
secondary
#849537
accent
#E93FCB
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #20135D

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

Preview Lab → · Contrast checker → · Palette generator →

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