#3B0639#3B0639

#3B0639 is a dark, moderate purple. Relative luminance 0.014; OKLCH L 25.2% C 0.103 H 329.8°. Best body text is #FFFFFF at 16.52:1 contrast (WCAG AA passes).

Color values

HEX#3B0639
RGBrgb(59, 6, 57)
HSLhsl(302, 82%, 13%)
HSVhsv(302, 90%, 23%)
CMYKcmyk(0%, 89.8%, 3.4%, 76.9%)
CIE-LABlab(11.66, 31.57, -18.77)
CIE-LCHlch(11.66, 36.73, 329.27°)
OKLaboklab(25.22% 0.0893 -0.0519)
OKLCHoklch(25.22% 0.103 329.8)
XYZxyz(2.6073, 1.3557, 3.9945)
Luminance0.0135 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B0639 #063B08
analogous
#22063B #3B0639 #3B061E
triadic
#3B0639 #393B06 #06393B
tetradic
#3B0639 #3B2206 #063B08 #061E3B
square
#3B0639 #3B2206 #063B08 #061E3B
split-complementary
#3B0639 #1E3B06 #063B22
monochromatic
#1C031B #1C031B #3B0639 #730C6F #AA11A4

Accessibility & contrast

On white

16.52
#3B0639 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#3B0639 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B0639
16.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B0639#FFFFFF#000000##FFFFFF
##3B06391.0016.521.2716.52
#FFFFFF16.521.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#011A3A
Deuteranopia (green-blind)
#172138
Tritanopia (blue-blind)
#3E0E1F
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #3b0639;
/* rgb */ color: rgb(59, 6, 57);
/* oklch */ color: oklch(25.2% 0.103 329.8);
Tailwind
colors: {
  custom: {
    50: '#734d6f',
    500: '#3b0639',
    950: '#000000',
  },
}
SCSS
$custom: #3b0639;
$custom-light: #734d6f;
$custom-dark: #000000;
JSON
{
  "hex": "#3b0639",
  "rgb": {
    "r": 59,
    "g": 6,
    "b": 57
  },
  "hsl": {
    "h": 302.264,
    "s": 81.538,
    "l": 12.745
  },
  "oklch": {
    "l": 0.25219,
    "c": 0.10327,
    "h": 329.8
  },
  "luminance": 0.01355
}

Semantic roles & 50–950 ramp

primary
#3B0639
secondary
#227B25
accent
#F83730
background
#F7F4F6
surface
#EDE7EC
border
#C8C3C7
text
#080207
muted
#7B787A

Preview Lab

Preview with #3B0639

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

Preview Lab → · Contrast checker → · Palette generator →

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