#3A203C#3A203C

#3A203C is a dark, moderate purple. Relative luminance 0.023; OKLCH L 29.0% C 0.060 H 324.4°. Best body text is #FFFFFF at 14.46:1 contrast (WCAG AA passes).

Color values

HEX#3A203C
RGBrgb(58, 32, 60)
HSLhsl(296, 30%, 18%)
HSVhsv(296, 47%, 24%)
CMYKcmyk(3.3%, 46.7%, 0%, 76.5%)
CIE-LABlab(16.79, 18.01, -12.86)
CIE-LCHlch(16.79, 22.13, 324.48°)
OKLaboklab(29% 0.0492 -0.0352)
OKLCHoklch(29% 0.06 324.4)
XYZxyz(3.0770, 2.2589, 4.5480)
Luminance0.0226 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A203C #223C20
analogous
#2C203C #3A203C #3C2030
triadic
#3A203C #3C3A20 #203C3A
tetradic
#3A203C #3C2C20 #223C20 #20303C
square
#3A203C #3C2C20 #223C20 #20303C
split-complementary
#3A203C #303C20 #203C2C
monochromatic
#130B14 #130B14 #3A203C #613564 #874B8C

Accessibility & contrast

On white

14.46
#3A203C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A203C
14.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A203C#FFFFFF#000000##FFFFFF
##3A203C1.0014.461.4514.46
#FFFFFF14.461.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D273D
Deuteranopia (green-blind)
#242B3B
Tritanopia (blue-blind)
#3B232B
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #3a203c;
/* rgb */ color: rgb(58, 32, 60);
/* oklch */ color: oklch(29.0% 0.060 324.4);
Tailwind
colors: {
  custom: {
    50: '#715c71',
    500: '#3a203c',
    950: '#000000',
  },
}
SCSS
$custom: #3a203c;
$custom-light: #715c71;
$custom-dark: #000000;
JSON
{
  "hex": "#3a203c",
  "rgb": {
    "r": 58,
    "g": 32,
    "b": 60
  },
  "hsl": {
    "h": 295.714,
    "s": 30.435,
    "l": 18.039
  },
  "oklch": {
    "l": 0.28999,
    "c": 0.06047,
    "h": 324.4
  },
  "luminance": 0.02259
}

Semantic roles & 50–950 ramp

primary
#3A203C
secondary
#4B6F48
accent
#C76168
background
#F6F5F6
surface
#ECE9EC
border
#C7C5C7
text
#070407
muted
#7A797A

Preview Lab

Preview with #3A203C

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

Preview Lab → · Contrast checker → · Palette generator →

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