#201746#201746

#201746 is a very dark, moderate violet. Relative luminance 0.014; OKLCH L 24.7% C 0.084 H 287.3°. Best body text is #FFFFFF at 16.50:1 contrast (WCAG AA passes).

Color values

HEX#201746
RGBrgb(32, 23, 70)
HSLhsl(251, 51%, 18%)
HSVhsv(251, 67%, 27%)
CMYKcmyk(54.3%, 67.1%, 0%, 72.5%)
CIE-LABlab(11.70, 18.80, -28.13)
CIE-LCHlch(11.70, 33.84, 303.75°)
OKLaboklab(24.67% 0.0251 -0.0805)
OKLCHoklch(24.67% 0.084 287.3)
XYZxyz(2.0072, 1.3620, 5.9503)
Luminance0.0136 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201746 #3D4617
analogous
#172546 #201746 #371746
triadic
#201746 #462017 #174620
tetradic
#201746 #461725 #3D4617 #174637
square
#201746 #461725 #3D4617 #174637
split-complementary
#201746 #463717 #254617
monochromatic
#0B0817 #0B0818 #201746 #352674 #4A35A2

Accessibility & contrast

On white

16.50
#201746 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #201746
16.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201746#FFFFFF#000000##FFFFFF
##2017461.0016.501.2716.50
#FFFFFF16.501.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002048
Deuteranopia (green-blind)
#001E45
Tritanopia (blue-blind)
#13222B
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #201746;
/* rgb */ color: rgb(32, 23, 70);
/* oklch */ color: oklch(24.7% 0.084 287.3);
Tailwind
colors: {
  custom: {
    50: '#5f547a',
    500: '#201746',
    950: '#000000',
  },
}
SCSS
$custom: #201746;
$custom-light: #5f547a;
$custom-dark: #000000;
JSON
{
  "hex": "#201746",
  "rgb": {
    "r": 32,
    "g": 23,
    "b": 70
  },
  "hsl": {
    "h": 251.489,
    "s": 50.538,
    "l": 18.235
  },
  "oklch": {
    "l": 0.24669,
    "c": 0.08429,
    "h": 287.3
  },
  "luminance": 0.01362
}

Semantic roles & 50–950 ramp

primary
#201746
secondary
#717D3C
accent
#DA4EBF
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#050209
muted
#79787B

Preview Lab

Preview with #201746

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

Preview Lab → · Contrast checker → · Palette generator →

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