#201042#201042

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

Color values

HEX#201042
RGBrgb(32, 16, 66)
HSLhsl(259, 61%, 16%)
HSVhsv(259, 76%, 26%)
CMYKcmyk(51.5%, 75.8%, 0%, 74.1%)
CIE-LABlab(9.57, 22.17, -28.79)
CIE-LCHlch(9.57, 36.33, 307.60°)
OKLaboklab(23.01% 0.0345 -0.0824)
OKLCHoklch(23.01% 0.089 292.7)
XYZxyz(1.7641, 1.0710, 5.2670)
Luminance0.0107 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201042 #324210
analogous
#101942 #201042 #391042
triadic
#201042 #422010 #104220
tetradic
#201042 #421019 #324210 #104239
square
#201042 #421019 #324210 #104239
split-complementary
#201042 #423910 #194210
monochromatic
#0C0619 #0C0619 #201042 #381C73 #5028A5

Accessibility & contrast

On white

17.30
#201042 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#201042 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201042
17.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201042#FFFFFF#000000##FFFFFF
##2010421.0017.301.2117.30
#FFFFFF17.301.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B44
Deuteranopia (green-blind)
#001A41
Tritanopia (blue-blind)
#161C27
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #201042;
/* rgb */ color: rgb(32, 16, 66);
/* oklch */ color: oklch(23.0% 0.089 292.7);
Tailwind
colors: {
  custom: {
    50: '#5f4f77',
    500: '#201042',
    950: '#000000',
  },
}
SCSS
$custom: #201042;
$custom-light: #5f4f77;
$custom-dark: #000000;
JSON
{
  "hex": "#201042",
  "rgb": {
    "r": 32,
    "g": 16,
    "b": 66
  },
  "hsl": {
    "h": 259.2,
    "s": 60.976,
    "l": 16.078
  },
  "oklch": {
    "l": 0.23008,
    "c": 0.08929,
    "h": 292.7
  },
  "luminance": 0.01071
}

Semantic roles & 50–950 ramp

primary
#201042
secondary
#647C32
accent
#E444B1
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#050208
muted
#79787B

Preview Lab

Preview with #201042

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

Preview Lab → · Contrast checker → · Palette generator →

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