#20114F#20114F

#20114F is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.5% C 0.106 H 286.8°. Best body text is #FFFFFF at 16.74:1 contrast (WCAG AA passes).

Color values

HEX#20114F
RGBrgb(32, 17, 79)
HSLhsl(255, 65%, 19%)
HSVhsv(255, 78%, 31%)
CMYKcmyk(59.5%, 78.5%, 0%, 69%)
CIE-LABlab(11.08, 25.92, -35.38)
CIE-LCHlch(11.08, 43.86, 306.22°)
OKLaboklab(24.49% 0.0306 -0.1017)
OKLCHoklch(24.49% 0.106 286.8)
XYZxyz(2.2070, 1.2724, 7.5249)
Luminance0.0127 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20114F #404F11
analogous
#11214F #20114F #3F114F
triadic
#20114F #4F2011 #114F20
tetradic
#20114F #4F1121 #404F11 #114F3F
square
#20114F #4F1121 #404F11 #114F3F
split-complementary
#20114F #4F3F11 #214F11
monochromatic
#0A0519 #0C061D #20114F #341C81 #4927B4

Accessibility & contrast

On white

16.74
#20114F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#20114F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20114F
16.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20114F#FFFFFF#000000##FFFFFF
##20114F1.0016.741.2516.74
#FFFFFF16.741.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F51
Deuteranopia (green-blind)
#001C4E
Tritanopia (blue-blind)
#0C222E
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #20114f;
/* rgb */ color: rgb(32, 17, 79);
/* oklch */ color: oklch(24.5% 0.106 286.8);
Tailwind
colors: {
  custom: {
    50: '#625081',
    500: '#20114f',
    950: '#000000',
  },
}
SCSS
$custom: #20114f;
$custom-light: #625081;
$custom-dark: #000000;
JSON
{
  "hex": "#20114f",
  "rgb": {
    "r": 32,
    "g": 17,
    "b": 79
  },
  "hsl": {
    "h": 254.516,
    "s": 64.583,
    "l": 18.824
  },
  "oklch": {
    "l": 0.24485,
    "c": 0.10626,
    "h": 286.8
  },
  "luminance": 0.01272
}

Semantic roles & 50–950 ramp

primary
#20114F
secondary
#748833
accent
#E840BF
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#05020A
muted
#7A787C

Preview Lab

Preview with #20114F

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

Preview Lab → · Contrast checker → · Palette generator →

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