#3A203A#3A203A

#3A203A is a dark, muted purple. Relative luminance 0.022; OKLCH L 28.9% C 0.058 H 327.0°. Best body text is #FFFFFF at 14.51:1 contrast (WCAG AA passes).

Color values

HEX#3A203A
RGBrgb(58, 32, 58)
HSLhsl(300, 29%, 18%)
HSVhsv(300, 45%, 23%)
CMYKcmyk(0%, 44.8%, 0%, 77.3%)
CIE-LABlab(16.69, 17.55, -11.61)
CIE-LCHlch(16.69, 21.04, 326.50°)
OKLaboklab(28.89% 0.0486 -0.0316)
OKLCHoklch(28.89% 0.058 327)
XYZxyz(3.0251, 2.2382, 4.2748)
Luminance0.0224 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A203A #203A20
analogous
#2D203A #3A203A #3A202D
triadic
#3A203A #3A3A20 #203A3A
tetradic
#3A203A #3A2D20 #203A20 #202D3A
square
#3A203A #3A2D20 #203A20 #202D3A
split-complementary
#3A203A #2D3A20 #203A2D
monochromatic
#140B14 #140B14 #3A203A #613661 #894C89

Accessibility & contrast

On white

14.51
#3A203A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#3A203A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A203A
14.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A203A#FFFFFF#000000##FFFFFF
##3A203A1.0014.511.4514.51
#FFFFFF14.511.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E273B
Deuteranopia (green-blind)
#252A39
Tritanopia (blue-blind)
#3B222A
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #3a203a;
/* rgb */ color: rgb(58, 32, 58);
/* oklch */ color: oklch(28.9% 0.058 327.0);
Tailwind
colors: {
  custom: {
    50: '#715c70',
    500: '#3a203a',
    950: '#000000',
  },
}
SCSS
$custom: #3a203a;
$custom-light: #715c70;
$custom-dark: #000000;
JSON
{
  "hex": "#3a203a",
  "rgb": {
    "r": 58,
    "g": 32,
    "b": 58
  },
  "hsl": {
    "h": 300,
    "s": 28.889,
    "l": 17.647
  },
  "oklch": {
    "l": 0.2889,
    "c": 0.05802,
    "h": 327
  },
  "luminance": 0.02238
}

Semantic roles & 50–950 ramp

primary
#3A203A
secondary
#496D49
accent
#C56363
background
#F6F5F6
surface
#ECE9EC
border
#C7C5C7
text
#070407
muted
#7A797A

Preview Lab

Preview with #3A203A

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

Preview Lab → · Contrast checker → · Palette generator →

#3A203A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva