#201727#201727

#201727 is a very dark, muted violet. Relative luminance 0.011; OKLCH L 22.3% C 0.033 H 309.6°. Best body text is #FFFFFF at 17.31:1 contrast (WCAG AA passes).

Color values

HEX#201727
RGBrgb(32, 23, 39)
HSLhsl(274, 26%, 12%)
HSVhsv(274, 41%, 15%)
CMYKcmyk(17.9%, 41%, 0%, 84.7%)
CIE-LABlab(9.53, 8.54, -9.25)
CIE-LCHlch(9.53, 12.59, 312.69°)
OKLaboklab(22.35% 0.021 -0.0254)
OKLCHoklch(22.35% 0.033 309.6)
XYZxyz(1.2682, 1.0664, 2.0581)
Luminance0.0107 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201727 #1E2717
analogous
#181727 #201727 #271726
triadic
#201727 #272017 #172720
tetradic
#201727 #271817 #1E2717 #172627
square
#201727 #271817 #1E2717 #172627
split-complementary
#201727 #262717 #172718
monochromatic
#100B13 #100B13 #201727 #402E4D #5F4474

Accessibility & contrast

On white

17.31
#201727 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #201727
17.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201727#FFFFFF#000000##FFFFFF
##2017271.0017.311.2117.31
#FFFFFF17.311.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#141A28
Deuteranopia (green-blind)
#161B27
Tritanopia (blue-blind)
#1F191D
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #201727;
/* rgb */ color: rgb(32, 23, 39);
/* oklch */ color: oklch(22.3% 0.033 309.6);
Tailwind
colors: {
  custom: {
    50: '#5b5461',
    500: '#201727',
    950: '#000000',
  },
}
SCSS
$custom: #201727;
$custom-light: #5b5461;
$custom-dark: #000000;
JSON
{
  "hex": "#201727",
  "rgb": {
    "r": 32,
    "g": 23,
    "b": 39
  },
  "hsl": {
    "h": 273.75,
    "s": 25.806,
    "l": 12.157
  },
  "oklch": {
    "l": 0.22348,
    "c": 0.03299,
    "h": 309.6
  },
  "luminance": 0.01066
}

Semantic roles & 50–950 ramp

primary
#201727
secondary
#4B5B3F
accent
#C2668E
background
#F5F4F5
surface
#E9E7E9
border
#C5C3C5
text
#040205
muted
#797879

Preview Lab

Preview with #201727

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

Preview Lab → · Contrast checker → · Palette generator →

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