#20135F#20135F

#20135F is a dark, vivid violet. Relative luminance 0.016; OKLCH L 26.5% C 0.126 H 281.4°. Best body text is #FFFFFF at 15.91:1 contrast (WCAG AA passes).

Color values

HEX#20135F
RGBrgb(32, 19, 95)
HSLhsl(250, 67%, 22%)
HSVhsv(250, 80%, 37%)
CMYKcmyk(66.3%, 80%, 0%, 62.7%)
CIE-LABlab(13.22, 30.16, -42.71)
CIE-LCHlch(13.22, 52.28, 305.23°)
OKLaboklab(26.52% 0.0248 -0.1232)
OKLCHoklch(26.52% 0.126 281.4)
XYZxyz(2.8934, 1.5988, 10.9804)
Luminance0.0160 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20135F #525F13
analogous
#132C5F #20135F #46135F
triadic
#20135F #5F2013 #135F20
tetradic
#20135F #5F132C #525F13 #135F46
square
#20135F #5F132C #525F13 #135F46
split-complementary
#20135F #5F4613 #2C5F13
monochromatic
#09051A #0F092C #20135F #311D92 #4227C5

Accessibility & contrast

On white

15.91
#20135F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#20135F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20135F
15.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20135F#FFFFFF#000000##FFFFFF
##20135F1.0015.911.3215.91
#FFFFFF15.911.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002561
Deuteranopia (green-blind)
#001F5E
Tritanopia (blue-blind)
#002938
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #20135f;
/* rgb */ color: rgb(32, 19, 95);
/* oklch */ color: oklch(26.5% 0.126 281.4);
Tailwind
colors: {
  custom: {
    50: '#65528d',
    500: '#20135f',
    950: '#000000',
  },
}
SCSS
$custom: #20135f;
$custom-light: #65528d;
$custom-dark: #000000;
JSON
{
  "hex": "#20135f",
  "rgb": {
    "r": 32,
    "g": 19,
    "b": 95
  },
  "hsl": {
    "h": 250.263,
    "s": 66.667,
    "l": 22.353
  },
  "oklch": {
    "l": 0.26521,
    "c": 0.12566,
    "h": 281.4
  },
  "luminance": 0.01599
}

Semantic roles & 50–950 ramp

primary
#20135F
secondary
#869737
accent
#EA3ECC
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #20135F

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

Preview Lab → · Contrast checker → · Palette generator →

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