#201738#201738

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

Color values

HEX#201738
RGBrgb(32, 23, 56)
HSLhsl(256, 42%, 15%)
HSVhsv(256, 59%, 22%)
CMYKcmyk(42.9%, 58.9%, 0%, 78%)
CIE-LABlab(10.60, 13.92, -20.00)
CIE-LCHlch(10.60, 24.37, 304.83°)
OKLaboklab(23.5% 0.0248 -0.0566)
OKLCHoklch(23.5% 0.062 293.7)
XYZxyz(1.6157, 1.2054, 3.8881)
Luminance0.0120 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201738 #2F3817
analogous
#171E38 #201738 #301738
triadic
#201738 #382017 #173820
tetradic
#201738 #38171E #2F3817 #173830
square
#201738 #38171E #2F3817 #173830
split-complementary
#201738 #383017 #1E3817
monochromatic
#0C0916 #0C0916 #201738 #392963 #523B8F

Accessibility & contrast

On white

16.92
#201738 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#201738 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201738
16.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201738#FFFFFF#000000##FFFFFF
##2017381.0016.921.2416.92
#FFFFFF16.921.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A1D39
Deuteranopia (green-blind)
#0C1C37
Tritanopia (blue-blind)
#1A1E24
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #201738;
/* rgb */ color: rgb(32, 23, 56);
/* oklch */ color: oklch(23.5% 0.062 293.7);
Tailwind
colors: {
  custom: {
    50: '#5d546f',
    500: '#201738',
    950: '#000000',
  },
}
SCSS
$custom: #201738;
$custom-light: #5d546f;
$custom-dark: #000000;
JSON
{
  "hex": "#201738",
  "rgb": {
    "r": 32,
    "g": 23,
    "b": 56
  },
  "hsl": {
    "h": 256.364,
    "s": 41.772,
    "l": 15.49
  },
  "oklch": {
    "l": 0.23498,
    "c": 0.06176,
    "h": 293.7
  },
  "luminance": 0.01205
}

Semantic roles & 50–950 ramp

primary
#201738
secondary
#616E3C
accent
#D256B0
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#040207
muted
#79787A

Preview Lab

Preview with #201738

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

Preview Lab → · Contrast checker → · Palette generator →

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