#20163A#20163A

#20163A is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 23.4% C 0.067 H 293.4°. Best body text is #FFFFFF at 16.97:1 contrast (WCAG AA passes).

Color values

HEX#20163A
RGBrgb(32, 22, 58)
HSLhsl(257, 45%, 16%)
HSVhsv(257, 62%, 23%)
CMYKcmyk(44.8%, 62.1%, 0%, 77.3%)
CIE-LABlab(10.46, 15.33, -21.66)
CIE-LCHlch(10.46, 26.54, 305.28°)
OKLaboklab(23.44% 0.0265 -0.0614)
OKLCHoklch(23.44% 0.067 293.4)
XYZxyz(1.6461, 1.1863, 4.1444)
Luminance0.0119 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20163A #303A16
analogous
#161E3A #20163A #32163A
triadic
#20163A #3A2016 #163A20
tetradic
#20163A #3A161E #303A16 #163A32
square
#20163A #3A161E #303A16 #163A32
split-complementary
#20163A #3A3216 #1E3A16
monochromatic
#0C0816 #0C0816 #20163A #382766 #513893

Accessibility & contrast

On white

16.97
#20163A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #20163A
16.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20163A#FFFFFF#000000##FFFFFF
##20163A1.0016.971.2416.97
#FFFFFF16.971.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#071D3B
Deuteranopia (green-blind)
#081C39
Tritanopia (blue-blind)
#191D25
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #20163a;
/* rgb */ color: rgb(32, 22, 58);
/* oklch */ color: oklch(23.4% 0.067 293.4);
Tailwind
colors: {
  custom: {
    50: '#5d5370',
    500: '#20163a',
    950: '#000000',
  },
}
SCSS
$custom: #20163a;
$custom-light: #5d5370;
$custom-dark: #000000;
JSON
{
  "hex": "#20163a",
  "rgb": {
    "r": 32,
    "g": 22,
    "b": 58
  },
  "hsl": {
    "h": 256.667,
    "s": 45,
    "l": 15.686
  },
  "oklch": {
    "l": 0.23441,
    "c": 0.06693,
    "h": 293.4
  },
  "luminance": 0.01186
}

Semantic roles & 50–950 ramp

primary
#20163A
secondary
#62713B
accent
#D553B1
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#040207
muted
#79787A

Preview Lab

Preview with #20163A

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

Preview Lab → · Contrast checker → · Palette generator →

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