#201747#201747

#201747 is a very dark, moderate violet. Relative luminance 0.014; OKLCH L 24.8% C 0.086 H 287.0°. Best body text is #FFFFFF at 16.47:1 contrast (WCAG AA passes).

Color values

HEX#201747
RGBrgb(32, 23, 71)
HSLhsl(251, 51%, 18%)
HSVhsv(251, 68%, 28%)
CMYKcmyk(54.9%, 67.6%, 0%, 72.2%)
CIE-LABlab(11.79, 19.16, -28.69)
CIE-LCHlch(11.79, 34.50, 303.73°)
OKLaboklab(24.76% 0.0251 -0.0821)
OKLCHoklch(24.76% 0.086 287)
XYZxyz(2.0391, 1.3747, 6.1179)
Luminance0.0138 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201747 #3E4717
analogous
#172647 #201747 #381747
triadic
#201747 #472017 #174720
tetradic
#201747 #471726 #3E4717 #174738
square
#201747 #471726 #3E4717 #174738
split-complementary
#201747 #473817 #264717
monochromatic
#0A0717 #0B0819 #201747 #352675 #4A35A3

Accessibility & contrast

On white

16.47
#201747 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#201747 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201747
16.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201747#FFFFFF#000000##FFFFFF
##2017471.0016.471.2716.47
#FFFFFF16.471.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002049
Deuteranopia (green-blind)
#001E46
Tritanopia (blue-blind)
#12222C
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #201747;
/* rgb */ color: rgb(32, 23, 71);
/* oklch */ color: oklch(24.8% 0.086 287.0);
Tailwind
colors: {
  custom: {
    50: '#5f547b',
    500: '#201747',
    950: '#000000',
  },
}
SCSS
$custom: #201747;
$custom-light: #5f547b;
$custom-dark: #000000;
JSON
{
  "hex": "#201747",
  "rgb": {
    "r": 32,
    "g": 23,
    "b": 71
  },
  "hsl": {
    "h": 251.25,
    "s": 51.064,
    "l": 18.431
  },
  "oklch": {
    "l": 0.24759,
    "c": 0.08584,
    "h": 287
  },
  "luminance": 0.01375
}

Semantic roles & 50–950 ramp

primary
#201747
secondary
#727E3C
accent
#DB4DC0
background
#F5F4F7
surface
#EAE7EE
border
#C6C3C9
text
#050209
muted
#79787B

Preview Lab

Preview with #201747

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

Preview Lab → · Contrast checker → · Palette generator →

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