#3B0D48#3B0D48

#3B0D48 is a dark, moderate purple. Relative luminance 0.017; OKLCH L 27.0% C 0.109 H 317.6°. Best body text is #FFFFFF at 15.70:1 contrast (WCAG AA passes).

Color values

HEX#3B0D48
RGBrgb(59, 13, 72)
HSLhsl(287, 69%, 17%)
HSVhsv(287, 82%, 28%)
CMYKcmyk(18.1%, 81.9%, 0%, 71.8%)
CIE-LABlab(13.74, 31.84, -26.04)
CIE-LCHlch(13.74, 41.13, 320.73°)
OKLaboklab(27.05% 0.0803 -0.0732)
OKLCHoklch(27.05% 0.109 317.6)
XYZxyz(3.1171, 1.6857, 6.2908)
Luminance0.0169 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B0D48 #1A480D
analogous
#1E0D48 #3B0D48 #480D38
triadic
#3B0D48 #483B0D #0D483B
tetradic
#3B0D48 #481E0D #1A480D #0D3848
square
#3B0D48 #481E0D #1A480D #0D3848
split-complementary
#3B0D48 #38480D #0D481E
monochromatic
#15051A #15051A #3B0D48 #65167C #9020B0

Accessibility & contrast

On white

15.70
#3B0D48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#3B0D48 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B0D48
15.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B0D48#FFFFFF#000000##FFFFFF
##3B0D481.0015.701.3415.70
#FFFFFF15.701.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00204A
Deuteranopia (green-blind)
#0F2447
Tritanopia (blue-blind)
#3A192A
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #3b0d48;
/* rgb */ color: rgb(59, 13, 72);
/* oklch */ color: oklch(27.0% 0.109 317.6);
Tailwind
colors: {
  custom: {
    50: '#73517b',
    500: '#3b0d48',
    950: '#000000',
  },
}
SCSS
$custom: #3b0d48;
$custom-light: #73517b;
$custom-dark: #000000;
JSON
{
  "hex": "#3b0d48",
  "rgb": {
    "r": 59,
    "g": 13,
    "b": 72
  },
  "hsl": {
    "h": 286.78,
    "s": 69.412,
    "l": 16.667
  },
  "oklch": {
    "l": 0.27049,
    "c": 0.10866,
    "h": 317.6
  },
  "luminance": 0.01686
}

Semantic roles & 50–950 ramp

primary
#3B0D48
secondary
#40832D
accent
#EC3C62
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#080209
muted
#7B787B

Preview Lab

Preview with #3B0D48

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

Preview Lab → · Contrast checker → · Palette generator →

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