#3B0849#3B0849

#3B0849 is a dark, moderate purple. Relative luminance 0.016; OKLCH L 26.6% C 0.116 H 317.5°. Best body text is #FFFFFF at 15.95:1 contrast (WCAG AA passes).

Color values

HEX#3B0849
RGBrgb(59, 8, 73)
HSLhsl(287, 80%, 16%)
HSVhsv(287, 89%, 29%)
CMYKcmyk(19.2%, 89%, 0%, 71.4%)
CIE-LABlab(13.14, 34.04, -27.71)
CIE-LCHlch(13.14, 43.89, 320.85°)
OKLaboklab(26.65% 0.0852 -0.0781)
OKLCHoklch(26.65% 0.116 317.5)
XYZxyz(3.0929, 1.5847, 6.4450)
Luminance0.0158 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B0849 #164908
analogous
#1A0849 #3B0849 #490836
triadic
#3B0849 #493B08 #08493B
tetradic
#3B0849 #491A08 #164908 #083649
square
#3B0849 #491A08 #164908 #083649
split-complementary
#3B0849 #364908 #08491A
monochromatic
#16031C #16031C #3B0849 #680E80 #9414B7

Accessibility & contrast

On white

15.95
#3B0849 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#3B0849 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B0849
15.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B0849#FFFFFF#000000##FFFFFF
##3B08491.0015.951.3215.95
#FFFFFF15.951.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F4B
Deuteranopia (green-blind)
#0A2348
Tritanopia (blue-blind)
#3A1729
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #3b0849;
/* rgb */ color: rgb(59, 8, 73);
/* oklch */ color: oklch(26.6% 0.116 317.5);
Tailwind
colors: {
  custom: {
    50: '#744f7c',
    500: '#3b0849',
    950: '#000000',
  },
}
SCSS
$custom: #3b0849;
$custom-light: #744f7c;
$custom-dark: #000000;
JSON
{
  "hex": "#3b0849",
  "rgb": {
    "r": 59,
    "g": 8,
    "b": 73
  },
  "hsl": {
    "h": 287.077,
    "s": 80.247,
    "l": 15.882
  },
  "oklch": {
    "l": 0.26645,
    "c": 0.11557,
    "h": 317.5
  },
  "luminance": 0.01585
}

Semantic roles & 50–950 ramp

primary
#3B0849
secondary
#3B8726
accent
#F7315C
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#080209
muted
#7B787B

Preview Lab

Preview with #3B0849

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

Preview Lab → · Contrast checker → · Palette generator →

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