#201140#201140

#201140 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.0% C 0.085 H 293.3°. Best body text is #FFFFFF at 17.28:1 contrast (WCAG AA passes).

Color values

HEX#201140
RGBrgb(32, 17, 64)
HSLhsl(259, 58%, 16%)
HSVhsv(259, 73%, 25%)
CMYKcmyk(50%, 73.4%, 0%, 74.9%)
CIE-LABlab(9.63, 20.85, -27.28)
CIE-LCHlch(9.63, 34.33, 307.39°)
OKLaboklab(22.99% 0.0335 -0.0779)
OKLCHoklch(22.99% 0.085 293.3)
XYZxyz(1.7213, 1.0781, 4.9669)
Luminance0.0108 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201140 #314011
analogous
#111940 #201140 #371140
triadic
#201140 #402011 #114020
tetradic
#201140 #401119 #314011 #114037
square
#201140 #401119 #314011 #114037
split-complementary
#201140 #403711 #194011
monochromatic
#0C0618 #0C0618 #201140 #381E70 #502BA1

Accessibility & contrast

On white

17.28
#201140 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#201140 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201140
17.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201140#FFFFFF#000000##FFFFFF
##2011401.0017.281.2217.28
#FFFFFF17.281.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B41
Deuteranopia (green-blind)
#001A3F
Tritanopia (blue-blind)
#171C26
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #201140;
/* rgb */ color: rgb(32, 17, 64);
/* oklch */ color: oklch(23.0% 0.085 293.3);
Tailwind
colors: {
  custom: {
    50: '#5f5075',
    500: '#201140',
    950: '#000000',
  },
}
SCSS
$custom: #201140;
$custom-light: #5f5075;
$custom-dark: #000000;
JSON
{
  "hex": "#201140",
  "rgb": {
    "r": 32,
    "g": 17,
    "b": 64
  },
  "hsl": {
    "h": 259.149,
    "s": 58.025,
    "l": 15.882
  },
  "oklch": {
    "l": 0.22991,
    "c": 0.08484,
    "h": 293.3
  },
  "luminance": 0.01078
}

Semantic roles & 50–950 ramp

primary
#201140
secondary
#637933
accent
#E147B0
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#050208
muted
#79787B

Preview Lab

Preview with #201140

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

Preview Lab → · Contrast checker → · Palette generator →

#201140 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva