#201342#201342

#201342 is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 23.5% C 0.085 H 291.2°. Best body text is #FFFFFF at 17.03:1 contrast (WCAG AA passes).

Color values

HEX#201342
RGBrgb(32, 19, 66)
HSLhsl(257, 55%, 17%)
HSVhsv(257, 71%, 26%)
CMYKcmyk(51.5%, 71.2%, 0%, 74.1%)
CIE-LABlab(10.30, 20.18, -27.59)
CIE-LCHlch(10.30, 34.18, 306.18°)
OKLaboklab(23.54% 0.0307 -0.0789)
OKLCHoklch(23.54% 0.085 291.2)
XYZxyz(1.8116, 1.1661, 5.2828)
Luminance0.0117 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201342 #354213
analogous
#131E42 #201342 #381342
triadic
#201342 #422013 #134220
tetradic
#201342 #42131E #354213 #134238
square
#201342 #42131E #354213 #134238
split-complementary
#201342 #423813 #1E4213
monochromatic
#0C0718 #0C0718 #201342 #372172 #4E2EA1

Accessibility & contrast

On white

17.03
#201342 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#201342 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201342
17.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201342#FFFFFF#000000##FFFFFF
##2013421.0017.031.2317.03
#FFFFFF17.031.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D43
Deuteranopia (green-blind)
#001B41
Tritanopia (blue-blind)
#161E28
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #201342;
/* rgb */ color: rgb(32, 19, 66);
/* oklch */ color: oklch(23.5% 0.085 291.2);
Tailwind
colors: {
  custom: {
    50: '#5f5177',
    500: '#201342',
    950: '#000000',
  },
}
SCSS
$custom: #201342;
$custom-light: #5f5177;
$custom-dark: #000000;
JSON
{
  "hex": "#201342",
  "rgb": {
    "r": 32,
    "g": 19,
    "b": 66
  },
  "hsl": {
    "h": 256.596,
    "s": 55.294,
    "l": 16.667
  },
  "oklch": {
    "l": 0.23539,
    "c": 0.08462,
    "h": 291.2
  },
  "luminance": 0.01166
}

Semantic roles & 50–950 ramp

primary
#201342
secondary
#687B36
accent
#DF49B5
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#050208
muted
#79787B

Preview Lab

Preview with #201342

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

Preview Lab → · Contrast checker → · Palette generator →

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