#3A0836#3A0836

#3A0836 is a dark, moderate purple. Relative luminance 0.013; OKLCH L 25.0% C 0.097 H 331.6°. Best body text is #FFFFFF at 16.56:1 contrast (WCAG AA passes).

Color values

HEX#3A0836
RGBrgb(58, 8, 54)
HSLhsl(305, 76%, 13%)
HSVhsv(305, 86%, 23%)
CMYKcmyk(0%, 86.2%, 6.9%, 77.3%)
CIE-LABlab(11.55, 29.90, -16.79)
CIE-LCHlch(11.55, 34.29, 330.68°)
OKLaboklab(25.04% 0.0856 -0.0462)
OKLCHoklch(25.04% 0.097 331.6)
XYZxyz(2.4976, 1.3398, 3.6164)
Luminance0.0134 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A0836 #083A0C
analogous
#25083A #3A0836 #3A081D
triadic
#3A0836 #363A08 #08363A
tetradic
#3A0836 #3A2508 #083A0C #081D3A
square
#3A0836 #3A2508 #083A0C #081D3A
split-complementary
#3A0836 #1D3A08 #083A25
monochromatic
#1B0419 #1B0419 #3A0836 #700F68 #A6179A

Accessibility & contrast

On white

16.56
#3A0836 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#3A0836 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A0836
16.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A0836#FFFFFF#000000##FFFFFF
##3A08361.0016.561.2716.56
#FFFFFF16.561.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#051A37
Deuteranopia (green-blind)
#182135
Tritanopia (blue-blind)
#3D0E1E
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #3a0836;
/* rgb */ color: rgb(58, 8, 54);
/* oklch */ color: oklch(25.0% 0.097 331.6);
Tailwind
colors: {
  custom: {
    50: '#724e6d',
    500: '#3a0836',
    950: '#000000',
  },
}
SCSS
$custom: #3a0836;
$custom-light: #724e6d;
$custom-dark: #000000;
JSON
{
  "hex": "#3a0836",
  "rgb": {
    "r": 58,
    "g": 8,
    "b": 54
  },
  "hsl": {
    "h": 304.8,
    "s": 75.758,
    "l": 12.941
  },
  "oklch": {
    "l": 0.25038,
    "c": 0.09725,
    "h": 331.6
  },
  "luminance": 0.0134
}

Semantic roles & 50–950 ramp

primary
#3A0836
secondary
#25792C
accent
#F24535
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#080207
muted
#7B787A

Preview Lab

Preview with #3A0836

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

Preview Lab → · Contrast checker → · Palette generator →

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