#20094A#20094A

#20094A is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.8% C 0.109 H 291.2°. Best body text is #FFFFFF at 17.51:1 contrast (WCAG AA passes).

Color values

HEX#20094A
RGBrgb(32, 9, 74)
HSLhsl(261, 78%, 16%)
HSVhsv(261, 88%, 29%)
CMYKcmyk(56.8%, 87.8%, 0%, 71%)
CIE-LABlab(8.96, 28.78, -35.39)
CIE-LCHlch(8.96, 45.62, 309.11°)
OKLaboklab(22.83% 0.0394 -0.1017)
OKLCHoklch(22.83% 0.109 291.2)
XYZxyz(1.9290, 0.9968, 6.5680)
Luminance0.0100 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20094A #334A09
analogous
#09134A #20094A #41094A
triadic
#20094A #4A2009 #094A20
tetradic
#20094A #4A0913 #334A09 #094A41
square
#20094A #4A0913 #334A09 #094A41
split-complementary
#20094A #4A4109 #134A09
monochromatic
#0C031B #0C031B #20094A #381081 #4F16B7

Accessibility & contrast

On white

17.51
#20094A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#20094A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20094A
17.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20094A#FFFFFF#000000##FFFFFF
##20094A1.0017.511.2017.51
#FFFFFF17.511.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A4C
Deuteranopia (green-blind)
#001849
Tritanopia (blue-blind)
#111C2A
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #20094a;
/* rgb */ color: rgb(32, 9, 74);
/* oklch */ color: oklch(22.8% 0.109 291.2);
Tailwind
colors: {
  custom: {
    50: '#614b7d',
    500: '#20094a',
    950: '#000000',
  },
}
SCSS
$custom: #20094a;
$custom-light: #614b7d;
$custom-dark: #000000;
JSON
{
  "hex": "#20094a",
  "rgb": {
    "r": 32,
    "g": 9,
    "b": 74
  },
  "hsl": {
    "h": 261.231,
    "s": 78.313,
    "l": 16.275
  },
  "oklch": {
    "l": 0.22834,
    "c": 0.10907,
    "h": 291.2
  },
  "luminance": 0.00997
}

Semantic roles & 50–950 ramp

primary
#20094A
secondary
#658727
accent
#F533B0
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#05010A
muted
#7A777C

Preview Lab

Preview with #20094A

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

Preview Lab → · Contrast checker → · Palette generator →

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