#20043F#20043F

#20043F is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 20.9% C 0.102 H 298.7°. Best body text is #FFFFFF at 18.25:1 contrast (WCAG AA passes).

Color values

HEX#20043F
RGBrgb(32, 4, 63)
HSLhsl(268, 88%, 13%)
HSVhsv(268, 94%, 25%)
CMYKcmyk(49.2%, 93.7%, 0%, 75.3%)
CIE-LABlab(6.80, 28.14, -31.17)
CIE-LCHlch(6.80, 42.00, 312.07°)
OKLaboklab(20.92% 0.049 -0.0896)
OKLCHoklch(20.92% 0.102 298.7)
XYZxyz(1.5361, 0.7528, 4.7660)
Luminance0.0075 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20043F #233F04
analogous
#04053F #20043F #3D043F
triadic
#20043F #3F2004 #043F20
tetradic
#20043F #3F0405 #233F04 #043F3D
square
#20043F #3F0405 #233F04 #043F3D
split-complementary
#20043F #3F3D04 #053F04
monochromatic
#0F021D #0F021D #20043F #3D0879 #5A0BB2

Accessibility & contrast

On white

18.25
#20043F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#20043F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20043F
18.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20043F#FFFFFF#000000##FFFFFF
##20043F1.0018.251.1518.25
#FFFFFF18.251.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001541
Deuteranopia (green-blind)
#00143E
Tritanopia (blue-blind)
#181522
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #20043f;
/* rgb */ color: rgb(32, 4, 63);
/* oklch */ color: oklch(20.9% 0.102 298.7);
Tailwind
colors: {
  custom: {
    50: '#604875',
    500: '#20043f',
    950: '#000000',
  },
}
SCSS
$custom: #20043f;
$custom-light: #604875;
$custom-dark: #000000;
JSON
{
  "hex": "#20043f",
  "rgb": {
    "r": 32,
    "g": 4,
    "b": 63
  },
  "hsl": {
    "h": 268.475,
    "s": 88.06,
    "l": 13.137
  },
  "oklch": {
    "l": 0.20918,
    "c": 0.10212,
    "h": 298.7
  },
  "luminance": 0.00753
}

Semantic roles & 50–950 ramp

primary
#20043F
secondary
#52801E
accent
#FE2A99
background
#F5F4F7
surface
#EAE6ED
border
#C6C2C8
text
#050008
muted
#79777B

Preview Lab

Preview with #20043F

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

Preview Lab → · Contrast checker → · Palette generator →

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