#3A0849#3A0849

#3A0849 is a dark, moderate purple. Relative luminance 0.016; OKLCH L 26.5% C 0.115 H 316.7°. Best body text is #FFFFFF at 16.02:1 contrast (WCAG AA passes).

Color values

HEX#3A0849
RGBrgb(58, 8, 73)
HSLhsl(286, 80%, 16%)
HSVhsv(286, 89%, 29%)
CMYKcmyk(20.5%, 89%, 0%, 71.4%)
CIE-LABlab(12.95, 33.83, -28.02)
CIE-LCHlch(12.95, 43.93, 320.37°)
OKLaboklab(26.48% 0.0838 -0.079)
OKLCHoklch(26.48% 0.115 316.7)
XYZxyz(3.0342, 1.5544, 6.4422)
Luminance0.0155 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A0849 #174908
analogous
#190849 #3A0849 #490837
triadic
#3A0849 #493A08 #08493A
tetradic
#3A0849 #491908 #174908 #083749
square
#3A0849 #491908 #174908 #083749
split-complementary
#3A0849 #374908 #084919
monochromatic
#16031C #16031C #3A0849 #660E80 #9214B7

Accessibility & contrast

On white

16.02
#3A0849 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#3A0849 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A0849
16.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A0849#FFFFFF#000000##FFFFFF
##3A08491.0016.021.3116.02
#FFFFFF16.021.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F4B
Deuteranopia (green-blind)
#082348
Tritanopia (blue-blind)
#391729
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #3a0849;
/* rgb */ color: rgb(58, 8, 73);
/* oklch */ color: oklch(26.5% 0.115 316.7);
Tailwind
colors: {
  custom: {
    50: '#734f7c',
    500: '#3a0849',
    950: '#000000',
  },
}
SCSS
$custom: #3a0849;
$custom-light: #734f7c;
$custom-dark: #000000;
JSON
{
  "hex": "#3a0849",
  "rgb": {
    "r": 58,
    "g": 8,
    "b": 73
  },
  "hsl": {
    "h": 286.154,
    "s": 80.247,
    "l": 15.882
  },
  "oklch": {
    "l": 0.26477,
    "c": 0.11517,
    "h": 316.7
  },
  "luminance": 0.01554
}

Semantic roles & 50–950 ramp

primary
#3A0849
secondary
#3C8726
accent
#F7315F
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#080209
muted
#7B787B

Preview Lab

Preview with #3A0849

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

Preview Lab → · Contrast checker → · Palette generator →

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