#3A0541#3A0541

#3A0541 is a dark, moderate purple. Relative luminance 0.014; OKLCH L 25.5% C 0.111 H 322.6°. Best body text is #FFFFFF at 16.43:1 contrast (WCAG AA passes).

Color values

HEX#3A0541
RGBrgb(58, 5, 65)
HSLhsl(293, 86%, 14%)
HSVhsv(293, 92%, 25%)
CMYKcmyk(10.8%, 92.3%, 0%, 74.5%)
CIE-LABlab(11.89, 33.34, -24.12)
CIE-LCHlch(11.89, 41.15, 324.12°)
OKLaboklab(25.53% 0.0885 -0.0675)
OKLCHoklch(25.53% 0.111 322.6)
XYZxyz(2.7532, 1.3899, 5.1233)
Luminance0.0139 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A0541 #0C4105
analogous
#1C0541 #3A0541 #41052A
triadic
#3A0541 #413A05 #05413A
tetradic
#3A0541 #411C05 #0C4105 #052A41
square
#3A0541 #411C05 #0C4105 #052A41
split-complementary
#3A0541 #2A4105 #05411C
monochromatic
#19021C #19021C #3A0541 #6D097A #9F0EB3

Accessibility & contrast

On white

16.43
#3A0541 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#3A0541 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A0541
16.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A0541#FFFFFF#000000##FFFFFF
##3A05411.0016.431.2816.43
#FFFFFF16.431.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B43
Deuteranopia (green-blind)
#0F2140
Tritanopia (blue-blind)
#3B1224
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #3a0541;
/* rgb */ color: rgb(58, 5, 65);
/* oklch */ color: oklch(25.5% 0.111 322.6);
Tailwind
colors: {
  custom: {
    50: '#734d76',
    500: '#3a0541',
    950: '#000000',
  },
}
SCSS
$custom: #3a0541;
$custom-light: #734d76;
$custom-dark: #000000;
JSON
{
  "hex": "#3a0541",
  "rgb": {
    "r": 58,
    "g": 5,
    "b": 65
  },
  "hsl": {
    "h": 293,
    "s": 85.714,
    "l": 13.725
  },
  "oklch": {
    "l": 0.2553,
    "c": 0.1113,
    "h": 322.6
  },
  "luminance": 0.0139
}

Semantic roles & 50–950 ramp

primary
#3A0541
secondary
#2C8120
accent
#FC2C44
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080208
muted
#7B787B

Preview Lab

Preview with #3A0541

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

Preview Lab → · Contrast checker → · Palette generator →

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