#20134F#20134F

#20134F is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.8% C 0.104 H 286.0°. Best body text is #FFFFFF at 16.57:1 contrast (WCAG AA passes).

Color values

HEX#20134F
RGBrgb(32, 19, 79)
HSLhsl(253, 61%, 19%)
HSVhsv(253, 76%, 31%)
CMYKcmyk(59.5%, 75.9%, 0%, 69%)
CIE-LABlab(11.53, 24.66, -34.64)
CIE-LCHlch(11.53, 42.53, 305.45°)
OKLaboklab(24.81% 0.0286 -0.0996)
OKLCHoklch(24.81% 0.104 286)
XYZxyz(2.2394, 1.3372, 7.5357)
Luminance0.0134 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20134F #424F13
analogous
#13244F #20134F #3E134F
triadic
#20134F #4F2013 #134F20
tetradic
#20134F #4F1324 #424F13 #134F3E
square
#20134F #4F1324 #424F13 #134F3E
split-complementary
#20134F #4F3E13 #244F13
monochromatic
#0A0619 #0C071E #20134F #341F80 #482BB2

Accessibility & contrast

On white

16.57
#20134F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#20134F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20134F
16.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20134F#FFFFFF#000000##FFFFFF
##20134F1.0016.571.2716.57
#FFFFFF16.571.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002051
Deuteranopia (green-blind)
#001D4E
Tritanopia (blue-blind)
#0C232F
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #20134f;
/* rgb */ color: rgb(32, 19, 79);
/* oklch */ color: oklch(24.8% 0.104 286.0);
Tailwind
colors: {
  custom: {
    50: '#625281',
    500: '#20134f',
    950: '#000000',
  },
}
SCSS
$custom: #20134f;
$custom-light: #625281;
$custom-dark: #000000;
JSON
{
  "hex": "#20134f",
  "rgb": {
    "r": 32,
    "g": 19,
    "b": 79
  },
  "hsl": {
    "h": 253,
    "s": 61.224,
    "l": 19.216
  },
  "oklch": {
    "l": 0.24807,
    "c": 0.10362,
    "h": 286
  },
  "luminance": 0.01337
}

Semantic roles & 50–950 ramp

primary
#20134F
secondary
#768836
accent
#E443C1
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#05020A
muted
#7A787C

Preview Lab

Preview with #20134F

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

Preview Lab → · Contrast checker → · Palette generator →

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