#3A203E#3A203E

#3A203E is a dark, moderate purple. Relative luminance 0.023; OKLCH L 29.1% C 0.063 H 322.1°. Best body text is #FFFFFF at 14.42:1 contrast (WCAG AA passes).

Color values

HEX#3A203E
RGBrgb(58, 32, 62)
HSLhsl(292, 32%, 18%)
HSVhsv(292, 48%, 24%)
CMYKcmyk(6.5%, 48.4%, 0%, 75.7%)
CIE-LABlab(16.90, 18.49, -14.09)
CIE-LCHlch(16.90, 23.25, 322.69°)
OKLaboklab(29.11% 0.0497 -0.0387)
OKLCHoklch(29.11% 0.063 322.1)
XYZxyz(3.1308, 2.2805, 4.8318)
Luminance0.0228 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A203E #243E20
analogous
#2B203E #3A203E #3E2033
triadic
#3A203E #3E3A20 #203E3A
tetradic
#3A203E #3E2B20 #243E20 #20333E
square
#3A203E #3E2B20 #243E20 #20333E
split-complementary
#3A203E #333E20 #203E2B
monochromatic
#130A14 #140B16 #3A203E #603566 #864A8F

Accessibility & contrast

On white

14.42
#3A203E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#3A203E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A203E
14.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A203E#FFFFFF#000000##FFFFFF
##3A203E1.0014.421.4614.42
#FFFFFF14.421.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C283F
Deuteranopia (green-blind)
#232B3D
Tritanopia (blue-blind)
#3B242C
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #3a203e;
/* rgb */ color: rgb(58, 32, 62);
/* oklch */ color: oklch(29.1% 0.063 322.1);
Tailwind
colors: {
  custom: {
    50: '#715c73',
    500: '#3a203e',
    950: '#000000',
  },
}
SCSS
$custom: #3a203e;
$custom-light: #715c73;
$custom-dark: #000000;
JSON
{
  "hex": "#3a203e",
  "rgb": {
    "r": 58,
    "g": 32,
    "b": 62
  },
  "hsl": {
    "h": 292,
    "s": 31.915,
    "l": 18.431
  },
  "oklch": {
    "l": 0.29111,
    "c": 0.06298,
    "h": 322.1
  },
  "luminance": 0.0228
}

Semantic roles & 50–950 ramp

primary
#3A203E
secondary
#4E7248
accent
#C8606E
background
#F6F5F7
surface
#ECE9ED
border
#C7C5C8
text
#070408
muted
#7A797B

Preview Lab

Preview with #3A203E

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

Preview Lab → · Contrast checker → · Palette generator →

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