#3A0332#3A0332

#3A0332 is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 24.2% C 0.101 H 335.2°. Best body text is #FFFFFF at 16.95:1 contrast (WCAG AA passes).

Color values

HEX#3A0332
RGBrgb(58, 3, 50)
HSLhsl(309, 90%, 12%)
HSVhsv(309, 95%, 23%)
CMYKcmyk(0%, 94.8%, 13.8%, 77.3%)
CIE-LABlab(10.52, 31.41, -15.50)
CIE-LCHlch(10.52, 35.03, 333.74°)
OKLaboklab(24.22% 0.092 -0.0424)
OKLCHoklch(24.22% 0.101 335.2)
XYZxyz(2.3532, 1.1952, 3.1238)
Luminance0.0120 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A0332 #033A0B
analogous
#27033A #3A0332 #3A0317
triadic
#3A0332 #323A03 #03323A
tetradic
#3A0332 #3A2703 #033A0B #03173A
square
#3A0332 #3A2703 #033A0B #03173A
split-complementary
#3A0332 #173A03 #033A27
monochromatic
#1D0219 #1D0219 #3A0332 #740664 #AE0996

Accessibility & contrast

On white

16.95
#3A0332 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#3A0332 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A0332
16.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A0332#FFFFFF#000000##FFFFFF
##3A03321.0016.951.2416.95
#FFFFFF16.951.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031733
Deuteranopia (green-blind)
#181F31
Tritanopia (blue-blind)
#3D071A
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #3a0332;
/* rgb */ color: rgb(58, 3, 50);
/* oklch */ color: oklch(24.2% 0.101 335.2);
Tailwind
colors: {
  custom: {
    50: '#734b6a',
    500: '#3a0332',
    950: '#000000',
  },
}
SCSS
$custom: #3a0332;
$custom-light: #734b6a;
$custom-dark: #000000;
JSON
{
  "hex": "#3a0332",
  "rgb": {
    "r": 58,
    "g": 3,
    "b": 50
  },
  "hsl": {
    "h": 308.727,
    "s": 90.164,
    "l": 11.961
  },
  "oklch": {
    "l": 0.2422,
    "c": 0.10129,
    "h": 335.2
  },
  "luminance": 0.01195
}

Semantic roles & 50–950 ramp

primary
#3A0332
secondary
#1C7D2A
accent
#FF4829
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#080106
muted
#7B777A

Preview Lab

Preview with #3A0332

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

Preview Lab → · Contrast checker → · Palette generator →

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