#20063C#20063C

#20063C is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 20.9% C 0.096 H 299.9°. Best body text is #FFFFFF at 18.22:1 contrast (WCAG AA passes).

Color values

HEX#20063C
RGBrgb(32, 6, 60)
HSLhsl(269, 82%, 13%)
HSVhsv(269, 90%, 24%)
CMYKcmyk(46.7%, 90%, 0%, 76.5%)
CIE-LABlab(6.90, 26.05, -28.86)
CIE-LCHlch(6.90, 38.88, 312.07°)
OKLaboklab(20.89% 0.0477 -0.0828)
OKLCHoklch(20.89% 0.096 299.9)
XYZxyz(1.4762, 0.7636, 4.3437)
Luminance0.0076 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20063C #223C06
analogous
#06073C #20063C #3B063C
triadic
#20063C #3C2006 #063C20
tetradic
#20063C #3C0607 #223C06 #063C3B
square
#20063C #3C0607 #223C06 #063C3B
split-complementary
#20063C #3C3B06 #073C06
monochromatic
#0F031C #0F031C #20063C #3E0C74 #5B11AB

Accessibility & contrast

On white

18.22
#20063C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#20063C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20063C
18.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20063C#FFFFFF#000000##FFFFFF
##20063C1.0018.221.1518.22
#FFFFFF18.221.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00153D
Deuteranopia (green-blind)
#00153B
Tritanopia (blue-blind)
#191421
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #20063c;
/* rgb */ color: rgb(32, 6, 60);
/* oklch */ color: oklch(20.9% 0.096 299.9);
Tailwind
colors: {
  custom: {
    50: '#5f4972',
    500: '#20063c',
    950: '#000000',
  },
}
SCSS
$custom: #20063c;
$custom-light: #5f4972;
$custom-dark: #000000;
JSON
{
  "hex": "#20063c",
  "rgb": {
    "r": 32,
    "g": 6,
    "b": 60
  },
  "hsl": {
    "h": 268.889,
    "s": 81.818,
    "l": 12.941
  },
  "oklch": {
    "l": 0.20893,
    "c": 0.09555,
    "h": 299.9
  },
  "luminance": 0.00764
}

Semantic roles & 50–950 ramp

primary
#20063C
secondary
#517C22
accent
#F83098
background
#F5F4F7
surface
#EAE7ED
border
#C6C3C8
text
#050108
muted
#79777B

Preview Lab

Preview with #20063C

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

Preview Lab → · Contrast checker → · Palette generator →

#20063C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva