#20133C#20133C

#20133C is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.0% C 0.075 H 294.3°. Best body text is #FFFFFF at 17.22:1 contrast (WCAG AA passes).

Color values

HEX#20133C
RGBrgb(32, 19, 60)
HSLhsl(259, 52%, 15%)
HSVhsv(259, 68%, 24%)
CMYKcmyk(46.7%, 68.3%, 0%, 76.5%)
CIE-LABlab(9.79, 18.14, -24.16)
CIE-LCHlch(9.79, 30.21, 306.90°)
OKLaboklab(23% 0.0311 -0.0688)
OKLCHoklch(23% 0.075 294.3)
XYZxyz(1.6439, 1.0990, 4.3996)
Luminance0.0110 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20133C #2F3C13
analogous
#131A3C #20133C #34133C
triadic
#20133C #3C2013 #133C20
tetradic
#20133C #3C131A #2F3C13 #133C34
square
#20133C #3C131A #2F3C13 #133C34
split-complementary
#20133C #3C3413 #1A3C13
monochromatic
#0C0717 #0C0717 #20133C #39226A #523099

Accessibility & contrast

On white

17.22
#20133C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #20133C
17.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20133C#FFFFFF#000000##FFFFFF
##20133C1.0017.221.2217.22
#FFFFFF17.221.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B3D
Deuteranopia (green-blind)
#021A3B
Tritanopia (blue-blind)
#191C25
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #20133c;
/* rgb */ color: rgb(32, 19, 60);
/* oklch */ color: oklch(23.0% 0.075 294.3);
Tailwind
colors: {
  custom: {
    50: '#5e5172',
    500: '#20133c',
    950: '#000000',
  },
}
SCSS
$custom: #20133c;
$custom-light: #5e5172;
$custom-dark: #000000;
JSON
{
  "hex": "#20133c",
  "rgb": {
    "r": 32,
    "g": 19,
    "b": 60
  },
  "hsl": {
    "h": 259.024,
    "s": 51.899,
    "l": 15.49
  },
  "oklch": {
    "l": 0.23001,
    "c": 0.07548,
    "h": 294.3
  },
  "luminance": 0.01099
}

Semantic roles & 50–950 ramp

primary
#20133C
secondary
#617436
accent
#DB4CAE
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#040208
muted
#79787B

Preview Lab

Preview with #20133C

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

Preview Lab → · Contrast checker → · Palette generator →

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