#201A3D#201A3D

#201A3D is a very dark, moderate violet. Relative luminance 0.014; OKLCH L 24.5% C 0.065 H 288.6°. Best body text is #FFFFFF at 16.45:1 contrast (WCAG AA passes).

Color values

HEX#201A3D
RGBrgb(32, 26, 61)
HSLhsl(250, 40%, 17%)
HSVhsv(250, 57%, 24%)
CMYKcmyk(47.5%, 57.4%, 0%, 76.1%)
CIE-LABlab(11.84, 13.44, -21.58)
CIE-LCHlch(11.84, 25.42, 301.92°)
OKLaboklab(24.55% 0.0206 -0.0612)
OKLCHoklch(24.55% 0.065 288.6)
XYZxyz(1.8071, 1.3827, 4.5857)
Luminance0.0138 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201A3D #373D1A
analogous
#1A263D #201A3D #321A3D
triadic
#201A3D #3D201A #1A3D20
tetradic
#201A3D #3D1A26 #373D1A #1A3D32
square
#201A3D #3D1A26 #373D1A #1A3D32
split-complementary
#201A3D #3D321A #263D1A
monochromatic
#0B0915 #0B0915 #201A3D #372C68 #4D3F93

Accessibility & contrast

On white

16.45
#201A3D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#201A3D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201A3D
16.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201A3D#FFFFFF#000000##FFFFFF
##201A3D1.0016.451.2816.45
#FFFFFF16.451.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C203E
Deuteranopia (green-blind)
#0C1E3C
Tritanopia (blue-blind)
#182128
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #201a3d;
/* rgb */ color: rgb(32, 26, 61);
/* oklch */ color: oklch(24.5% 0.065 288.6);
Tailwind
colors: {
  custom: {
    50: '#5d5673',
    500: '#201a3d',
    950: '#000000',
  },
}
SCSS
$custom: #201a3d;
$custom-light: #5d5673;
$custom-dark: #000000;
JSON
{
  "hex": "#201a3d",
  "rgb": {
    "r": 32,
    "g": 26,
    "b": 61
  },
  "hsl": {
    "h": 250.286,
    "s": 40.23,
    "l": 17.059
  },
  "oklch": {
    "l": 0.24546,
    "c": 0.06456,
    "h": 288.6
  },
  "luminance": 0.01383
}

Semantic roles & 50–950 ramp

primary
#201A3D
secondary
#6A7340
accent
#D058BB
background
#F5F5F6
surface
#E9E9EC
border
#C5C5C7
text
#040308
muted
#79787B

Preview Lab

Preview with #201A3D

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

Preview Lab → · Contrast checker → · Palette generator →

#201A3D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva