#201A33#201A33

#201A33 is a very dark, muted violet. Relative luminance 0.013; OKLCH L 23.8% C 0.047 H 293.5°. Best body text is #FFFFFF at 16.71:1 contrast (WCAG AA passes).

Color values

HEX#201A33
RGBrgb(32, 26, 51)
HSLhsl(254, 32%, 15%)
HSVhsv(254, 49%, 20%)
CMYKcmyk(37.3%, 49%, 0%, 80%)
CIE-LABlab(11.17, 10.02, -15.49)
CIE-LCHlch(11.17, 18.45, 302.90°)
OKLaboklab(23.82% 0.0189 -0.0434)
OKLCHoklch(23.82% 0.047 293.5)
XYZxyz(1.5624, 1.2849, 3.2970)
Luminance0.0129 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201A33 #2D331A
analogous
#1A2033 #201A33 #2C1A33
triadic
#201A33 #33201A #1A3320
tetradic
#201A33 #331A20 #2D331A #1A332C
square
#201A33 #331A20 #2D331A #1A332C
split-complementary
#201A33 #332C1A #20331A
monochromatic
#0D0A14 #0D0A14 #201A33 #392F5C #534384

Accessibility & contrast

On white

16.71
#201A33 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #201A33
16.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201A33#FFFFFF#000000##FFFFFF
##201A331.0016.711.2616.71
#FFFFFF16.711.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#131E34
Deuteranopia (green-blind)
#131D32
Tritanopia (blue-blind)
#1C1F24
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #201a33;
/* rgb */ color: rgb(32, 26, 51);
/* oklch */ color: oklch(23.8% 0.047 293.5);
Tailwind
colors: {
  custom: {
    50: '#5c566a',
    500: '#201a33',
    950: '#000000',
  },
}
SCSS
$custom: #201a33;
$custom-light: #5c566a;
$custom-dark: #000000;
JSON
{
  "hex": "#201a33",
  "rgb": {
    "r": 32,
    "g": 26,
    "b": 51
  },
  "hsl": {
    "h": 254.4,
    "s": 32.468,
    "l": 15.098
  },
  "oklch": {
    "l": 0.2382,
    "c": 0.04733,
    "h": 293.5
  },
  "luminance": 0.01285
}

Semantic roles & 50–950 ramp

primary
#201A33
secondary
#5E6841
accent
#C95FAF
background
#F5F5F6
surface
#E9E9EB
border
#C5C5C6
text
#040306
muted
#79787A

Preview Lab

Preview with #201A33

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

Preview Lab → · Contrast checker → · Palette generator →

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