#20134B#20134B

#20134B is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.4% C 0.098 H 287.5°. Best body text is #FFFFFF at 16.72:1 contrast (WCAG AA passes).

Color values

HEX#20134B
RGBrgb(32, 19, 75)
HSLhsl(254, 60%, 18%)
HSVhsv(254, 75%, 29%)
CMYKcmyk(57.3%, 74.7%, 0%, 70.6%)
CIE-LABlab(11.14, 23.28, -32.53)
CIE-LCHlch(11.14, 40.00, 305.59°)
OKLaboklab(24.4% 0.0294 -0.0934)
OKLCHoklch(24.4% 0.098 287.5)
XYZxyz(2.0982, 1.2807, 6.7919)
Luminance0.0128 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20134B #3E4B13
analogous
#13224B #20134B #3C134B
triadic
#20134B #4B2013 #134B20
tetradic
#20134B #4B1322 #3E4B13 #134B3C
square
#20134B #4B1322 #3E4B13 #134B3C
split-complementary
#20134B #4B3C13 #224B13
monochromatic
#0A0618 #0B071A #20134B #351F7C #4A2CAD

Accessibility & contrast

On white

16.72
#20134B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#20134B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20134B
16.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20134B#FFFFFF#000000##FFFFFF
##20134B1.0016.721.2616.72
#FFFFFF16.721.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F4D
Deuteranopia (green-blind)
#001C4A
Tritanopia (blue-blind)
#10212D
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #20134b;
/* rgb */ color: rgb(32, 19, 75);
/* oklch */ color: oklch(24.4% 0.098 287.5);
Tailwind
colors: {
  custom: {
    50: '#61517e',
    500: '#20134b',
    950: '#000000',
  },
}
SCSS
$custom: #20134b;
$custom-light: #61517e;
$custom-dark: #000000;
JSON
{
  "hex": "#20134b",
  "rgb": {
    "r": 32,
    "g": 19,
    "b": 75
  },
  "hsl": {
    "h": 253.929,
    "s": 59.574,
    "l": 18.431
  },
  "oklch": {
    "l": 0.24403,
    "c": 0.09789,
    "h": 287.5
  },
  "luminance": 0.01281
}

Semantic roles & 50–950 ramp

primary
#20134B
secondary
#728436
accent
#E345BE
background
#F5F4F7
surface
#EAE7EE
border
#C6C3C9
text
#05020A
muted
#79787C

Preview Lab

Preview with #20134B

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

Preview Lab → · Contrast checker → · Palette generator →

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