#201A2E#201A2E

#201A2E is a very dark, muted violet. Relative luminance 0.012; OKLCH L 23.5% C 0.038 H 297.1°. Best body text is #FFFFFF at 16.82:1 contrast (WCAG AA passes).

Color values

HEX#201A2E
RGBrgb(32, 26, 46)
HSLhsl(258, 28%, 14%)
HSVhsv(258, 43%, 18%)
CMYKcmyk(30.4%, 43.5%, 0%, 82%)
CIE-LABlab(10.87, 8.41, -12.33)
CIE-LCHlch(10.87, 14.93, 304.30°)
OKLaboklab(23.5% 0.0176 -0.0342)
OKLCHoklch(23.5% 0.038 297.1)
XYZxyz(1.4581, 1.2431, 2.7474)
Luminance0.0124 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201A2E #282E1A
analogous
#1A1E2E #201A2E #2A1A2E
triadic
#201A2E #2E201A #1A2E20
tetradic
#201A2E #2E1A1E #282E1A #1A2E2A
square
#201A2E #2E1A1E #282E1A #1A2E2A
split-complementary
#201A2E #2E2A1A #1E2E1A
monochromatic
#0E0B14 #0E0B14 #201A2E #3B3055 #56467C

Accessibility & contrast

On white

16.82
#201A2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#201A2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201A2E
16.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201A2E#FFFFFF#000000##FFFFFF
##201A2E1.0016.821.2516.82
#FFFFFF16.821.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#151D2F
Deuteranopia (green-blind)
#161D2D
Tritanopia (blue-blind)
#1D1D21
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #201a2e;
/* rgb */ color: rgb(32, 26, 46);
/* oklch */ color: oklch(23.5% 0.038 297.1);
Tailwind
colors: {
  custom: {
    50: '#5c5666',
    500: '#201a2e',
    950: '#000000',
  },
}
SCSS
$custom: #201a2e;
$custom-light: #5c5666;
$custom-dark: #000000;
JSON
{
  "hex": "#201a2e",
  "rgb": {
    "r": 32,
    "g": 26,
    "b": 46
  },
  "hsl": {
    "h": 258,
    "s": 27.778,
    "l": 14.118
  },
  "oklch": {
    "l": 0.23496,
    "c": 0.03849,
    "h": 297.1
  },
  "luminance": 0.01243
}

Semantic roles & 50–950 ramp

primary
#201A2E
secondary
#586242
accent
#C464A7
background
#F5F5F6
surface
#E9E9EB
border
#C5C5C6
text
#040306
muted
#79787A

Preview Lab

Preview with #201A2E

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

Preview Lab → · Contrast checker → · Palette generator →

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