#3A0839#3A0839

#3A0839 is a dark, moderate purple. Relative luminance 0.014; OKLCH L 25.2% C 0.100 H 328.9°. Best body text is #FFFFFF at 16.49:1 contrast (WCAG AA passes).

Color values

HEX#3A0839
RGBrgb(58, 8, 57)
HSLhsl(301, 76%, 13%)
HSVhsv(301, 86%, 23%)
CMYKcmyk(0%, 86.2%, 1.7%, 77.3%)
CIE-LABlab(11.75, 30.47, -18.64)
CIE-LCHlch(11.75, 35.72, 328.55°)
OKLaboklab(25.24% 0.0856 -0.0516)
OKLCHoklch(25.24% 0.1 328.9)
XYZxyz(2.5703, 1.3688, 3.9989)
Luminance0.0137 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A0839 #083A09
analogous
#22083A #3A0839 #3A0820
triadic
#3A0839 #393A08 #08393A
tetradic
#3A0839 #3A2208 #083A09 #08203A
square
#3A0839 #3A2208 #083A09 #08203A
split-complementary
#3A0839 #203A08 #083A22
monochromatic
#1B041A #1B041A #3A0839 #700F6E #A617A3

Accessibility & contrast

On white

16.49
#3A0839 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A0839
16.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A0839#FFFFFF#000000##FFFFFF
##3A08391.0016.491.2716.49
#FFFFFF16.491.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021B3A
Deuteranopia (green-blind)
#172138
Tritanopia (blue-blind)
#3C1020
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #3a0839;
/* rgb */ color: rgb(58, 8, 57);
/* oklch */ color: oklch(25.2% 0.100 328.9);
Tailwind
colors: {
  custom: {
    50: '#724e6f',
    500: '#3a0839',
    950: '#000000',
  },
}
SCSS
$custom: #3a0839;
$custom-light: #724e6f;
$custom-dark: #000000;
JSON
{
  "hex": "#3a0839",
  "rgb": {
    "r": 58,
    "g": 8,
    "b": 57
  },
  "hsl": {
    "h": 301.2,
    "s": 75.758,
    "l": 12.941
  },
  "oklch": {
    "l": 0.25243,
    "c": 0.09994,
    "h": 328.9
  },
  "luminance": 0.01369
}

Semantic roles & 50–950 ramp

primary
#3A0839
secondary
#257927
accent
#F23935
background
#F7F4F6
surface
#EDE7EC
border
#C8C3C7
text
#080207
muted
#7B787A

Preview Lab

Preview with #3A0839

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

Preview Lab → · Contrast checker → · Palette generator →

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