#20103A#20103A

#20103A is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.3% C 0.078 H 297.2°. Best body text is #FFFFFF at 17.55:1 contrast (WCAG AA passes).

Color values

HEX#20103A
RGBrgb(32, 16, 58)
HSLhsl(263, 57%, 15%)
HSVhsv(263, 72%, 23%)
CMYKcmyk(44.8%, 72.4%, 0%, 77.3%)
CIE-LABlab(8.85, 19.53, -24.25)
CIE-LCHlch(8.85, 31.14, 308.85°)
OKLaboklab(22.26% 0.0355 -0.069)
OKLCHoklch(22.26% 0.078 297.2)
XYZxyz(1.5445, 0.9831, 4.1106)
Luminance0.0098 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20103A #2A3A10
analogous
#10153A #20103A #35103A
triadic
#20103A #3A2010 #103A20
tetradic
#20103A #3A1015 #2A3A10 #103A35
square
#20103A #3A1015 #2A3A10 #103A35
split-complementary
#20103A #3A3510 #153A10
monochromatic
#0D0718 #0D0718 #20103A #3A1D6A #552A9A

Accessibility & contrast

On white

17.55
#20103A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #20103A
17.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20103A#FFFFFF#000000##FFFFFF
##20103A1.0017.551.2017.55
#FFFFFF17.551.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00193B
Deuteranopia (green-blind)
#001939
Tritanopia (blue-blind)
#1A1923
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #20103a;
/* rgb */ color: rgb(32, 16, 58);
/* oklch */ color: oklch(22.3% 0.078 297.2);
Tailwind
colors: {
  custom: {
    50: '#5e4f70',
    500: '#20103a',
    950: '#000000',
  },
}
SCSS
$custom: #20103a;
$custom-light: #5e4f70;
$custom-dark: #000000;
JSON
{
  "hex": "#20103a",
  "rgb": {
    "r": 32,
    "g": 16,
    "b": 58
  },
  "hsl": {
    "h": 262.857,
    "s": 56.757,
    "l": 14.51
  },
  "oklch": {
    "l": 0.22262,
    "c": 0.07763,
    "h": 297.2
  },
  "luminance": 0.00983
}

Semantic roles & 50–950 ramp

primary
#20103A
secondary
#5B7432
accent
#E048A6
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#040207
muted
#79787A

Preview Lab

Preview with #20103A

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

Preview Lab → · Contrast checker → · Palette generator →

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