#3B0939#3B0939

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

Color values

HEX#3B0939
RGBrgb(59, 9, 57)
HSLhsl(302, 74%, 13%)
HSVhsv(302, 85%, 23%)
CMYKcmyk(0%, 84.7%, 3.4%, 76.9%)
CIE-LABlab(12.10, 30.32, -18.07)
CIE-LCHlch(12.10, 35.30, 329.20°)
OKLaboklab(25.53% 0.0857 -0.0499)
OKLCHoklch(25.53% 0.099 329.8)
XYZxyz(2.6398, 1.4208, 4.0053)
Luminance0.0142 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B0939 #093B0B
analogous
#24093B #3B0939 #3B0920
triadic
#3B0939 #393B09 #09393B
tetradic
#3B0939 #3B2409 #093B0B #09203B
square
#3B0939 #3B2409 #093B0B #09203B
split-complementary
#3B0939 #203B09 #093B24
monochromatic
#1B041A #1B041A #3B0939 #70116C #A519A0

Accessibility & contrast

On white

16.35
#3B0939 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#3B0939 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B0939
16.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B0939#FFFFFF#000000##FFFFFF
##3B09391.0016.351.2816.35
#FFFFFF16.351.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#041B3A
Deuteranopia (green-blind)
#182238
Tritanopia (blue-blind)
#3D1020
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #3b0939;
/* rgb */ color: rgb(59, 9, 57);
/* oklch */ color: oklch(25.5% 0.099 329.8);
Tailwind
colors: {
  custom: {
    50: '#734f6f',
    500: '#3b0939',
    950: '#000000',
  },
}
SCSS
$custom: #3b0939;
$custom-light: #734f6f;
$custom-dark: #000000;
JSON
{
  "hex": "#3b0939",
  "rgb": {
    "r": 59,
    "g": 9,
    "b": 57
  },
  "hsl": {
    "h": 302.4,
    "s": 73.529,
    "l": 13.333
  },
  "oklch": {
    "l": 0.2553,
    "c": 0.09918,
    "h": 329.8
  },
  "luminance": 0.01421
}

Semantic roles & 50–950 ramp

primary
#3B0939
secondary
#27792A
accent
#F03F38
background
#F7F4F6
surface
#EDE7EC
border
#C8C3C7
text
#080207
muted
#7B787A

Preview Lab

Preview with #3B0939

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

Preview Lab → · Contrast checker → · Palette generator →

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