#20134C#20134C

#20134C is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.5% C 0.099 H 287.1°. Best body text is #FFFFFF at 16.68:1 contrast (WCAG AA passes).

Color values

HEX#20134C
RGBrgb(32, 19, 76)
HSLhsl(254, 60%, 19%)
HSVhsv(254, 75%, 30%)
CMYKcmyk(57.9%, 75%, 0%, 70.2%)
CIE-LABlab(11.24, 23.63, -33.06)
CIE-LCHlch(11.24, 40.63, 305.55°)
OKLaboklab(24.5% 0.0292 -0.0949)
OKLCHoklch(24.5% 0.099 287.1)
XYZxyz(2.1327, 1.2945, 6.9736)
Luminance0.0129 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20134C #3F4C13
analogous
#13224C #20134C #3C134C
triadic
#20134C #4C2013 #134C20
tetradic
#20134C #4C1322 #3F4C13 #134C3C
square
#20134C #4C1322 #3F4C13 #134C3C
split-complementary
#20134C #4C3C13 #224C13
monochromatic
#0A0618 #0B071B #20134C #351F7D #492BAE

Accessibility & contrast

On white

16.68
#20134C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #20134C
16.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20134C#FFFFFF#000000##FFFFFF
##20134C1.0016.681.2616.68
#FFFFFF16.681.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F4E
Deuteranopia (green-blind)
#001C4B
Tritanopia (blue-blind)
#0F212D
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #20134c;
/* rgb */ color: rgb(32, 19, 76);
/* oklch */ color: oklch(24.5% 0.099 287.1);
Tailwind
colors: {
  custom: {
    50: '#61517f',
    500: '#20134c',
    950: '#000000',
  },
}
SCSS
$custom: #20134c;
$custom-light: #61517f;
$custom-dark: #000000;
JSON
{
  "hex": "#20134c",
  "rgb": {
    "r": 32,
    "g": 19,
    "b": 76
  },
  "hsl": {
    "h": 253.684,
    "s": 60,
    "l": 18.627
  },
  "oklch": {
    "l": 0.24503,
    "c": 0.09933,
    "h": 287.1
  },
  "luminance": 0.01295
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #20134C

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

Preview Lab → · Contrast checker → · Palette generator →

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