#20163D#20163D

#20163D is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 23.7% C 0.072 H 291.8°. Best body text is #FFFFFF at 16.89:1 contrast (WCAG AA passes).

Color values

HEX#20163D
RGBrgb(32, 22, 61)
HSLhsl(255, 47%, 16%)
HSVhsv(255, 64%, 24%)
CMYKcmyk(47.5%, 63.9%, 0%, 76.1%)
CIE-LABlab(10.69, 16.35, -23.43)
CIE-LCHlch(10.69, 28.57, 304.91°)
OKLaboklab(23.69% 0.0267 -0.0666)
OKLCHoklch(23.69% 0.072 291.8)
XYZxyz(1.7246, 1.2178, 4.5582)
Luminance0.0122 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20163D #333D16
analogous
#16203D #20163D #34163D
triadic
#20163D #3D2016 #163D20
tetradic
#20163D #3D1620 #333D16 #163D34
square
#20163D #3D1620 #333D16 #163D34
split-complementary
#20163D #3D3416 #203D16
monochromatic
#0C0816 #0C0816 #20163D #38266A #4F3697

Accessibility & contrast

On white

16.89
#20163D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#20163D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20163D
16.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20163D#FFFFFF#000000##FFFFFF
##20163D1.0016.891.2416.89
#FFFFFF16.891.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#041D3E
Deuteranopia (green-blind)
#051C3C
Tritanopia (blue-blind)
#181E26
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #20163d;
/* rgb */ color: rgb(32, 22, 61);
/* oklch */ color: oklch(23.7% 0.072 291.8);
Tailwind
colors: {
  custom: {
    50: '#5e5373',
    500: '#20163d',
    950: '#000000',
  },
}
SCSS
$custom: #20163d;
$custom-light: #5e5373;
$custom-dark: #000000;
JSON
{
  "hex": "#20163d",
  "rgb": {
    "r": 32,
    "g": 22,
    "b": 61
  },
  "hsl": {
    "h": 255.385,
    "s": 46.988,
    "l": 16.275
  },
  "oklch": {
    "l": 0.23687,
    "c": 0.07177,
    "h": 291.8
  },
  "luminance": 0.01218
}

Semantic roles & 50–950 ramp

primary
#20163D
secondary
#65743B
accent
#D751B4
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040208
muted
#79787B

Preview Lab

Preview with #20163D

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

Preview Lab → · Contrast checker → · Palette generator →

#20163D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva