#201148#201148

#201148 is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 23.8% C 0.096 H 289.5°. Best body text is #FFFFFF at 17.00:1 contrast (WCAG AA passes).

Color values

HEX#201148
RGBrgb(32, 17, 72)
HSLhsl(256, 62%, 17%)
HSVhsv(256, 76%, 28%)
CMYKcmyk(55.6%, 76.4%, 0%, 71.8%)
CIE-LABlab(10.38, 23.54, -31.68)
CIE-LCHlch(10.38, 39.47, 306.62°)
OKLaboklab(23.77% 0.0322 -0.0909)
OKLCHoklch(23.77% 0.096 289.5)
XYZxyz(1.9655, 1.1758, 6.2530)
Luminance0.0118 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201148 #394811
analogous
#111D48 #201148 #3C1148
triadic
#201148 #482011 #114820
tetradic
#201148 #48111D #394811 #11483C
square
#201148 #48111D #394811 #11483C
split-complementary
#201148 #483C11 #1D4811
monochromatic
#0B0619 #0B0619 #201148 #361D7A #4C28AB

Accessibility & contrast

On white

17.00
#201148 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#201148 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201148
17.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201148#FFFFFF#000000##FFFFFF
##2011481.0017.001.2417.00
#FFFFFF17.001.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF17.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D4A
Deuteranopia (green-blind)
#001B47
Tritanopia (blue-blind)
#121F2A
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #201148;
/* rgb */ color: rgb(32, 17, 72);
/* oklch */ color: oklch(23.8% 0.096 289.5);
Tailwind
colors: {
  custom: {
    50: '#60507c',
    500: '#201148',
    950: '#000000',
  },
}
SCSS
$custom: #201148;
$custom-light: #60507c;
$custom-dark: #000000;
JSON
{
  "hex": "#201148",
  "rgb": {
    "r": 32,
    "g": 17,
    "b": 72
  },
  "hsl": {
    "h": 256.364,
    "s": 61.798,
    "l": 17.451
  },
  "oklch": {
    "l": 0.23766,
    "c": 0.09643,
    "h": 289.5
  },
  "luminance": 0.01176
}

Semantic roles & 50–950 ramp

primary
#201148
secondary
#6C8233
accent
#E543B9
background
#F5F4F7
surface
#EAE7EE
border
#C6C3C9
text
#050209
muted
#79787B

Preview Lab

Preview with #201148

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

Preview Lab → · Contrast checker → · Palette generator →

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