#3A0732#3A0732

#3A0732 is a very dark, moderate purple. Relative luminance 0.013; OKLCH L 24.7% C 0.095 H 335.4°. Best body text is #FFFFFF at 16.71:1 contrast (WCAG AA passes).

Color values

HEX#3A0732
RGBrgb(58, 7, 50)
HSLhsl(309, 78%, 13%)
HSVhsv(309, 88%, 23%)
CMYKcmyk(0%, 87.9%, 13.8%, 77.3%)
CIE-LABlab(11.15, 29.60, -14.51)
CIE-LCHlch(11.15, 32.96, 333.88°)
OKLaboklab(24.67% 0.0866 -0.0397)
OKLCHoklch(24.67% 0.095 335.4)
XYZxyz(2.3967, 1.2820, 3.1382)
Luminance0.0128 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A0732 #073A0F
analogous
#28073A #3A0732 #3A0718
triadic
#3A0732 #323A07 #07323A
tetradic
#3A0732 #3A2807 #073A0F #07183A
square
#3A0732 #3A2807 #073A0F #07183A
split-complementary
#3A0732 #183A07 #073A28
monochromatic
#1B0318 #1B0318 #3A0732 #710E61 #A71490

Accessibility & contrast

On white

16.71
#3A0732 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#3A0732 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A0732
16.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A0732#FFFFFF#000000##FFFFFF
##3A07321.0016.711.2616.71
#FFFFFF16.711.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#071933
Deuteranopia (green-blind)
#1A2031
Tritanopia (blue-blind)
#3D0B1C
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #3a0732;
/* rgb */ color: rgb(58, 7, 50);
/* oklch */ color: oklch(24.7% 0.095 335.4);
Tailwind
colors: {
  custom: {
    50: '#734d6a',
    500: '#3a0732',
    950: '#000000',
  },
}
SCSS
$custom: #3a0732;
$custom-light: #734d6a;
$custom-dark: #000000;
JSON
{
  "hex": "#3a0732",
  "rgb": {
    "r": 58,
    "g": 7,
    "b": 50
  },
  "hsl": {
    "h": 309.412,
    "s": 78.462,
    "l": 12.745
  },
  "oklch": {
    "l": 0.24669,
    "c": 0.09523,
    "h": 335.4
  },
  "luminance": 0.01282
}

Semantic roles & 50–950 ramp

primary
#3A0732
secondary
#237931
accent
#F55133
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#080206
muted
#7B787A

Preview Lab

Preview with #3A0732

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

Preview Lab → · Contrast checker → · Palette generator →

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