#20073C#20073C

#20073C is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.0% C 0.094 H 299.6°. Best body text is #FFFFFF at 18.15:1 contrast (WCAG AA passes).

Color values

HEX#20073C
RGBrgb(32, 7, 60)
HSLhsl(268, 79%, 13%)
HSVhsv(268, 88%, 24%)
CMYKcmyk(46.7%, 88.3%, 0%, 76.5%)
CIE-LABlab(7.09, 25.51, -28.54)
CIE-LCHlch(7.09, 38.28, 311.79°)
OKLaboklab(21.04% 0.0464 -0.0818)
OKLCHoklch(21.04% 0.094 299.6)
XYZxyz(1.4870, 0.7853, 4.3473)
Luminance0.0078 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20073C #233C07
analogous
#07083C #20073C #3A073C
triadic
#20073C #3C2007 #073C20
tetradic
#20073C #3C0708 #233C07 #073C3A
square
#20073C #3C0708 #233C07 #073C3A
split-complementary
#20073C #3C3A07 #083C07
monochromatic
#0F031B #0F031B #20073C #3D0D73 #5A14AA

Accessibility & contrast

On white

18.15
#20073C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#20073C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20073C
18.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20073C#FFFFFF#000000##FFFFFF
##20073C1.0018.151.1618.15
#FFFFFF18.151.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00163D
Deuteranopia (green-blind)
#00153B
Tritanopia (blue-blind)
#191521
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #20073c;
/* rgb */ color: rgb(32, 7, 60);
/* oklch */ color: oklch(21.0% 0.094 299.6);
Tailwind
colors: {
  custom: {
    50: '#5f4972',
    500: '#20073c',
    950: '#000000',
  },
}
SCSS
$custom: #20073c;
$custom-light: #5f4972;
$custom-dark: #000000;
JSON
{
  "hex": "#20073c",
  "rgb": {
    "r": 32,
    "g": 7,
    "b": 60
  },
  "hsl": {
    "h": 268.302,
    "s": 79.104,
    "l": 13.137
  },
  "oklch": {
    "l": 0.21042,
    "c": 0.09405,
    "h": 299.6
  },
  "luminance": 0.00785
}

Semantic roles & 50–950 ramp

primary
#20073C
secondary
#527B23
accent
#F63299
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#050108
muted
#79777B

Preview Lab

Preview with #20073C

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

Preview Lab → · Contrast checker → · Palette generator →

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