#201C28#201C28

#201C28 is a very dark, muted violet. Relative luminance 0.013; OKLCH L 23.7% C 0.023 H 299.9°. Best body text is #FFFFFF at 16.69:1 contrast (WCAG AA passes).

Color values

HEX#201C28
RGBrgb(32, 28, 40)
HSLhsl(260, 18%, 13%)
HSVhsv(260, 30%, 16%)
CMYKcmyk(20%, 30%, 0%, 84.3%)
CIE-LABlab(11.21, 5.10, -7.42)
CIE-LCHlch(11.21, 9.00, 304.49°)
OKLaboklab(23.65% 0.0116 -0.0203)
OKLCHoklch(23.65% 0.023 299.9)
XYZxyz(1.3938, 1.2908, 2.1828)
Luminance0.0129 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201C28 #24281C
analogous
#1C1E28 #201C28 #261C28
triadic
#201C28 #28201C #1C2820
tetradic
#201C28 #281C1E #24281C #1C2826
square
#201C28 #281C1E #24281C #1C2826
split-complementary
#201C28 #28261C #1E281C
monochromatic
#0E0D12 #0E0D12 #201C28 #3D354C #5A4E70

Accessibility & contrast

On white

16.69
#201C28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #201C28
16.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201C28#FFFFFF#000000##FFFFFF
##201C281.0016.691.2616.69
#FFFFFF16.691.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A1E29
Deuteranopia (green-blind)
#1A1E28
Tritanopia (blue-blind)
#1F1E20
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #201c28;
/* rgb */ color: rgb(32, 28, 40);
/* oklch */ color: oklch(23.7% 0.023 299.9);
Tailwind
colors: {
  custom: {
    50: '#5b5861',
    500: '#201c28',
    950: '#000000',
  },
}
SCSS
$custom: #201c28;
$custom-light: #5b5861;
$custom-dark: #000000;
JSON
{
  "hex": "#201c28",
  "rgb": {
    "r": 32,
    "g": 28,
    "b": 40
  },
  "hsl": {
    "h": 260,
    "s": 17.647,
    "l": 13.333
  },
  "oklch": {
    "l": 0.23653,
    "c": 0.02337,
    "h": 299.9
  },
  "luminance": 0.01291
}

Semantic roles & 50–950 ramp

primary
#201C28
secondary
#535A46
accent
#BA6DA1
background
#F5F5F5
surface
#E9E9E9
border
#C5C5C5
text
#040305
muted
#797879

Preview Lab

Preview with #201C28

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

Preview Lab → · Contrast checker → · Palette generator →

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