#201147#201147

#201147 is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 23.7% C 0.095 H 289.9°. Best body text is #FFFFFF at 17.04:1 contrast (WCAG AA passes).

Color values

HEX#201147
RGBrgb(32, 17, 71)
HSLhsl(257, 61%, 17%)
HSVhsv(257, 76%, 28%)
CMYKcmyk(54.9%, 76.1%, 0%, 72.2%)
CIE-LABlab(10.28, 23.21, -31.14)
CIE-LCHlch(10.28, 38.84, 306.69°)
OKLaboklab(23.67% 0.0324 -0.0893)
OKLCHoklch(23.67% 0.095 289.9)
XYZxyz(1.9331, 1.1628, 6.0826)
Luminance0.0116 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201147 #384711
analogous
#111D47 #201147 #3B1147
triadic
#201147 #472011 #114720
tetradic
#201147 #47111D #384711 #11473B
square
#201147 #47111D #384711 #11473B
split-complementary
#201147 #473B11 #1D4711
monochromatic
#0B0619 #0B0619 #201147 #361D78 #4D29AA

Accessibility & contrast

On white

17.04
#201147 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#201147 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201147
17.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201147#FFFFFF#000000##FFFFFF
##2011471.0017.041.2317.04
#FFFFFF17.041.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D49
Deuteranopia (green-blind)
#001B46
Tritanopia (blue-blind)
#131F2A
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #201147;
/* rgb */ color: rgb(32, 17, 71);
/* oklch */ color: oklch(23.7% 0.095 289.9);
Tailwind
colors: {
  custom: {
    50: '#60507b',
    500: '#201147',
    950: '#000000',
  },
}
SCSS
$custom: #201147;
$custom-light: #60507b;
$custom-dark: #000000;
JSON
{
  "hex": "#201147",
  "rgb": {
    "r": 32,
    "g": 17,
    "b": 71
  },
  "hsl": {
    "h": 256.667,
    "s": 61.364,
    "l": 17.255
  },
  "oklch": {
    "l": 0.23666,
    "c": 0.095,
    "h": 289.9
  },
  "luminance": 0.01163
}

Semantic roles & 50–950 ramp

primary
#201147
secondary
#6B8133
accent
#E443B8
background
#F5F4F7
surface
#EAE7EE
border
#C6C3C9
text
#050209
muted
#79787B

Preview Lab

Preview with #201147

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

Preview Lab → · Contrast checker → · Palette generator →

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