#20133B#20133B

#20133B is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 22.9% C 0.074 H 294.9°. Best body text is #FFFFFF at 17.24:1 contrast (WCAG AA passes).

Color values

HEX#20133B
RGBrgb(32, 19, 59)
HSLhsl(260, 51%, 15%)
HSVhsv(260, 68%, 23%)
CMYKcmyk(45.8%, 67.8%, 0%, 76.9%)
CIE-LABlab(9.71, 17.80, -23.58)
CIE-LCHlch(9.71, 29.54, 307.05°)
OKLaboklab(22.92% 0.0311 -0.0671)
OKLCHoklch(22.92% 0.074 294.9)
XYZxyz(1.6177, 1.0886, 4.2617)
Luminance0.0109 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20133B #2E3B13
analogous
#131A3B #20133B #34133B
triadic
#20133B #3B2013 #133B20
tetradic
#20133B #3B131A #2E3B13 #133B34
square
#20133B #3B131A #2E3B13 #133B34
split-complementary
#20133B #3B3413 #1A3B13
monochromatic
#0D0717 #0D0717 #20133B #392269 #523198

Accessibility & contrast

On white

17.24
#20133B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#20133B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20133B
17.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20133B#FFFFFF#000000##FFFFFF
##20133B1.0017.241.2217.24
#FFFFFF17.241.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B3C
Deuteranopia (green-blind)
#031A3A
Tritanopia (blue-blind)
#191C24
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #20133b;
/* rgb */ color: rgb(32, 19, 59);
/* oklch */ color: oklch(22.9% 0.074 294.9);
Tailwind
colors: {
  custom: {
    50: '#5e5171',
    500: '#20133b',
    950: '#000000',
  },
}
SCSS
$custom: #20133b;
$custom-light: #5e5171;
$custom-dark: #000000;
JSON
{
  "hex": "#20133b",
  "rgb": {
    "r": 32,
    "g": 19,
    "b": 59
  },
  "hsl": {
    "h": 259.5,
    "s": 51.282,
    "l": 15.294
  },
  "oklch": {
    "l": 0.22915,
    "c": 0.07394,
    "h": 294.9
  },
  "luminance": 0.01089
}

Semantic roles & 50–950 ramp

primary
#20133B
secondary
#607336
accent
#DB4DAD
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#040207
muted
#79787A

Preview Lab

Preview with #20133B

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

Preview Lab → · Contrast checker → · Palette generator →

#20133B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva