#3B0847#3B0847

#3B0847 is a dark, moderate purple. Relative luminance 0.016; OKLCH L 26.5% C 0.114 H 318.9°. Best body text is #FFFFFF at 16.01:1 contrast (WCAG AA passes).

Color values

HEX#3B0847
RGBrgb(59, 8, 71)
HSLhsl(289, 80%, 15%)
HSVhsv(289, 89%, 28%)
CMYKcmyk(16.9%, 88.7%, 0%, 72.2%)
CIE-LABlab(12.98, 33.60, -26.58)
CIE-LCHlch(12.98, 42.84, 321.66°)
OKLaboklab(26.48% 0.0856 -0.0747)
OKLCHoklch(26.48% 0.114 318.9)
XYZxyz(3.0276, 1.5586, 6.1014)
Luminance0.0156 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B0847 #144708
analogous
#1B0847 #3B0847 #470833
triadic
#3B0847 #473B08 #08473B
tetradic
#3B0847 #471B08 #144708 #083347
square
#3B0847 #471B08 #144708 #083347
split-complementary
#3B0847 #334708 #08471B
monochromatic
#17031C #17031C #3B0847 #690E7E #9614B5

Accessibility & contrast

On white

16.01
#3B0847 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3B0847
16.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B0847#FFFFFF#000000##FFFFFF
##3B08471.0016.011.3116.01
#FFFFFF16.011.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E49
Deuteranopia (green-blind)
#0C2346
Tritanopia (blue-blind)
#3B1628
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #3b0847;
/* rgb */ color: rgb(59, 8, 71);
/* oklch */ color: oklch(26.5% 0.114 318.9);
Tailwind
colors: {
  custom: {
    50: '#744f7b',
    500: '#3b0847',
    950: '#000000',
  },
}
SCSS
$custom: #3b0847;
$custom-light: #744f7b;
$custom-dark: #000000;
JSON
{
  "hex": "#3b0847",
  "rgb": {
    "r": 59,
    "g": 8,
    "b": 71
  },
  "hsl": {
    "h": 288.571,
    "s": 79.747,
    "l": 15.49
  },
  "oklch": {
    "l": 0.26481,
    "c": 0.11364,
    "h": 318.9
  },
  "luminance": 0.01558
}

Semantic roles & 50–950 ramp

primary
#3B0847
secondary
#388526
accent
#F63257
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#080209
muted
#7B787B

Preview Lab

Preview with #3B0847

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

Preview Lab → · Contrast checker → · Palette generator →

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