#201640#201640

#201640 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 23.9% C 0.077 H 290.4°. Best body text is #FFFFFF at 16.80:1 contrast (WCAG AA passes).

Color values

HEX#201640
RGBrgb(32, 22, 64)
HSLhsl(254, 49%, 17%)
HSVhsv(254, 66%, 25%)
CMYKcmyk(50%, 65.6%, 0%, 74.9%)
CIE-LABlab(10.93, 17.39, -25.17)
CIE-LCHlch(10.93, 30.60, 304.65°)
OKLaboklab(23.94% 0.0267 -0.0717)
OKLCHoklch(23.94% 0.077 290.4)
XYZxyz(1.8077, 1.2510, 4.9957)
Luminance0.0125 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201640 #364016
analogous
#162140 #201640 #351640
triadic
#201640 #402016 #164020
tetradic
#201640 #401621 #364016 #164035
square
#201640 #401621 #364016 #164035
split-complementary
#201640 #403516 #214016
monochromatic
#0B0817 #0B0817 #201640 #37266E #4E359B

Accessibility & contrast

On white

16.80
#201640 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#201640 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201640
16.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201640#FFFFFF#000000##FFFFFF
##2016401.0016.801.2516.80
#FFFFFF16.801.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E41
Deuteranopia (green-blind)
#021C3F
Tritanopia (blue-blind)
#171F28
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #201640;
/* rgb */ color: rgb(32, 22, 64);
/* oklch */ color: oklch(23.9% 0.077 290.4);
Tailwind
colors: {
  custom: {
    50: '#5e5375',
    500: '#201640',
    950: '#000000',
  },
}
SCSS
$custom: #201640;
$custom-light: #5e5375;
$custom-dark: #000000;
JSON
{
  "hex": "#201640",
  "rgb": {
    "r": 32,
    "g": 22,
    "b": 64
  },
  "hsl": {
    "h": 254.286,
    "s": 48.837,
    "l": 16.863
  },
  "oklch": {
    "l": 0.23941,
    "c": 0.07655,
    "h": 290.4
  },
  "luminance": 0.01251
}

Semantic roles & 50–950 ramp

primary
#201640
secondary
#69773B
accent
#D84FB8
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#050208
muted
#79787B

Preview Lab

Preview with #201640

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

Preview Lab → · Contrast checker → · Palette generator →

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