#201159#201159

#201159 is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.6% C 0.120 H 283.5°. Best body text is #FFFFFF at 16.33:1 contrast (WCAG AA passes).

Color values

HEX#201159
RGBrgb(32, 17, 89)
HSLhsl(253, 68%, 21%)
HSVhsv(253, 81%, 35%)
CMYKcmyk(64%, 80.9%, 0%, 65.1%)
CIE-LABlab(12.15, 29.29, -40.44)
CIE-LCHlch(12.15, 49.94, 305.91°)
OKLaboklab(25.57% 0.028 -0.1166)
OKLCHoklch(25.57% 0.12 283.5)
XYZxyz(2.5987, 1.4291, 9.5882)
Luminance0.0143 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201159 #4A5911
analogous
#112659 #201159 #441159
triadic
#201159 #592011 #115920
tetradic
#201159 #591126 #4A5911 #115944
square
#201159 #591126 #4A5911 #115944
split-complementary
#201159 #594411 #265911
monochromatic
#09051A #0E0726 #201159 #321B8C #4525C0

Accessibility & contrast

On white

16.33
#201159 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#201159 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201159
16.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201159#FFFFFF#000000##FFFFFF
##2011591.0016.331.2916.33
#FFFFFF16.331.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00225B
Deuteranopia (green-blind)
#001D58
Tritanopia (blue-blind)
#002534
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #201159;
/* rgb */ color: rgb(32, 17, 89);
/* oklch */ color: oklch(25.6% 0.120 283.5);
Tailwind
colors: {
  custom: {
    50: '#645189',
    500: '#201159',
    950: '#000000',
  },
}
SCSS
$custom: #201159;
$custom-light: #645189;
$custom-dark: #000000;
JSON
{
  "hex": "#201159",
  "rgb": {
    "r": 32,
    "g": 17,
    "b": 89
  },
  "hsl": {
    "h": 252.5,
    "s": 67.925,
    "l": 20.784
  },
  "oklch": {
    "l": 0.25565,
    "c": 0.11988,
    "h": 283.5
  },
  "luminance": 0.01429
}

Semantic roles & 50–950 ramp

primary
#201159
secondary
#7E9234
accent
#EB3DC7
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020B
muted
#7A787C

Preview Lab

Preview with #201159

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

Preview Lab → · Contrast checker → · Palette generator →

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