#20135A#20135A

#20135A is a dark, moderate violet. Relative luminance 0.015; OKLCH L 26.0% C 0.119 H 282.7°. Best body text is #FFFFFF at 16.13:1 contrast (WCAG AA passes).

Color values

HEX#20135A
RGBrgb(32, 19, 90)
HSLhsl(251, 65%, 21%)
HSVhsv(251, 79%, 35%)
CMYKcmyk(64.4%, 78.9%, 0%, 64.7%)
CIE-LABlab(12.68, 28.45, -40.25)
CIE-LCHlch(12.68, 49.29, 305.25°)
OKLaboklab(25.97% 0.0261 -0.116)
OKLCHoklch(25.97% 0.119 282.7)
XYZxyz(2.6734, 1.5108, 9.8216)
Luminance0.0151 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20135A #4D5A13
analogous
#132A5A #20135A #44135A
triadic
#20135A #5A2013 #135A20
tetradic
#20135A #5A132A #4D5A13 #135A44
square
#20135A #5A132A #4D5A13 #135A44
split-complementary
#20135A #5A4413 #2A5A13
monochromatic
#090519 #0E0827 #20135A #321E8D #4428BF

Accessibility & contrast

On white

16.13
#20135A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#20135A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20135A
16.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20135A#FFFFFF#000000##FFFFFF
##20135A1.0016.131.3016.13
#FFFFFF16.131.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00235C
Deuteranopia (green-blind)
#001E59
Tritanopia (blue-blind)
#002735
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #20135a;
/* rgb */ color: rgb(32, 19, 90);
/* oklch */ color: oklch(26.0% 0.119 282.7);
Tailwind
colors: {
  custom: {
    50: '#645289',
    500: '#20135a',
    950: '#000000',
  },
}
SCSS
$custom: #20135a;
$custom-light: #645289;
$custom-dark: #000000;
JSON
{
  "hex": "#20135a",
  "rgb": {
    "r": 32,
    "g": 19,
    "b": 90
  },
  "hsl": {
    "h": 250.986,
    "s": 65.138,
    "l": 21.373
  },
  "oklch": {
    "l": 0.2597,
    "c": 0.11892,
    "h": 282.7
  },
  "luminance": 0.01511
}

Semantic roles & 50–950 ramp

primary
#20135A
secondary
#819237
accent
#E840C9
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #20135A

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

Preview Lab → · Contrast checker → · Palette generator →

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