#201648#201648

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

Color values

HEX#201648
RGBrgb(32, 22, 72)
HSLhsl(252, 53%, 18%)
HSVhsv(252, 69%, 28%)
CMYKcmyk(55.6%, 69.4%, 0%, 71.8%)
CIE-LABlab(11.61, 20.21, -29.67)
CIE-LCHlch(11.61, 35.90, 304.25°)
OKLaboklab(24.66% 0.0263 -0.085)
OKLCHoklch(24.66% 0.089 287.2)
XYZxyz(2.0519, 1.3487, 6.2818)
Luminance0.0135 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201648 #3E4816
analogous
#162548 #201648 #391648
triadic
#201648 #482016 #164820
tetradic
#201648 #481625 #3E4816 #164839
square
#201648 #481625 #3E4816 #164839
split-complementary
#201648 #483916 #254816
monochromatic
#0A0717 #0B0819 #201648 #352477 #4A33A6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##201648#FFFFFF#000000##FFFFFF
##2016481.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)
#00204A
Deuteranopia (green-blind)
#001D47
Tritanopia (blue-blind)
#12222C
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #201648;
/* rgb */ color: rgb(32, 22, 72);
/* oklch */ color: oklch(24.7% 0.089 287.2);
Tailwind
colors: {
  custom: {
    50: '#60537b',
    500: '#201648',
    950: '#000000',
  },
}
SCSS
$custom: #201648;
$custom-light: #60537b;
$custom-dark: #000000;
JSON
{
  "hex": "#201648",
  "rgb": {
    "r": 32,
    "g": 22,
    "b": 72
  },
  "hsl": {
    "h": 252,
    "s": 53.191,
    "l": 18.431
  },
  "oklch": {
    "l": 0.24658,
    "c": 0.08895,
    "h": 287.2
  },
  "luminance": 0.01349
}

Semantic roles & 50–950 ramp

primary
#201648
secondary
#727F3A
accent
#DD4BC0
background
#F5F4F7
surface
#EAE7EE
border
#C6C3C9
text
#050209
muted
#79787B

Preview Lab

Preview with #201648

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

Preview Lab → · Contrast checker → · Palette generator →

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