#20103D#20103D

#20103D is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.5% C 0.082 H 295.4°. Best body text is #FFFFFF at 17.46:1 contrast (WCAG AA passes).

Color values

HEX#20103D
RGBrgb(32, 16, 61)
HSLhsl(261, 58%, 15%)
HSVhsv(261, 74%, 24%)
CMYKcmyk(47.5%, 73.8%, 0%, 76.1%)
CIE-LABlab(9.11, 20.51, -25.98)
CIE-LCHlch(9.11, 33.10, 308.30°)
OKLaboklab(22.54% 0.0352 -0.0741)
OKLCHoklch(22.54% 0.082 295.4)
XYZxyz(1.6230, 1.0145, 4.5243)
Luminance0.0101 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20103D #2D3D10
analogous
#10173D #20103D #36103D
triadic
#20103D #3D2010 #103D20
tetradic
#20103D #3D1017 #2D3D10 #103D36
square
#20103D #3D1017 #2D3D10 #103D36
split-complementary
#20103D #3D3610 #173D10
monochromatic
#0D0618 #0D0618 #20103D #391D6D #53299E

Accessibility & contrast

On white

17.46
#20103D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #20103D
17.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20103D#FFFFFF#000000##FFFFFF
##20103D1.0017.461.2017.46
#FFFFFF17.461.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A3E
Deuteranopia (green-blind)
#00193C
Tritanopia (blue-blind)
#181A24
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #20103d;
/* rgb */ color: rgb(32, 16, 61);
/* oklch */ color: oklch(22.5% 0.082 295.4);
Tailwind
colors: {
  custom: {
    50: '#5e4f73',
    500: '#20103d',
    950: '#000000',
  },
}
SCSS
$custom: #20103d;
$custom-light: #5e4f73;
$custom-dark: #000000;
JSON
{
  "hex": "#20103d",
  "rgb": {
    "r": 32,
    "g": 16,
    "b": 61
  },
  "hsl": {
    "h": 261.333,
    "s": 58.442,
    "l": 15.098
  },
  "oklch": {
    "l": 0.22535,
    "c": 0.08205,
    "h": 295.4
  },
  "luminance": 0.01015
}

Semantic roles & 50–950 ramp

primary
#20103D
secondary
#5E7732
accent
#E246AA
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#050208
muted
#79787B

Preview Lab

Preview with #20103D

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

Preview Lab → · Contrast checker → · Palette generator →

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