#3B0739#3B0739

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

Color values

HEX#3B0739
RGBrgb(59, 7, 57)
HSLhsl(302, 79%, 13%)
HSVhsv(302, 88%, 23%)
CMYKcmyk(0%, 88.1%, 3.4%, 76.9%)
CIE-LABlab(11.81, 31.15, -18.53)
CIE-LCHlch(11.81, 36.24, 329.25°)
OKLaboklab(25.32% 0.0881 -0.0512)
OKLCHoklch(25.32% 0.102 329.8)
XYZxyz(2.6181, 1.3774, 3.9981)
Luminance0.0138 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B0739 #073B09
analogous
#23073B #3B0739 #3B071F
triadic
#3B0739 #393B07 #07393B
tetradic
#3B0739 #3B2307 #073B09 #071F3B
square
#3B0739 #3B2307 #073B09 #071F3B
split-complementary
#3B0739 #1F3B07 #073B23
monochromatic
#1B031A #1B031A #3B0739 #720D6E #A814A3

Accessibility & contrast

On white

16.47
#3B0739 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3B0739
16.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B0739#FFFFFF#000000##FFFFFF
##3B07391.0016.471.2816.47
#FFFFFF16.471.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021B3A
Deuteranopia (green-blind)
#172238
Tritanopia (blue-blind)
#3E0F20
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #3b0739;
/* rgb */ color: rgb(59, 7, 57);
/* oklch */ color: oklch(25.3% 0.102 329.8);
Tailwind
colors: {
  custom: {
    50: '#734e6f',
    500: '#3b0739',
    950: '#000000',
  },
}
SCSS
$custom: #3b0739;
$custom-light: #734e6f;
$custom-dark: #000000;
JSON
{
  "hex": "#3b0739",
  "rgb": {
    "r": 59,
    "g": 7,
    "b": 57
  },
  "hsl": {
    "h": 302.308,
    "s": 78.788,
    "l": 12.941
  },
  "oklch": {
    "l": 0.25324,
    "c": 0.10189,
    "h": 329.8
  },
  "luminance": 0.01377
}

Semantic roles & 50–950 ramp

primary
#3B0739
secondary
#237A27
accent
#F53A33
background
#F7F4F6
surface
#EDE7EC
border
#C8C3C7
text
#080207
muted
#7B787A

Preview Lab

Preview with #3B0739

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

Preview Lab → · Contrast checker → · Palette generator →

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