#201138#201138

#201138 is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.3% C 0.073 H 297.9°. Best body text is #FFFFFF at 17.52:1 contrast (WCAG AA passes).

Color values

HEX#201138
RGBrgb(32, 17, 56)
HSLhsl(263, 53%, 14%)
HSVhsv(263, 70%, 22%)
CMYKcmyk(42.9%, 69.6%, 0%, 78%)
CIE-LABlab(8.94, 18.20, -22.67)
CIE-LCHlch(8.94, 29.07, 308.76°)
OKLaboklab(22.27% 0.0342 -0.0644)
OKLCHoklch(22.27% 0.073 297.9)
XYZxyz(1.5097, 0.9935, 3.8528)
Luminance0.0099 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201138 #293811
analogous
#111638 #201138 #341138
triadic
#201138 #382011 #113820
tetradic
#201138 #381116 #293811 #113834
square
#201138 #381116 #293811 #113834
split-complementary
#201138 #383411 #163811
monochromatic
#0D0717 #0D0717 #201138 #3B1F67 #562E96

Accessibility & contrast

On white

17.52
#201138 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#201138 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201138
17.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201138#FFFFFF#000000##FFFFFF
##2011381.0017.521.2017.52
#FFFFFF17.521.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001939
Deuteranopia (green-blind)
#041937
Tritanopia (blue-blind)
#1A1922
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #201138;
/* rgb */ color: rgb(32, 17, 56);
/* oklch */ color: oklch(22.3% 0.073 297.9);
Tailwind
colors: {
  custom: {
    50: '#5e4f6f',
    500: '#201138',
    950: '#000000',
  },
}
SCSS
$custom: #201138;
$custom-light: #5e4f6f;
$custom-dark: #000000;
JSON
{
  "hex": "#201138",
  "rgb": {
    "r": 32,
    "g": 17,
    "b": 56
  },
  "hsl": {
    "h": 263.077,
    "s": 53.425,
    "l": 14.314
  },
  "oklch": {
    "l": 0.22272,
    "c": 0.07289,
    "h": 297.9
  },
  "luminance": 0.00993
}

Semantic roles & 50–950 ramp

primary
#201138
secondary
#5A7134
accent
#DD4BA5
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#040207
muted
#79787A

Preview Lab

Preview with #201138

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

Preview Lab → · Contrast checker → · Palette generator →

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