#20134A#20134A

#20134A is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.3% C 0.096 H 287.8°. Best body text is #FFFFFF at 16.75:1 contrast (WCAG AA passes).

Color values

HEX#20134A
RGBrgb(32, 19, 74)
HSLhsl(254, 59%, 18%)
HSVhsv(254, 74%, 29%)
CMYKcmyk(56.8%, 74.3%, 0%, 71%)
CIE-LABlab(11.04, 22.93, -31.99)
CIE-LCHlch(11.04, 39.36, 305.64°)
OKLaboklab(24.3% 0.0296 -0.0918)
OKLCHoklch(24.3% 0.096 287.8)
XYZxyz(2.0642, 1.2671, 6.6131)
Luminance0.0127 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20134A #3D4A13
analogous
#13214A #20134A #3B134A
triadic
#20134A #4A2013 #134A20
tetradic
#20134A #4A1321 #3D4A13 #134A3B
square
#20134A #4A1321 #3D4A13 #134A3B
split-complementary
#20134A #4A3B13 #214A13
monochromatic
#0B0618 #0B0619 #20134A #35207B #4A2CAB

Accessibility & contrast

On white

16.75
#20134A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#20134A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20134A
16.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20134A#FFFFFF#000000##FFFFFF
##20134A1.0016.751.2516.75
#FFFFFF16.751.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F4C
Deuteranopia (green-blind)
#001C49
Tritanopia (blue-blind)
#11212C
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #20134a;
/* rgb */ color: rgb(32, 19, 74);
/* oklch */ color: oklch(24.3% 0.096 287.8);
Tailwind
colors: {
  custom: {
    50: '#60517d',
    500: '#20134a',
    950: '#000000',
  },
}
SCSS
$custom: #20134a;
$custom-light: #60517d;
$custom-dark: #000000;
JSON
{
  "hex": "#20134a",
  "rgb": {
    "r": 32,
    "g": 19,
    "b": 74
  },
  "hsl": {
    "h": 254.182,
    "s": 59.14,
    "l": 18.235
  },
  "oklch": {
    "l": 0.24304,
    "c": 0.09644,
    "h": 287.8
  },
  "luminance": 0.01267
}

Semantic roles & 50–950 ramp

primary
#20134A
secondary
#718336
accent
#E245BD
background
#F5F4F7
surface
#EAE7EE
border
#C6C3C9
text
#05020A
muted
#79787C

Preview Lab

Preview with #20134A

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

Preview Lab → · Contrast checker → · Palette generator →

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