#20103C#20103C

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

Color values

HEX#20103C
RGBrgb(32, 16, 60)
HSLhsl(262, 58%, 15%)
HSVhsv(262, 73%, 24%)
CMYKcmyk(46.7%, 73.3%, 0%, 76.5%)
CIE-LABlab(9.02, 20.19, -25.40)
CIE-LCHlch(9.02, 32.45, 308.47°)
OKLaboklab(22.44% 0.0353 -0.0724)
OKLCHoklch(22.44% 0.081 296)
XYZxyz(1.5964, 1.0039, 4.3837)
Luminance0.0100 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20103C #2C3C10
analogous
#10163C #20103C #36103C
triadic
#20103C #3C2010 #103C20
tetradic
#20103C #3C1016 #2C3C10 #103C36
square
#20103C #3C1016 #2C3C10 #103C36
split-complementary
#20103C #3C3610 #163C10
monochromatic
#0D0618 #0D0618 #20103C #3A1D6C #542A9D

Accessibility & contrast

On white

17.49
#20103C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #20103C
17.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20103C#FFFFFF#000000##FFFFFF
##20103C1.0017.491.2017.49
#FFFFFF17.491.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A3D
Deuteranopia (green-blind)
#00193B
Tritanopia (blue-blind)
#191A24
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #20103c;
/* rgb */ color: rgb(32, 16, 60);
/* oklch */ color: oklch(22.4% 0.081 296.0);
Tailwind
colors: {
  custom: {
    50: '#5e4f72',
    500: '#20103c',
    950: '#000000',
  },
}
SCSS
$custom: #20103c;
$custom-light: #5e4f72;
$custom-dark: #000000;
JSON
{
  "hex": "#20103c",
  "rgb": {
    "r": 32,
    "g": 16,
    "b": 60
  },
  "hsl": {
    "h": 261.818,
    "s": 57.895,
    "l": 14.902
  },
  "oklch": {
    "l": 0.22443,
    "c": 0.08057,
    "h": 296
  },
  "luminance": 0.01004
}

Semantic roles & 50–950 ramp

primary
#20103C
secondary
#5D7632
accent
#E147A9
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#050208
muted
#79787B

Preview Lab

Preview with #20103C

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

Preview Lab → · Contrast checker → · Palette generator →

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