#3B0346#3B0346

#3B0346 is a dark, moderate purple. Relative luminance 0.014; OKLCH L 25.9% C 0.119 H 320.1°. Best body text is #FFFFFF at 16.31:1 contrast (WCAG AA passes).

Color values

HEX#3B0346
RGBrgb(59, 3, 70)
HSLhsl(290, 92%, 14%)
HSVhsv(290, 96%, 27%)
CMYKcmyk(15.7%, 95.7%, 0%, 72.5%)
CIE-LABlab(12.20, 35.41, -27.12)
CIE-LCHlch(12.20, 44.61, 322.55°)
OKLaboklab(25.92% 0.0911 -0.0763)
OKLCHoklch(25.92% 0.119 320.1)
XYZxyz(2.9415, 1.4373, 5.9156)
Luminance0.0144 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B0346 #0E4603
analogous
#1A0346 #3B0346 #460330
triadic
#3B0346 #463B03 #03463B
tetradic
#3B0346 #461A03 #0E4603 #033046
square
#3B0346 #461A03 #0E4603 #033046
split-complementary
#3B0346 #304603 #03461A
monochromatic
#19011D #19011D #3B0346 #6C0681 #9E08BB

Accessibility & contrast

On white

16.31
#3B0346 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3B0346
16.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B0346#FFFFFF#000000##FFFFFF
##3B03461.0016.311.2916.31
#FFFFFF16.311.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3b0346;
/* rgb */ color: rgb(59, 3, 70);
/* oklch */ color: oklch(25.9% 0.119 320.1);
Tailwind
colors: {
  custom: {
    50: '#744d7a',
    500: '#3b0346',
    950: '#000000',
  },
}
SCSS
$custom: #3b0346;
$custom-light: #744d7a;
$custom-dark: #000000;
JSON
{
  "hex": "#3b0346",
  "rgb": {
    "r": 59,
    "g": 3,
    "b": 70
  },
  "hsl": {
    "h": 290.149,
    "s": 91.781,
    "l": 14.314
  },
  "oklch": {
    "l": 0.25915,
    "c": 0.11882,
    "h": 320.1
  },
  "luminance": 0.01437
}

Semantic roles & 50–950 ramp

primary
#3B0346
secondary
#2F871D
accent
#FF294C
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080209
muted
#7B787B

Preview Lab

Preview with #3B0346

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

Preview Lab → · Contrast checker → · Palette generator →

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