#201745#201745

#201745 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.6% C 0.083 H 287.7°. Best body text is #FFFFFF at 16.54:1 contrast (WCAG AA passes).

Color values

HEX#201745
RGBrgb(32, 23, 69)
HSLhsl(252, 50%, 18%)
HSVhsv(252, 67%, 27%)
CMYKcmyk(53.6%, 66.7%, 0%, 72.9%)
CIE-LABlab(11.62, 18.44, -27.57)
CIE-LCHlch(11.62, 33.17, 303.78°)
OKLaboklab(24.58% 0.0252 -0.0788)
OKLCHoklch(24.58% 0.083 287.7)
XYZxyz(1.9759, 1.3495, 5.7854)
Luminance0.0135 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201745 #3C4517
analogous
#172545 #201745 #371745
triadic
#201745 #452017 #174520
tetradic
#201745 #451725 #3C4517 #174537
square
#201745 #451725 #3C4517 #174537
split-complementary
#201745 #453717 #254517
monochromatic
#0B0817 #0B0817 #201745 #352673 #4B36A1

Accessibility & contrast

On white

16.54
#201745 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #201745
16.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201745#FFFFFF#000000##FFFFFF
##2017451.0016.541.2716.54
#FFFFFF16.541.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002047
Deuteranopia (green-blind)
#001D44
Tritanopia (blue-blind)
#14222B
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #201745;
/* rgb */ color: rgb(32, 23, 69);
/* oklch */ color: oklch(24.6% 0.083 287.7);
Tailwind
colors: {
  custom: {
    50: '#5f5479',
    500: '#201745',
    950: '#000000',
  },
}
SCSS
$custom: #201745;
$custom-light: #5f5479;
$custom-dark: #000000;
JSON
{
  "hex": "#201745",
  "rgb": {
    "r": 32,
    "g": 23,
    "b": 69
  },
  "hsl": {
    "h": 251.739,
    "s": 50,
    "l": 18.039
  },
  "oklch": {
    "l": 0.24579,
    "c": 0.08273,
    "h": 287.7
  },
  "luminance": 0.0135
}

Semantic roles & 50–950 ramp

primary
#201745
secondary
#6F7C3C
accent
#DA4EBE
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#050209
muted
#79787B

Preview Lab

Preview with #201745

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

Preview Lab → · Contrast checker → · Palette generator →

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