#20135B#20135B

#20135B is a dark, vivid violet. Relative luminance 0.015; OKLCH L 26.1% C 0.120 H 282.4°. Best body text is #FFFFFF at 16.08:1 contrast (WCAG AA passes).

Color values

HEX#20135B
RGBrgb(32, 19, 91)
HSLhsl(251, 65%, 22%)
HSVhsv(251, 79%, 36%)
CMYKcmyk(64.8%, 79.1%, 0%, 64.3%)
CIE-LABlab(12.79, 28.79, -40.75)
CIE-LCHlch(12.79, 49.90, 305.25°)
OKLaboklab(26.08% 0.0258 -0.1175)
OKLCHoklch(26.08% 0.12 282.4)
XYZxyz(2.7163, 1.5280, 10.0473)
Luminance0.0153 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20135B #4E5B13
analogous
#132A5B #20135B #44135B
triadic
#20135B #5B2013 #135B20
tetradic
#20135B #5B132A #4E5B13 #135B44
square
#20135B #5B132A #4E5B13 #135B44
split-complementary
#20135B #5B4413 #2A5B13
monochromatic
#090519 #0E0828 #20135B #321E8E #4428C0

Accessibility & contrast

On white

16.08
#20135B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #20135B
16.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20135B#FFFFFF#000000##FFFFFF
##20135B1.0016.081.3116.08
#FFFFFF16.081.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00235D
Deuteranopia (green-blind)
#001F5A
Tritanopia (blue-blind)
#002736
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #20135b;
/* rgb */ color: rgb(32, 19, 91);
/* oklch */ color: oklch(26.1% 0.120 282.4);
Tailwind
colors: {
  custom: {
    50: '#64528a',
    500: '#20135b',
    950: '#000000',
  },
}
SCSS
$custom: #20135b;
$custom-light: #64528a;
$custom-dark: #000000;
JSON
{
  "hex": "#20135b",
  "rgb": {
    "r": 32,
    "g": 19,
    "b": 91
  },
  "hsl": {
    "h": 250.833,
    "s": 65.455,
    "l": 21.569
  },
  "oklch": {
    "l": 0.26079,
    "c": 0.12028,
    "h": 282.4
  },
  "luminance": 0.01528
}

Semantic roles & 50–950 ramp

primary
#20135B
secondary
#829337
accent
#E83FCA
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #20135B

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

Preview Lab → · Contrast checker → · Palette generator →

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