#3A0D41#3A0D41

#3A0D41 is a dark, moderate purple. Relative luminance 0.016; OKLCH L 26.3% C 0.101 H 322.0°. Best body text is #FFFFFF at 15.98:1 contrast (WCAG AA passes).

Color values

HEX#3A0D41
RGBrgb(58, 13, 65)
HSLhsl(292, 67%, 15%)
HSVhsv(292, 80%, 25%)
CMYKcmyk(10.8%, 80%, 0%, 74.5%)
CIE-LABlab(13.04, 30.03, -22.27)
CIE-LCHlch(13.04, 37.39, 323.44°)
OKLaboklab(26.35% 0.0795 -0.0622)
OKLCHoklch(26.35% 0.101 322)
XYZxyz(2.8429, 1.5692, 5.1531)
Luminance0.0157 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A0D41 #14410D
analogous
#200D41 #3A0D41 #410D2E
triadic
#3A0D41 #413A0D #0D413A
tetradic
#3A0D41 #41200D #14410D #0D2E41
square
#3A0D41 #41200D #14410D #0D2E41
split-complementary
#3A0D41 #2E410D #0D4120
monochromatic
#17051A #17051A #3A0D41 #681774 #9521A7

Accessibility & contrast

On white

15.98
#3A0D41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A0D41
15.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A0D41#FFFFFF#000000##FFFFFF
##3A0D411.0015.981.3115.98
#FFFFFF15.981.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF15.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E42
Deuteranopia (green-blind)
#142340
Tritanopia (blue-blind)
#3B1626
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #3a0d41;
/* rgb */ color: rgb(58, 13, 65);
/* oklch */ color: oklch(26.3% 0.101 322.0);
Tailwind
colors: {
  custom: {
    50: '#725176',
    500: '#3a0d41',
    950: '#000000',
  },
}
SCSS
$custom: #3a0d41;
$custom-light: #725176;
$custom-dark: #000000;
JSON
{
  "hex": "#3a0d41",
  "rgb": {
    "r": 58,
    "g": 13,
    "b": 65
  },
  "hsl": {
    "h": 291.923,
    "s": 66.667,
    "l": 15.294
  },
  "oklch": {
    "l": 0.26346,
    "c": 0.10097,
    "h": 322
  },
  "luminance": 0.01569
}

Semantic roles & 50–950 ramp

primary
#3A0D41
secondary
#387D2D
accent
#EA3E55
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080208
muted
#7B787B

Preview Lab

Preview with #3A0D41

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

Preview Lab → · Contrast checker → · Palette generator →

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