#201847#201847

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

Color values

HEX#201847
RGBrgb(32, 24, 71)
HSLhsl(250, 49%, 19%)
HSVhsv(250, 66%, 28%)
CMYKcmyk(54.9%, 66.2%, 0%, 72.2%)
CIE-LABlab(12.06, 18.45, -28.25)
CIE-LCHlch(12.06, 33.74, 303.14°)
OKLaboklab(24.96% 0.0238 -0.0808)
OKLCHoklch(24.96% 0.084 286.4)
XYZxyz(2.0593, 1.4152, 6.1247)
Luminance0.0141 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201847 #3F4718
analogous
#182747 #201847 #371847
triadic
#201847 #472018 #184720
tetradic
#201847 #471827 #3F4718 #184737
square
#201847 #471827 #3F4718 #184737
split-complementary
#201847 #473718 #274718
monochromatic
#0A0817 #0B0919 #201847 #352775 #4937A2

Accessibility & contrast

On white

16.37
#201847 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#201847 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201847
16.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201847#FFFFFF#000000##FFFFFF
##2018471.0016.371.2816.37
#FFFFFF16.371.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002149
Deuteranopia (green-blind)
#001E46
Tritanopia (blue-blind)
#12232C
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #201847;
/* rgb */ color: rgb(32, 24, 71);
/* oklch */ color: oklch(25.0% 0.084 286.4);
Tailwind
colors: {
  custom: {
    50: '#5f557b',
    500: '#201847',
    950: '#000000',
  },
}
SCSS
$custom: #201847;
$custom-light: #5f557b;
$custom-dark: #000000;
JSON
{
  "hex": "#201847",
  "rgb": {
    "r": 32,
    "g": 24,
    "b": 71
  },
  "hsl": {
    "h": 250.213,
    "s": 49.474,
    "l": 18.627
  },
  "oklch": {
    "l": 0.24957,
    "c": 0.08424,
    "h": 286.4
  },
  "luminance": 0.01415
}

Semantic roles & 50–950 ramp

primary
#201847
secondary
#737E3D
accent
#D94FC1
background
#F5F4F7
surface
#E9E8EE
border
#C5C4C9
text
#050309
muted
#79787B

Preview Lab

Preview with #201847

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

Preview Lab → · Contrast checker → · Palette generator →

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