#3A0632#3A0632

#3A0632 is a very dark, moderate purple. Relative luminance 0.013; OKLCH L 24.6% C 0.097 H 335.3°. Best body text is #FFFFFF at 16.77:1 contrast (WCAG AA passes).

Color values

HEX#3A0632
RGBrgb(58, 6, 50)
HSLhsl(309, 81%, 13%)
HSVhsv(309, 90%, 23%)
CMYKcmyk(0%, 89.7%, 13.8%, 77.3%)
CIE-LABlab(10.99, 30.04, -14.75)
CIE-LCHlch(10.99, 33.47, 333.84°)
OKLaboklab(24.56% 0.0879 -0.0403)
OKLCHoklch(24.56% 0.097 335.3)
XYZxyz(2.3858, 1.2603, 3.1346)
Luminance0.0126 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A0632 #063A0E
analogous
#28063A #3A0632 #3A0618
triadic
#3A0632 #323A06 #06323A
tetradic
#3A0632 #3A2806 #063A0E #06183A
square
#3A0632 #3A2806 #063A0E #06183A
split-complementary
#3A0632 #183A06 #063A28
monochromatic
#1C0318 #1C0318 #3A0632 #710C62 #A91192

Accessibility & contrast

On white

16.77
#3A0632 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#3A0632 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A0632
16.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A0632#FFFFFF#000000##FFFFFF
##3A06321.0016.771.2516.77
#FFFFFF16.771.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#061933
Deuteranopia (green-blind)
#192031
Tritanopia (blue-blind)
#3D0A1B
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #3a0632;
/* rgb */ color: rgb(58, 6, 50);
/* oklch */ color: oklch(24.6% 0.097 335.3);
Tailwind
colors: {
  custom: {
    50: '#734d6a',
    500: '#3a0632',
    950: '#000000',
  },
}
SCSS
$custom: #3a0632;
$custom-light: #734d6a;
$custom-dark: #000000;
JSON
{
  "hex": "#3a0632",
  "rgb": {
    "r": 58,
    "g": 6,
    "b": 50
  },
  "hsl": {
    "h": 309.231,
    "s": 81.25,
    "l": 12.549
  },
  "oklch": {
    "l": 0.24558,
    "c": 0.09671,
    "h": 335.3
  },
  "luminance": 0.0126
}

Semantic roles & 50–950 ramp

primary
#3A0632
secondary
#227A2F
accent
#F84F30
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#080106
muted
#7B777A

Preview Lab

Preview with #3A0632

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

Preview Lab → · Contrast checker → · Palette generator →

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