#201A34#201A34

#201A34 is a very dark, muted violet. Relative luminance 0.013; OKLCH L 23.9% C 0.049 H 292.9°. Best body text is #FFFFFF at 16.68:1 contrast (WCAG AA passes).

Color values

HEX#201A34
RGBrgb(32, 26, 52)
HSLhsl(254, 33%, 15%)
HSVhsv(254, 50%, 20%)
CMYKcmyk(38.5%, 50%, 0%, 79.6%)
CIE-LABlab(11.23, 10.35, -16.12)
CIE-LCHlch(11.23, 19.16, 302.72°)
OKLaboklab(23.89% 0.0191 -0.0452)
OKLCHoklch(23.89% 0.049 292.9)
XYZxyz(1.5847, 1.2938, 3.4144)
Luminance0.0129 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201A34 #2E341A
analogous
#1A2134 #201A34 #2D1A34
triadic
#201A34 #34201A #1A3420
tetradic
#201A34 #341A21 #2E341A #1A342D
square
#201A34 #341A21 #2E341A #1A342D
split-complementary
#201A34 #342D1A #21341A
monochromatic
#0D0A14 #0D0A14 #201A34 #392E5D #524386

Accessibility & contrast

On white

16.68
#201A34 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#201A34 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201A34
16.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201A34#FFFFFF#000000##FFFFFF
##201A341.0016.681.2616.68
#FFFFFF16.681.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#121E35
Deuteranopia (green-blind)
#131D33
Tritanopia (blue-blind)
#1B1F24
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #201a34;
/* rgb */ color: rgb(32, 26, 52);
/* oklch */ color: oklch(23.9% 0.049 292.9);
Tailwind
colors: {
  custom: {
    50: '#5c566b',
    500: '#201a34',
    950: '#000000',
  },
}
SCSS
$custom: #201a34;
$custom-light: #5c566b;
$custom-dark: #000000;
JSON
{
  "hex": "#201a34",
  "rgb": {
    "r": 32,
    "g": 26,
    "b": 52
  },
  "hsl": {
    "h": 253.846,
    "s": 33.333,
    "l": 15.294
  },
  "oklch": {
    "l": 0.23888,
    "c": 0.04909,
    "h": 292.9
  },
  "luminance": 0.01294
}

Semantic roles & 50–950 ramp

primary
#201A34
secondary
#606941
accent
#C95EB1
background
#F5F5F6
surface
#E9E9EB
border
#C5C5C6
text
#040306
muted
#79787A

Preview Lab

Preview with #201A34

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

Preview Lab → · Contrast checker → · Palette generator →

#201A34 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva