#3B0738#3B0738

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

Color values

HEX#3B0738
RGBrgb(59, 7, 56)
HSLhsl(303, 79%, 13%)
HSVhsv(303, 88%, 23%)
CMYKcmyk(0%, 88.1%, 5.1%, 76.9%)
CIE-LABlab(11.74, 30.96, -17.92)
CIE-LCHlch(11.74, 35.77, 329.94°)
OKLaboklab(25.26% 0.0881 -0.0495)
OKLCHoklch(25.26% 0.101 330.7)
XYZxyz(2.5934, 1.3675, 3.8680)
Luminance0.0137 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B0738 #073B0A
analogous
#24073B #3B0738 #3B071E
triadic
#3B0738 #383B07 #07383B
tetradic
#3B0738 #3B2407 #073B0A #071E3B
square
#3B0738 #3B2407 #073B0A #071E3B
split-complementary
#3B0738 #1E3B07 #073B24
monochromatic
#1B031A #1B031A #3B0738 #720D6C #A814A0

Accessibility & contrast

On white

16.49
#3B0738 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3B0738
16.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B0738#FFFFFF#000000##FFFFFF
##3B07381.0016.491.2716.49
#FFFFFF16.491.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031A39
Deuteranopia (green-blind)
#182137
Tritanopia (blue-blind)
#3E0E1F
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #3b0738;
/* rgb */ color: rgb(59, 7, 56);
/* oklch */ color: oklch(25.3% 0.101 330.7);
Tailwind
colors: {
  custom: {
    50: '#734e6f',
    500: '#3b0738',
    950: '#000000',
  },
}
SCSS
$custom: #3b0738;
$custom-light: #734e6f;
$custom-dark: #000000;
JSON
{
  "hex": "#3b0738",
  "rgb": {
    "r": 59,
    "g": 7,
    "b": 56
  },
  "hsl": {
    "h": 303.462,
    "s": 78.788,
    "l": 12.941
  },
  "oklch": {
    "l": 0.25255,
    "c": 0.10101,
    "h": 330.7
  },
  "luminance": 0.01367
}

Semantic roles & 50–950 ramp

primary
#3B0738
secondary
#237A28
accent
#F53E33
background
#F7F4F6
surface
#EDE7EC
border
#C8C3C7
text
#080207
muted
#7B787A

Preview Lab

Preview with #3B0738

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

Preview Lab → · Contrast checker → · Palette generator →

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