#201638#201638

#201638 is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 23.3% C 0.064 H 294.5°. Best body text is #FFFFFF at 17.03:1 contrast (WCAG AA passes).

Color values

HEX#201638
RGBrgb(32, 22, 56)
HSLhsl(258, 44%, 15%)
HSVhsv(258, 61%, 22%)
CMYKcmyk(42.9%, 60.7%, 0%, 78%)
CIE-LABlab(10.31, 14.65, -20.47)
CIE-LCHlch(10.31, 25.17, 305.59°)
OKLaboklab(23.28% 0.0264 -0.0579)
OKLCHoklch(23.28% 0.064 294.5)
XYZxyz(1.5962, 1.1664, 3.8817)
Luminance0.0117 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201638 #2E3816
analogous
#161D38 #201638 #311638
triadic
#201638 #382016 #163820
tetradic
#201638 #38161D #2E3816 #163831
square
#201638 #38161D #2E3816 #163831
split-complementary
#201638 #383116 #1D3816
monochromatic
#0D0916 #0D0916 #201638 #392764 #523990

Accessibility & contrast

On white

17.03
#201638 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #201638
17.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201638#FFFFFF#000000##FFFFFF
##2016381.0017.031.2317.03
#FFFFFF17.031.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#081C39
Deuteranopia (green-blind)
#0B1C37
Tritanopia (blue-blind)
#1A1D24
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #201638;
/* rgb */ color: rgb(32, 22, 56);
/* oklch */ color: oklch(23.3% 0.064 294.5);
Tailwind
colors: {
  custom: {
    50: '#5d536f',
    500: '#201638',
    950: '#000000',
  },
}
SCSS
$custom: #201638;
$custom-light: #5d536f;
$custom-dark: #000000;
JSON
{
  "hex": "#201638",
  "rgb": {
    "r": 32,
    "g": 22,
    "b": 56
  },
  "hsl": {
    "h": 257.647,
    "s": 43.59,
    "l": 15.294
  },
  "oklch": {
    "l": 0.23282,
    "c": 0.06366,
    "h": 294.5
  },
  "luminance": 0.01166
}

Semantic roles & 50–950 ramp

primary
#201638
secondary
#606F3B
accent
#D354AE
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#040207
muted
#79787A

Preview Lab

Preview with #201638

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

Preview Lab → · Contrast checker → · Palette generator →

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