#20073F#20073F

#20073F is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.4% C 0.098 H 297.7°. Best body text is #FFFFFF at 18.05:1 contrast (WCAG AA passes).

Color values

HEX#20073F
RGBrgb(32, 7, 63)
HSLhsl(267, 80%, 14%)
HSVhsv(267, 89%, 25%)
CMYKcmyk(49.2%, 88.9%, 0%, 75.3%)
CIE-LABlab(7.39, 26.49, -30.21)
CIE-LCHlch(7.39, 40.18, 311.24°)
OKLaboklab(21.36% 0.0454 -0.0866)
OKLCHoklch(21.36% 0.098 297.7)
XYZxyz(1.5686, 0.8179, 4.7769)
Luminance0.0082 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20073F #263F07
analogous
#070A3F #20073F #3C073F
triadic
#20073F #3F2007 #073F20
tetradic
#20073F #3F070A #263F07 #073F3C
square
#20073F #3F070A #263F07 #073F3C
split-complementary
#20073F #3F3C07 #0A3F07
monochromatic
#0E031C #0E031C #20073F #3C0D76 #5813AD

Accessibility & contrast

On white

18.05
#20073F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #20073F
18.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20073F#FFFFFF#000000##FFFFFF
##20073F1.0018.051.1618.05
#FFFFFF18.051.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001641
Deuteranopia (green-blind)
#00163E
Tritanopia (blue-blind)
#181623
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #20073f;
/* rgb */ color: rgb(32, 7, 63);
/* oklch */ color: oklch(21.4% 0.098 297.7);
Tailwind
colors: {
  custom: {
    50: '#604a75',
    500: '#20073f',
    950: '#000000',
  },
}
SCSS
$custom: #20073f;
$custom-light: #604a75;
$custom-dark: #000000;
JSON
{
  "hex": "#20073f",
  "rgb": {
    "r": 32,
    "g": 7,
    "b": 63
  },
  "hsl": {
    "h": 266.786,
    "s": 80,
    "l": 13.725
  },
  "oklch": {
    "l": 0.21359,
    "c": 0.09778,
    "h": 297.7
  },
  "luminance": 0.00818
}

Semantic roles & 50–950 ramp

primary
#20073F
secondary
#567E24
accent
#F6319E
background
#F5F4F7
surface
#EAE7ED
border
#C6C3C8
text
#050108
muted
#79777B

Preview Lab

Preview with #20073F

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

Preview Lab → · Contrast checker → · Palette generator →

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