#20183D#20183D

#20183D is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.1% C 0.068 H 290.3°. Best body text is #FFFFFF at 16.67:1 contrast (WCAG AA passes).

Color values

HEX#20183D
RGBrgb(32, 24, 61)
HSLhsl(253, 44%, 17%)
HSVhsv(253, 61%, 24%)
CMYKcmyk(47.5%, 60.7%, 0%, 76.1%)
CIE-LABlab(11.26, 14.91, -22.52)
CIE-LCHlch(11.26, 27.01, 303.51°)
OKLaboklab(24.11% 0.0237 -0.064)
OKLCHoklch(24.11% 0.068 290.3)
XYZxyz(1.7644, 1.2972, 4.5714)
Luminance0.0130 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20183D #353D18
analogous
#18233D #20183D #33183D
triadic
#20183D #3D2018 #183D20
tetradic
#20183D #3D1823 #353D18 #183D33
square
#20183D #3D1823 #353D18 #183D33
split-complementary
#20183D #3D3318 #233D18
monochromatic
#0C0916 #0C0916 #20183D #372969 #4E3B95

Accessibility & contrast

On white

16.67
#20183D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#20183D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20183D
16.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20183D#FFFFFF#000000##FFFFFF
##20183D1.0016.671.2616.67
#FFFFFF16.671.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#071F3E
Deuteranopia (green-blind)
#081D3C
Tritanopia (blue-blind)
#182027
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #20183d;
/* rgb */ color: rgb(32, 24, 61);
/* oklch */ color: oklch(24.1% 0.068 290.3);
Tailwind
colors: {
  custom: {
    50: '#5e5573',
    500: '#20183d',
    950: '#000000',
  },
}
SCSS
$custom: #20183d;
$custom-light: #5e5573;
$custom-dark: #000000;
JSON
{
  "hex": "#20183d",
  "rgb": {
    "r": 32,
    "g": 24,
    "b": 61
  },
  "hsl": {
    "h": 252.973,
    "s": 43.529,
    "l": 16.667
  },
  "oklch": {
    "l": 0.24108,
    "c": 0.06818,
    "h": 290.3
  },
  "luminance": 0.01297
}

Semantic roles & 50–950 ramp

primary
#20183D
secondary
#68733D
accent
#D355B8
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#040308
muted
#79787B

Preview Lab

Preview with #20183D

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

Preview Lab → · Contrast checker → · Palette generator →

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