#20133A#20133A

#20133A is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 22.8% C 0.072 H 295.5°. Best body text is #FFFFFF at 17.28:1 contrast (WCAG AA passes).

Color values

HEX#20133A
RGBrgb(32, 19, 58)
HSLhsl(260, 51%, 15%)
HSVhsv(260, 67%, 23%)
CMYKcmyk(44.8%, 67.2%, 0%, 77.3%)
CIE-LABlab(9.63, 17.47, -22.99)
CIE-LCHlch(9.63, 28.88, 307.23°)
OKLaboklab(22.83% 0.0311 -0.0653)
OKLCHoklch(22.83% 0.072 295.5)
XYZxyz(1.5921, 1.0783, 4.1264)
Luminance0.0108 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20133A #2D3A13
analogous
#131A3A #20133A #33133A
triadic
#20133A #3A2013 #133A20
tetradic
#20133A #3A131A #2D3A13 #133A33
square
#20133A #3A131A #2D3A13 #133A33
split-complementary
#20133A #3A3313 #1A3A13
monochromatic
#0D0817 #0D0817 #20133A #392268 #533196

Accessibility & contrast

On white

17.28
#20133A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #20133A
17.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20133A#FFFFFF#000000##FFFFFF
##20133A1.0017.281.2217.28
#FFFFFF17.281.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#011B3B
Deuteranopia (green-blind)
#041A39
Tritanopia (blue-blind)
#1A1B24
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #20133a;
/* rgb */ color: rgb(32, 19, 58);
/* oklch */ color: oklch(22.8% 0.072 295.5);
Tailwind
colors: {
  custom: {
    50: '#5e5170',
    500: '#20133a',
    950: '#000000',
  },
}
SCSS
$custom: #20133a;
$custom-light: #5e5170;
$custom-dark: #000000;
JSON
{
  "hex": "#20133a",
  "rgb": {
    "r": 32,
    "g": 19,
    "b": 58
  },
  "hsl": {
    "h": 260,
    "s": 50.649,
    "l": 15.098
  },
  "oklch": {
    "l": 0.22829,
    "c": 0.07238,
    "h": 295.5
  },
  "luminance": 0.01078
}

Semantic roles & 50–950 ramp

primary
#20133A
secondary
#5E7236
accent
#DA4EAB
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#040207
muted
#79787A

Preview Lab

Preview with #20133A

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

Preview Lab → · Contrast checker → · Palette generator →

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