#3B0547#3B0547

#3B0547 is a dark, moderate purple. Relative luminance 0.015; OKLCH L 26.2% C 0.117 H 319.2°. Best body text is #FFFFFF at 16.17:1 contrast (WCAG AA passes).

Color values

HEX#3B0547
RGBrgb(59, 5, 71)
HSLhsl(289, 87%, 15%)
HSVhsv(289, 93%, 28%)
CMYKcmyk(16.9%, 93%, 0%, 72.2%)
CIE-LABlab(12.57, 34.80, -27.24)
CIE-LCHlch(12.57, 44.19, 321.95°)
OKLaboklab(26.19% 0.0887 -0.0766)
OKLCHoklch(26.19% 0.117 319.2)
XYZxyz(2.9951, 1.4934, 6.0905)
Luminance0.0149 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B0547 #114705
analogous
#1A0547 #3B0547 #470532
triadic
#3B0547 #473B05 #05473B
tetradic
#3B0547 #471A05 #114705 #053247
square
#3B0547 #471A05 #114705 #053247
split-complementary
#3B0547 #324705 #05471A
monochromatic
#18021D #18021D #3B0547 #6B0980 #9A0DB9

Accessibility & contrast

On white

16.17
#3B0547 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3B0547
16.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B0547#FFFFFF#000000##FFFFFF
##3B05471.0016.171.3016.17
#FFFFFF16.171.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D49
Deuteranopia (green-blind)
#0A2246
Tritanopia (blue-blind)
#3B1527
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #3b0547;
/* rgb */ color: rgb(59, 5, 71);
/* oklch */ color: oklch(26.2% 0.117 319.2);
Tailwind
colors: {
  custom: {
    50: '#744e7b',
    500: '#3b0547',
    950: '#000000',
  },
}
SCSS
$custom: #3b0547;
$custom-light: #744e7b;
$custom-dark: #000000;
JSON
{
  "hex": "#3b0547",
  "rgb": {
    "r": 59,
    "g": 5,
    "b": 71
  },
  "hsl": {
    "h": 289.091,
    "s": 86.842,
    "l": 14.902
  },
  "oklch": {
    "l": 0.26194,
    "c": 0.11725,
    "h": 319.2
  },
  "luminance": 0.01493
}

Semantic roles & 50–950 ramp

primary
#3B0547
secondary
#338721
accent
#FD2B51
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#080209
muted
#7B787B

Preview Lab

Preview with #3B0547

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

Preview Lab → · Contrast checker → · Palette generator →

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