#20073A#20073A

#20073A is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 20.8% C 0.092 H 300.9°. Best body text is #FFFFFF at 18.21:1 contrast (WCAG AA passes).

Color values

HEX#20073A
RGBrgb(32, 7, 58)
HSLhsl(269, 78%, 13%)
HSVhsv(269, 88%, 23%)
CMYKcmyk(44.8%, 87.9%, 0%, 77.3%)
CIE-LABlab(6.91, 24.85, -27.40)
CIE-LCHlch(6.91, 36.99, 312.21°)
OKLaboklab(20.84% 0.0471 -0.0785)
OKLCHoklch(20.84% 0.092 300.9)
XYZxyz(1.4352, 0.7645, 4.0741)
Luminance0.0076 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20073A #213A07
analogous
#07073A #20073A #39073A
triadic
#20073A #3A2007 #073A20
tetradic
#20073A #3A0707 #213A07 #073A39
square
#20073A #3A0707 #213A07 #073A39
split-complementary
#20073A #3A3907 #073A07
monochromatic
#0F031B #0F031B #20073A #3E0E71 #5C14A7

Accessibility & contrast

On white

18.21
#20073A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#20073A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20073A
18.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20073A#FFFFFF#000000##FFFFFF
##20073A1.0018.211.1518.21
#FFFFFF18.211.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00153B
Deuteranopia (green-blind)
#001539
Tritanopia (blue-blind)
#1A1420
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #20073a;
/* rgb */ color: rgb(32, 7, 58);
/* oklch */ color: oklch(20.8% 0.092 300.9);
Tailwind
colors: {
  custom: {
    50: '#5f4971',
    500: '#20073a',
    950: '#000000',
  },
}
SCSS
$custom: #20073a;
$custom-light: #5f4971;
$custom-dark: #000000;
JSON
{
  "hex": "#20073a",
  "rgb": {
    "r": 32,
    "g": 7,
    "b": 58
  },
  "hsl": {
    "h": 269.412,
    "s": 78.462,
    "l": 12.745
  },
  "oklch": {
    "l": 0.20836,
    "c": 0.09156,
    "h": 300.9
  },
  "luminance": 0.00765
}

Semantic roles & 50–950 ramp

primary
#20073A
secondary
#4F7923
accent
#F53396
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#050107
muted
#79777A

Preview Lab

Preview with #20073A

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

Preview Lab → · Contrast checker → · Palette generator →

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