#201038#201038

#201038 is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.1% C 0.075 H 298.5°. Best body text is #FFFFFF at 17.61:1 contrast (WCAG AA passes).

Color values

HEX#201038
RGBrgb(32, 16, 56)
HSLhsl(264, 56%, 14%)
HSVhsv(264, 71%, 22%)
CMYKcmyk(42.9%, 71.4%, 0%, 78%)
CIE-LABlab(8.68, 18.88, -23.08)
CIE-LCHlch(8.68, 29.82, 309.29°)
OKLaboklab(22.09% 0.0356 -0.0656)
OKLCHoklch(22.09% 0.075 298.5)
XYZxyz(1.4946, 0.9632, 3.8478)
Luminance0.0096 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201038 #283810
analogous
#101438 #201038 #341038
triadic
#201038 #382010 #103820
tetradic
#201038 #381014 #283810 #103834
square
#201038 #381014 #283810 #103834
split-complementary
#201038 #383410 #143810
monochromatic
#0E0718 #0E0718 #201038 #3B1E68 #562B97

Accessibility & contrast

On white

17.61
#201038 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#201038 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201038
17.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201038#FFFFFF#000000##FFFFFF
##2010381.0017.611.1917.61
#FFFFFF17.611.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #201038;
/* rgb */ color: rgb(32, 16, 56);
/* oklch */ color: oklch(22.1% 0.075 298.5);
Tailwind
colors: {
  custom: {
    50: '#5e4f6f',
    500: '#201038',
    950: '#000000',
  },
}
SCSS
$custom: #201038;
$custom-light: #5e4f6f;
$custom-dark: #000000;
JSON
{
  "hex": "#201038",
  "rgb": {
    "r": 32,
    "g": 16,
    "b": 56
  },
  "hsl": {
    "h": 264,
    "s": 55.556,
    "l": 14.118
  },
  "oklch": {
    "l": 0.22085,
    "c": 0.07466,
    "h": 298.5
  },
  "luminance": 0.00963
}

Semantic roles & 50–950 ramp

primary
#201038
secondary
#587232
accent
#DF49A3
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#040207
muted
#79787A

Preview Lab

Preview with #201038

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

Preview Lab → · Contrast checker → · Palette generator →

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