#20183F#20183F

#20183F is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.3% C 0.071 H 289.4°. Best body text is #FFFFFF at 16.62:1 contrast (WCAG AA passes).

Color values

HEX#20183F
RGBrgb(32, 24, 63)
HSLhsl(252, 45%, 17%)
HSVhsv(252, 62%, 25%)
CMYKcmyk(49.2%, 61.9%, 0%, 75.3%)
CIE-LABlab(11.41, 15.61, -23.69)
CIE-LCHlch(11.41, 28.37, 303.38°)
OKLaboklab(24.27% 0.0238 -0.0674)
OKLCHoklch(24.27% 0.071 289.4)
XYZxyz(1.8193, 1.3192, 4.8604)
Luminance0.0132 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20183F #373F18
analogous
#18243F #20183F #34183F
triadic
#20183F #3F2018 #183F20
tetradic
#20183F #3F1824 #373F18 #183F34
square
#20183F #3F1824 #373F18 #183F34
split-complementary
#20183F #3F3418 #243F18
monochromatic
#0B0816 #0B0816 #20183F #37296B #4D3A98

Accessibility & contrast

On white

16.62
#20183F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #20183F
16.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20183F#FFFFFF#000000##FFFFFF
##20183F1.0016.621.2616.62
#FFFFFF16.621.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#051F40
Deuteranopia (green-blind)
#061D3E
Tritanopia (blue-blind)
#172028
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #20183f;
/* rgb */ color: rgb(32, 24, 63);
/* oklch */ color: oklch(24.3% 0.071 289.4);
Tailwind
colors: {
  custom: {
    50: '#5e5574',
    500: '#20183f',
    950: '#000000',
  },
}
SCSS
$custom: #20183f;
$custom-light: #5e5574;
$custom-dark: #000000;
JSON
{
  "hex": "#20183f",
  "rgb": {
    "r": 32,
    "g": 24,
    "b": 63
  },
  "hsl": {
    "h": 252.308,
    "s": 44.828,
    "l": 17.059
  },
  "oklch": {
    "l": 0.24271,
    "c": 0.07146,
    "h": 289.4
  },
  "luminance": 0.01319
}

Semantic roles & 50–950 ramp

primary
#20183F
secondary
#6A753D
accent
#D553BA
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040308
muted
#79787B

Preview Lab

Preview with #20183F

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

Preview Lab → · Contrast checker → · Palette generator →

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