#201157#201157

#201157 is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.3% C 0.117 H 284.1°. Best body text is #FFFFFF at 16.42:1 contrast (WCAG AA passes).

Color values

HEX#201157
RGBrgb(32, 17, 87)
HSLhsl(253, 67%, 20%)
HSVhsv(253, 80%, 34%)
CMYKcmyk(63.2%, 80.5%, 0%, 65.9%)
CIE-LABlab(11.93, 28.62, -39.45)
CIE-LCHlch(11.93, 48.74, 305.96°)
OKLaboklab(25.35% 0.0285 -0.1137)
OKLCHoklch(25.35% 0.117 284.1)
XYZxyz(2.5159, 1.3959, 9.1518)
Luminance0.0140 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201157 #485711
analogous
#112557 #201157 #431157
triadic
#201157 #572011 #115720
tetradic
#201157 #571125 #485711 #115743
square
#201157 #571125 #485711 #115743
split-complementary
#201157 #574311 #255711
monochromatic
#09051A #0D0724 #201157 #331B8A #4625BD

Accessibility & contrast

On white

16.42
#201157 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#201157 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201157
16.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201157#FFFFFF#000000##FFFFFF
##2011571.0016.421.2816.42
#FFFFFF16.421.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002159
Deuteranopia (green-blind)
#001D56
Tritanopia (blue-blind)
#022533
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #201157;
/* rgb */ color: rgb(32, 17, 87);
/* oklch */ color: oklch(25.3% 0.117 284.1);
Tailwind
colors: {
  custom: {
    50: '#635187',
    500: '#201157',
    950: '#000000',
  },
}
SCSS
$custom: #201157;
$custom-light: #635187;
$custom-dark: #000000;
JSON
{
  "hex": "#201157",
  "rgb": {
    "r": 32,
    "g": 17,
    "b": 87
  },
  "hsl": {
    "h": 252.857,
    "s": 67.308,
    "l": 20.392
  },
  "oklch": {
    "l": 0.25345,
    "c": 0.11719,
    "h": 284.1
  },
  "luminance": 0.01396
}

Semantic roles & 50–950 ramp

primary
#201157
secondary
#7C9034
accent
#EA3EC5
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020B
muted
#7A787C

Preview Lab

Preview with #201157

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

Preview Lab → · Contrast checker → · Palette generator →

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