#3A0832#3A0832

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

Color values

HEX#3A0832
RGBrgb(58, 8, 50)
HSLhsl(310, 76%, 13%)
HSVhsv(310, 86%, 23%)
CMYKcmyk(0%, 86.2%, 13.8%, 77.3%)
CIE-LABlab(11.30, 29.16, -14.27)
CIE-LCHlch(11.30, 32.47, 333.92°)
OKLaboklab(24.78% 0.0853 -0.039)
OKLCHoklch(24.78% 0.094 335.4)
XYZxyz(2.4075, 1.3037, 3.1418)
Luminance0.0130 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A0832 #083A10
analogous
#29083A #3A0832 #3A0819
triadic
#3A0832 #323A08 #08323A
tetradic
#3A0832 #3A2908 #083A10 #08193A
square
#3A0832 #3A2908 #083A10 #08193A
split-complementary
#3A0832 #193A08 #083A29
monochromatic
#1B0417 #1B0417 #3A0832 #700F60 #A6178F

Accessibility & contrast

On white

16.66
#3A0832 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A0832
16.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A0832#FFFFFF#000000##FFFFFF
##3A08321.0016.661.2616.66
#FFFFFF16.661.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#081933
Deuteranopia (green-blind)
#1A2131
Tritanopia (blue-blind)
#3D0C1C
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #3a0832;
/* rgb */ color: rgb(58, 8, 50);
/* oklch */ color: oklch(24.8% 0.094 335.4);
Tailwind
colors: {
  custom: {
    50: '#724e6a',
    500: '#3a0832',
    950: '#000000',
  },
}
SCSS
$custom: #3a0832;
$custom-light: #724e6a;
$custom-dark: #000000;
JSON
{
  "hex": "#3a0832",
  "rgb": {
    "r": 58,
    "g": 8,
    "b": 50
  },
  "hsl": {
    "h": 309.6,
    "s": 75.758,
    "l": 12.941
  },
  "oklch": {
    "l": 0.24778,
    "c": 0.09378,
    "h": 335.4
  },
  "luminance": 0.01303
}

Semantic roles & 50–950 ramp

primary
#3A0832
secondary
#257932
accent
#F25435
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#080206
muted
#7B787A

Preview Lab

Preview with #3A0832

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

Preview Lab → · Contrast checker → · Palette generator →

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