#3A0835#3A0835

#3A0835 is a very dark, moderate purple. Relative luminance 0.013; OKLCH L 25.0% C 0.096 H 332.5°. Best body text is #FFFFFF at 16.59:1 contrast (WCAG AA passes).

Color values

HEX#3A0835
RGBrgb(58, 8, 53)
HSLhsl(306, 76%, 13%)
HSVhsv(306, 86%, 23%)
CMYKcmyk(0%, 86.2%, 8.6%, 77.3%)
CIE-LABlab(11.49, 29.71, -16.16)
CIE-LCHlch(11.49, 33.82, 331.45°)
OKLaboklab(24.97% 0.0855 -0.0444)
OKLCHoklch(24.97% 0.096 332.5)
XYZxyz(2.4744, 1.3305, 3.4940)
Luminance0.0133 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A0835 #083A0D
analogous
#26083A #3A0835 #3A081C
triadic
#3A0835 #353A08 #08353A
tetradic
#3A0835 #3A2608 #083A0D #081C3A
square
#3A0835 #3A2608 #083A0D #081C3A
split-complementary
#3A0835 #1C3A08 #083A26
monochromatic
#1B0419 #1B0419 #3A0835 #700F66 #A61797

Accessibility & contrast

On white

16.59
#3A0835 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A0835
16.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A0835#FFFFFF#000000##FFFFFF
##3A08351.0016.591.2716.59
#FFFFFF16.591.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#061A36
Deuteranopia (green-blind)
#192134
Tritanopia (blue-blind)
#3D0D1E
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #3a0835;
/* rgb */ color: rgb(58, 8, 53);
/* oklch */ color: oklch(25.0% 0.096 332.5);
Tailwind
colors: {
  custom: {
    50: '#724e6c',
    500: '#3a0835',
    950: '#000000',
  },
}
SCSS
$custom: #3a0835;
$custom-light: #724e6c;
$custom-dark: #000000;
JSON
{
  "hex": "#3a0835",
  "rgb": {
    "r": 58,
    "g": 8,
    "b": 53
  },
  "hsl": {
    "h": 306,
    "s": 75.758,
    "l": 12.941
  },
  "oklch": {
    "l": 0.24972,
    "c": 0.09636,
    "h": 332.5
  },
  "luminance": 0.0133
}

Semantic roles & 50–950 ramp

primary
#3A0835
secondary
#25792D
accent
#F24835
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#080207
muted
#7B787A

Preview Lab

Preview with #3A0835

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

Preview Lab → · Contrast checker → · Palette generator →

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