#20073B#20073B

#20073B is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 20.9% C 0.093 H 300.3°. Best body text is #FFFFFF at 18.18:1 contrast (WCAG AA passes).

Color values

HEX#20073B
RGBrgb(32, 7, 59)
HSLhsl(269, 79%, 13%)
HSVhsv(269, 88%, 23%)
CMYKcmyk(45.8%, 88.1%, 0%, 76.9%)
CIE-LABlab(7.00, 25.18, -27.97)
CIE-LCHlch(7.00, 37.64, 312.00°)
OKLaboklab(20.94% 0.0468 -0.0802)
OKLCHoklch(20.94% 0.093 300.3)
XYZxyz(1.4609, 0.7748, 4.2094)
Luminance0.0077 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20073B #223B07
analogous
#07083B #20073B #3A073B
triadic
#20073B #3B2007 #073B20
tetradic
#20073B #3B0708 #223B07 #073B3A
square
#20073B #3B0708 #223B07 #073B3A
split-complementary
#20073B #3B3A07 #083B07
monochromatic
#0F031B #0F031B #20073B #3E0D72 #5B14A8

Accessibility & contrast

On white

18.18
#20073B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #20073B
18.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20073B#FFFFFF#000000##FFFFFF
##20073B1.0018.181.1618.18
#FFFFFF18.181.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00153C
Deuteranopia (green-blind)
#00153A
Tritanopia (blue-blind)
#1A1521
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #20073b;
/* rgb */ color: rgb(32, 7, 59);
/* oklch */ color: oklch(20.9% 0.093 300.3);
Tailwind
colors: {
  custom: {
    50: '#5f4971',
    500: '#20073b',
    950: '#000000',
  },
}
SCSS
$custom: #20073b;
$custom-light: #5f4971;
$custom-dark: #000000;
JSON
{
  "hex": "#20073b",
  "rgb": {
    "r": 32,
    "g": 7,
    "b": 59
  },
  "hsl": {
    "h": 268.846,
    "s": 78.788,
    "l": 12.941
  },
  "oklch": {
    "l": 0.20939,
    "c": 0.09281,
    "h": 300.3
  },
  "luminance": 0.00775
}

Semantic roles & 50–950 ramp

primary
#20073B
secondary
#517A23
accent
#F53398
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#050108
muted
#79777B

Preview Lab

Preview with #20073B

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

Preview Lab → · Contrast checker → · Palette generator →

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