#3B0541#3B0541

#3B0541 is a dark, moderate purple. Relative luminance 0.014; OKLCH L 25.7% C 0.112 H 323.5°. Best body text is #FFFFFF at 16.36:1 contrast (WCAG AA passes).

Color values

HEX#3B0541
RGBrgb(59, 5, 65)
HSLhsl(294, 86%, 14%)
HSVhsv(294, 92%, 25%)
CMYKcmyk(9.2%, 92.3%, 0%, 74.5%)
CIE-LABlab(12.09, 33.56, -23.78)
CIE-LCHlch(12.09, 41.13, 324.67°)
OKLaboklab(25.71% 0.0898 -0.0665)
OKLCHoklch(25.71% 0.112 323.5)
XYZxyz(2.8120, 1.4202, 5.1260)
Luminance0.0142 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B0541 #0B4105
analogous
#1D0541 #3B0541 #410529
triadic
#3B0541 #413B05 #05413B
tetradic
#3B0541 #411D05 #0B4105 #052941
square
#3B0541 #411D05 #0B4105 #052941
split-complementary
#3B0541 #294105 #05411D
monochromatic
#1A021C #1A021C #3B0541 #6F097A #A20EB3

Accessibility & contrast

On white

16.36
#3B0541 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3B0541
16.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B0541#FFFFFF#000000##FFFFFF
##3B05411.0016.361.2816.36
#FFFFFF16.361.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C43
Deuteranopia (green-blind)
#102240
Tritanopia (blue-blind)
#3C1124
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #3b0541;
/* rgb */ color: rgb(59, 5, 65);
/* oklch */ color: oklch(25.7% 0.112 323.5);
Tailwind
colors: {
  custom: {
    50: '#744d76',
    500: '#3b0541',
    950: '#000000',
  },
}
SCSS
$custom: #3b0541;
$custom-light: #744d76;
$custom-dark: #000000;
JSON
{
  "hex": "#3b0541",
  "rgb": {
    "r": 59,
    "g": 5,
    "b": 65
  },
  "hsl": {
    "h": 294,
    "s": 85.714,
    "l": 13.725
  },
  "oklch": {
    "l": 0.2571,
    "c": 0.11176,
    "h": 323.5
  },
  "luminance": 0.0142
}

Semantic roles & 50–950 ramp

primary
#3B0541
secondary
#2A8120
accent
#FC2C41
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080208
muted
#7B787B

Preview Lab

Preview with #3B0541

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

Preview Lab → · Contrast checker → · Palette generator →

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