#3B0546#3B0546

#3B0546 is a dark, moderate purple. Relative luminance 0.015; OKLCH L 26.1% C 0.116 H 319.9°. Best body text is #FFFFFF at 16.20:1 contrast (WCAG AA passes).

Color values

HEX#3B0546
RGBrgb(59, 5, 70)
HSLhsl(290, 87%, 15%)
HSVhsv(290, 93%, 27%)
CMYKcmyk(15.7%, 92.9%, 0%, 72.5%)
CIE-LABlab(12.48, 34.59, -26.67)
CIE-LCHlch(12.48, 43.68, 322.37°)
OKLaboklab(26.11% 0.0889 -0.075)
OKLCHoklch(26.11% 0.116 319.9)
XYZxyz(2.9633, 1.4807, 5.9229)
Luminance0.0148 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B0546 #104605
analogous
#1B0546 #3B0546 #460531
triadic
#3B0546 #463B05 #05463B
tetradic
#3B0546 #461B05 #104605 #053146
square
#3B0546 #461B05 #104605 #053146
split-complementary
#3B0546 #314605 #05461B
monochromatic
#18021D #18021D #3B0546 #6B097F #9B0DB8

Accessibility & contrast

On white

16.20
#3B0546 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#3B0546 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B0546
16.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B0546#FFFFFF#000000##FFFFFF
##3B05461.0016.201.3016.20
#FFFFFF16.201.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D48
Deuteranopia (green-blind)
#0B2245
Tritanopia (blue-blind)
#3B1427
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #3b0546;
/* rgb */ color: rgb(59, 5, 70);
/* oklch */ color: oklch(26.1% 0.116 319.9);
Tailwind
colors: {
  custom: {
    50: '#744e7a',
    500: '#3b0546',
    950: '#000000',
  },
}
SCSS
$custom: #3b0546;
$custom-light: #744e7a;
$custom-dark: #000000;
JSON
{
  "hex": "#3b0546",
  "rgb": {
    "r": 59,
    "g": 5,
    "b": 70
  },
  "hsl": {
    "h": 289.846,
    "s": 86.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.26111,
    "c": 0.11632,
    "h": 319.9
  },
  "luminance": 0.01481
}

Semantic roles & 50–950 ramp

primary
#3B0546
secondary
#328621
accent
#FD2B4E
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080209
muted
#7B787B

Preview Lab

Preview with #3B0546

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

Preview Lab → · Contrast checker → · Palette generator →

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