#201440#201440

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

Color values

HEX#201440
RGBrgb(32, 20, 64)
HSLhsl(256, 52%, 16%)
HSVhsv(256, 69%, 25%)
CMYKcmyk(50%, 68.8%, 0%, 74.9%)
CIE-LABlab(10.39, 18.80, -26.04)
CIE-LCHlch(10.39, 32.12, 305.83°)
OKLaboklab(23.55% 0.0295 -0.0743)
OKLCHoklch(23.55% 0.08 291.6)
XYZxyz(1.7710, 1.1775, 4.9835)
Luminance0.0118 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201440 #344014
analogous
#141E40 #201440 #361440
triadic
#201440 #402014 #144020
tetradic
#201440 #40141E #344014 #144036
square
#201440 #40141E #344014 #144036
split-complementary
#201440 #403614 #1E4014
monochromatic
#0C0717 #0C0717 #201440 #37236F #4F319D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##201440#FFFFFF#000000##FFFFFF
##2014401.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)
#001D41
Deuteranopia (green-blind)
#001B3F
Tritanopia (blue-blind)
#171E27
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #201440;
/* rgb */ color: rgb(32, 20, 64);
/* oklch */ color: oklch(23.5% 0.080 291.6);
Tailwind
colors: {
  custom: {
    50: '#5f5275',
    500: '#201440',
    950: '#000000',
  },
}
SCSS
$custom: #201440;
$custom-light: #5f5275;
$custom-dark: #000000;
JSON
{
  "hex": "#201440",
  "rgb": {
    "r": 32,
    "g": 20,
    "b": 64
  },
  "hsl": {
    "h": 256.364,
    "s": 52.381,
    "l": 16.471
  },
  "oklch": {
    "l": 0.23546,
    "c": 0.07994,
    "h": 291.6
  },
  "luminance": 0.01178
}

Semantic roles & 50–950 ramp

primary
#201440
secondary
#677838
accent
#DC4CB5
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#050208
muted
#79787B

Preview Lab

Preview with #201440

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

Preview Lab → · Contrast checker → · Palette generator →

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