#20073D#20073D

#20073D is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.1% C 0.095 H 298.9°. Best body text is #FFFFFF at 18.12:1 contrast (WCAG AA passes).

Color values

HEX#20073D
RGBrgb(32, 7, 61)
HSLhsl(268, 79%, 13%)
HSVhsv(268, 89%, 24%)
CMYKcmyk(47.5%, 88.5%, 0%, 76.1%)
CIE-LABlab(7.19, 25.84, -29.10)
CIE-LCHlch(7.19, 38.92, 311.60°)
OKLaboklab(21.15% 0.0461 -0.0834)
OKLCHoklch(21.15% 0.095 298.9)
XYZxyz(1.5137, 0.7959, 4.4879)
Luminance0.0080 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20073D #243D07
analogous
#07093D #20073D #3B073D
triadic
#20073D #3D2007 #073D20
tetradic
#20073D #3D0709 #243D07 #073D3B
square
#20073D #3D0709 #243D07 #073D3B
split-complementary
#20073D #3D3B07 #093D07
monochromatic
#0E031B #0E031B #20073D #3D0D74 #5A14AB

Accessibility & contrast

On white

18.12
#20073D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #20073D
18.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20073D#FFFFFF#000000##FFFFFF
##20073D1.0018.121.1618.12
#FFFFFF18.121.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00163E
Deuteranopia (green-blind)
#00153C
Tritanopia (blue-blind)
#191522
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #20073d;
/* rgb */ color: rgb(32, 7, 61);
/* oklch */ color: oklch(21.1% 0.095 298.9);
Tailwind
colors: {
  custom: {
    50: '#5f4973',
    500: '#20073d',
    950: '#000000',
  },
}
SCSS
$custom: #20073d;
$custom-light: #5f4973;
$custom-dark: #000000;
JSON
{
  "hex": "#20073d",
  "rgb": {
    "r": 32,
    "g": 7,
    "b": 61
  },
  "hsl": {
    "h": 267.778,
    "s": 79.412,
    "l": 13.333
  },
  "oklch": {
    "l": 0.21147,
    "c": 0.0953,
    "h": 298.9
  },
  "luminance": 0.00796
}

Semantic roles & 50–950 ramp

primary
#20073D
secondary
#537C23
accent
#F6329B
background
#F5F4F7
surface
#EAE7ED
border
#C6C3C8
text
#050108
muted
#79777B

Preview Lab

Preview with #20073D

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

Preview Lab → · Contrast checker → · Palette generator →

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