#20163F#20163F

#20163F is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 23.9% C 0.075 H 290.9°. Best body text is #FFFFFF at 16.83:1 contrast (WCAG AA passes).

Color values

HEX#20163F
RGBrgb(32, 22, 63)
HSLhsl(255, 48%, 17%)
HSVhsv(255, 65%, 25%)
CMYKcmyk(49.2%, 65.1%, 0%, 75.3%)
CIE-LABlab(10.85, 17.05, -24.59)
CIE-LCHlch(10.85, 29.92, 304.73°)
OKLaboklab(23.86% 0.0267 -0.07)
OKLCHoklch(23.86% 0.075 290.9)
XYZxyz(1.7795, 1.2397, 4.8472)
Luminance0.0124 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20163F #353F16
analogous
#16213F #20163F #35163F
triadic
#20163F #3F2016 #163F20
tetradic
#20163F #3F1621 #353F16 #163F35
square
#20163F #3F1621 #353F16 #163F35
split-complementary
#20163F #3F3516 #213F16
monochromatic
#0C0817 #0C0817 #20163F #37266C #4E369A

Accessibility & contrast

On white

16.83
#20163F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#20163F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20163F
16.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20163F#FFFFFF#000000##FFFFFF
##20163F1.0016.831.2516.83
#FFFFFF16.831.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021E40
Deuteranopia (green-blind)
#031C3E
Tritanopia (blue-blind)
#171F27
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #20163f;
/* rgb */ color: rgb(32, 22, 63);
/* oklch */ color: oklch(23.9% 0.075 290.9);
Tailwind
colors: {
  custom: {
    50: '#5e5374',
    500: '#20163f',
    950: '#000000',
  },
}
SCSS
$custom: #20163f;
$custom-light: #5e5374;
$custom-dark: #000000;
JSON
{
  "hex": "#20163f",
  "rgb": {
    "r": 32,
    "g": 22,
    "b": 63
  },
  "hsl": {
    "h": 254.634,
    "s": 48.235,
    "l": 16.667
  },
  "oklch": {
    "l": 0.23855,
    "c": 0.07496,
    "h": 290.9
  },
  "luminance": 0.0124
}

Semantic roles & 50–950 ramp

primary
#20163F
secondary
#68763B
accent
#D850B7
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040208
muted
#79787B

Preview Lab

Preview with #20163F

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

Preview Lab → · Contrast checker → · Palette generator →

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