#201748#201748

#201748 is a very dark, moderate violet. Relative luminance 0.014; OKLCH L 24.9% C 0.087 H 286.6°. Best body text is #FFFFFF at 16.44:1 contrast (WCAG AA passes).

Color values

HEX#201748
RGBrgb(32, 23, 72)
HSLhsl(251, 52%, 19%)
HSVhsv(251, 68%, 28%)
CMYKcmyk(55.6%, 68.1%, 0%, 71.8%)
CIE-LABlab(11.88, 19.51, -29.25)
CIE-LCHlch(11.88, 35.16, 303.71°)
OKLaboklab(24.85% 0.025 -0.0837)
OKLCHoklch(24.85% 0.087 286.6)
XYZxyz(2.0714, 1.3877, 6.2883)
Luminance0.0139 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201748 #3F4817
analogous
#172648 #201748 #381748
triadic
#201748 #482017 #174820
tetradic
#201748 #481726 #3F4817 #174838
square
#201748 #481726 #3F4817 #174838
split-complementary
#201748 #483817 #264817
monochromatic
#0A0717 #0B081A #201748 #352676 #4935A5

Accessibility & contrast

On white

16.44
#201748 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #201748
16.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201748#FFFFFF#000000##FFFFFF
##2017481.0016.441.2816.44
#FFFFFF16.441.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00204A
Deuteranopia (green-blind)
#001E47
Tritanopia (blue-blind)
#12232C
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #201748;
/* rgb */ color: rgb(32, 23, 72);
/* oklch */ color: oklch(24.9% 0.087 286.6);
Tailwind
colors: {
  custom: {
    50: '#60547b',
    500: '#201748',
    950: '#000000',
  },
}
SCSS
$custom: #201748;
$custom-light: #60547b;
$custom-dark: #000000;
JSON
{
  "hex": "#201748",
  "rgb": {
    "r": 32,
    "g": 23,
    "b": 72
  },
  "hsl": {
    "h": 251.02,
    "s": 51.579,
    "l": 18.627
  },
  "oklch": {
    "l": 0.2485,
    "c": 0.08739,
    "h": 286.6
  },
  "luminance": 0.01388
}

Semantic roles & 50–950 ramp

primary
#201748
secondary
#737F3C
accent
#DB4DC1
background
#F5F4F7
surface
#EAE7EE
border
#C6C3C9
text
#050209
muted
#79787B

Preview Lab

Preview with #201748

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

Preview Lab → · Contrast checker → · Palette generator →

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