#3B0446#3B0446

#3B0446 is a dark, moderate purple. Relative luminance 0.015; OKLCH L 26.0% C 0.118 H 320.0°. Best body text is #FFFFFF at 16.26:1 contrast (WCAG AA passes).

Color values

HEX#3B0446
RGBrgb(59, 4, 70)
HSLhsl(290, 89%, 15%)
HSVhsv(290, 94%, 27%)
CMYKcmyk(15.7%, 94.3%, 0%, 72.5%)
CIE-LABlab(12.35, 35.00, -26.89)
CIE-LCHlch(12.35, 44.14, 322.46°)
OKLaboklab(26.01% 0.09 -0.0756)
OKLCHoklch(26.01% 0.118 320)
XYZxyz(2.9524, 1.4590, 5.9193)
Luminance0.0146 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B0446 #0F4604
analogous
#1A0446 #3B0446 #460430
triadic
#3B0446 #463B04 #04463B
tetradic
#3B0446 #461A04 #0F4604 #043046
square
#3B0446 #461A04 #0F4604 #043046
split-complementary
#3B0446 #304604 #04461A
monochromatic
#18021D #18021D #3B0446 #6C0780 #9D0BBA

Accessibility & contrast

On white

16.26
#3B0446 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#3B0446 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B0446
16.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B0446#FFFFFF#000000##FFFFFF
##3B04461.0016.261.2916.26
#FFFFFF16.261.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3b0446;
/* rgb */ color: rgb(59, 4, 70);
/* oklch */ color: oklch(26.0% 0.118 320.0);
Tailwind
colors: {
  custom: {
    50: '#744d7a',
    500: '#3b0446',
    950: '#000000',
  },
}
SCSS
$custom: #3b0446;
$custom-light: #744d7a;
$custom-dark: #000000;
JSON
{
  "hex": "#3b0446",
  "rgb": {
    "r": 59,
    "g": 4,
    "b": 70
  },
  "hsl": {
    "h": 290,
    "s": 89.189,
    "l": 14.51
  },
  "oklch": {
    "l": 0.26013,
    "c": 0.11756,
    "h": 320
  },
  "luminance": 0.01459
}

Semantic roles & 50–950 ramp

primary
#3B0446
secondary
#30871F
accent
#FF294D
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080209
muted
#7B787B

Preview Lab

Preview with #3B0446

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

Preview Lab → · Contrast checker → · Palette generator →

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