#20103B#20103B

#20103B is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.4% C 0.079 H 296.6°. Best body text is #FFFFFF at 17.52:1 contrast (WCAG AA passes).

Color values

HEX#20103B
RGBrgb(32, 16, 59)
HSLhsl(262, 57%, 15%)
HSVhsv(262, 73%, 23%)
CMYKcmyk(45.8%, 72.9%, 0%, 76.9%)
CIE-LABlab(8.94, 19.86, -24.83)
CIE-LCHlch(8.94, 31.79, 308.66°)
OKLaboklab(22.35% 0.0354 -0.0707)
OKLCHoklch(22.35% 0.079 296.6)
XYZxyz(1.5702, 0.9934, 4.2458)
Luminance0.0099 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20103B #2B3B10
analogous
#10153B #20103B #36103B
triadic
#20103B #3B2010 #103B20
tetradic
#20103B #3B1015 #2B3B10 #103B36
square
#20103B #3B1015 #2B3B10 #103B36
split-complementary
#20103B #3B3610 #153B10
monochromatic
#0D0718 #0D0718 #20103B #3A1D6B #542A9B

Accessibility & contrast

On white

17.52
#20103B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#20103B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20103B
17.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20103B#FFFFFF#000000##FFFFFF
##20103B1.0017.521.2017.52
#FFFFFF17.521.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A3C
Deuteranopia (green-blind)
#00193A
Tritanopia (blue-blind)
#191A23
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #20103b;
/* rgb */ color: rgb(32, 16, 59);
/* oklch */ color: oklch(22.4% 0.079 296.6);
Tailwind
colors: {
  custom: {
    50: '#5e4f71',
    500: '#20103b',
    950: '#000000',
  },
}
SCSS
$custom: #20103b;
$custom-light: #5e4f71;
$custom-dark: #000000;
JSON
{
  "hex": "#20103b",
  "rgb": {
    "r": 32,
    "g": 16,
    "b": 59
  },
  "hsl": {
    "h": 262.326,
    "s": 57.333,
    "l": 14.706
  },
  "oklch": {
    "l": 0.22352,
    "c": 0.0791,
    "h": 296.6
  },
  "luminance": 0.00993
}

Semantic roles & 50–950 ramp

primary
#20103B
secondary
#5C7532
accent
#E147A8
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#040208
muted
#79787B

Preview Lab

Preview with #20103B

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

Preview Lab → · Contrast checker → · Palette generator →

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