#3A0D46#3A0D46

#3A0D46 is a dark, moderate purple. Relative luminance 0.016; OKLCH L 26.7% C 0.106 H 318.2°. Best body text is #FFFFFF at 15.84:1 contrast (WCAG AA passes).

Color values

HEX#3A0D46
RGBrgb(58, 13, 70)
HSLhsl(287, 69%, 16%)
HSVhsv(287, 81%, 27%)
CMYKcmyk(17.1%, 81.4%, 0%, 72.5%)
CIE-LABlab(13.41, 31.15, -25.19)
CIE-LCHlch(13.41, 40.06, 321.04°)
OKLaboklab(26.73% 0.0791 -0.0707)
OKLCHoklch(26.73% 0.106 318.2)
XYZxyz(2.9942, 1.6297, 5.9500)
Luminance0.0163 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A0D46 #19460D
analogous
#1E0D46 #3A0D46 #460D36
triadic
#3A0D46 #463A0D #0D463A
tetradic
#3A0D46 #461E0D #19460D #0D3646
square
#3A0D46 #461E0D #19460D #0D3646
split-complementary
#3A0D46 #36460D #0D461E
monochromatic
#15051A #15051A #3A0D46 #65177A #9020AD

Accessibility & contrast

On white

15.84
#3A0D46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#3A0D46 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A0D46
15.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A0D46#FFFFFF#000000##FFFFFF
##3A0D461.0015.841.3315.84
#FFFFFF15.841.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002048
Deuteranopia (green-blind)
#102445
Tritanopia (blue-blind)
#3A1928
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #3a0d46;
/* rgb */ color: rgb(58, 13, 70);
/* oklch */ color: oklch(26.7% 0.106 318.2);
Tailwind
colors: {
  custom: {
    50: '#73517a',
    500: '#3a0d46',
    950: '#000000',
  },
}
SCSS
$custom: #3a0d46;
$custom-light: #73517a;
$custom-dark: #000000;
JSON
{
  "hex": "#3a0d46",
  "rgb": {
    "r": 58,
    "g": 13,
    "b": 70
  },
  "hsl": {
    "h": 287.368,
    "s": 68.675,
    "l": 16.275
  },
  "oklch": {
    "l": 0.26727,
    "c": 0.10612,
    "h": 318.2
  },
  "luminance": 0.0163
}

Semantic roles & 50–950 ramp

primary
#3A0D46
secondary
#3F812D
accent
#EC3C61
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080209
muted
#7B787B

Preview Lab

Preview with #3A0D46

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

Preview Lab → · Contrast checker → · Palette generator →

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