#3B0846#3B0846

#3B0846 is a dark, moderate purple. Relative luminance 0.015; OKLCH L 26.4% C 0.113 H 319.6°. Best body text is #FFFFFF at 16.04:1 contrast (WCAG AA passes).

Color values

HEX#3B0846
RGBrgb(59, 8, 70)
HSLhsl(289, 79%, 15%)
HSVhsv(289, 89%, 27%)
CMYKcmyk(15.7%, 88.6%, 0%, 72.5%)
CIE-LABlab(12.90, 33.39, -26.00)
CIE-LCHlch(12.90, 42.32, 322.09°)
OKLaboklab(26.4% 0.0858 -0.0731)
OKLCHoklch(26.4% 0.113 319.6)
XYZxyz(2.9958, 1.5458, 5.9337)
Luminance0.0155 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B0846 #134608
analogous
#1C0846 #3B0846 #460832
triadic
#3B0846 #463B08 #08463B
tetradic
#3B0846 #461C08 #134608 #083246
square
#3B0846 #461C08 #134608 #083246
split-complementary
#3B0846 #324608 #08461C
monochromatic
#17031B #17031B #3B0846 #690E7D #9815B4

Accessibility & contrast

On white

16.04
#3B0846 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3B0846
16.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B0846#FFFFFF#000000##FFFFFF
##3B08461.0016.041.3116.04
#FFFFFF16.041.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E48
Deuteranopia (green-blind)
#0D2345
Tritanopia (blue-blind)
#3B1627
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #3b0846;
/* rgb */ color: rgb(59, 8, 70);
/* oklch */ color: oklch(26.4% 0.113 319.6);
Tailwind
colors: {
  custom: {
    50: '#744f7a',
    500: '#3b0846',
    950: '#000000',
  },
}
SCSS
$custom: #3b0846;
$custom-light: #744f7a;
$custom-dark: #000000;
JSON
{
  "hex": "#3b0846",
  "rgb": {
    "r": 59,
    "g": 8,
    "b": 70
  },
  "hsl": {
    "h": 289.355,
    "s": 79.487,
    "l": 15.294
  },
  "oklch": {
    "l": 0.264,
    "c": 0.11268,
    "h": 319.6
  },
  "luminance": 0.01546
}

Semantic roles & 50–950 ramp

primary
#3B0846
secondary
#368426
accent
#F63255
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080209
muted
#7B787B

Preview Lab

Preview with #3B0846

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

Preview Lab → · Contrast checker → · Palette generator →

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