#3B0E48#3B0E48

#3B0E48 is a dark, moderate purple. Relative luminance 0.017; OKLCH L 27.2% C 0.107 H 317.5°. Best body text is #FFFFFF at 15.64:1 contrast (WCAG AA passes).

Color values

HEX#3B0E48
RGBrgb(59, 14, 72)
HSLhsl(287, 67%, 17%)
HSVhsv(287, 81%, 28%)
CMYKcmyk(18.1%, 80.6%, 0%, 71.8%)
CIE-LABlab(13.90, 31.41, -25.79)
CIE-LCHlch(13.90, 40.64, 320.61°)
OKLaboklab(27.16% 0.0792 -0.0725)
OKLCHoklch(27.16% 0.107 317.5)
XYZxyz(3.1302, 1.7119, 6.2952)
Luminance0.0171 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B0E48 #1B480E
analogous
#1E0E48 #3B0E48 #480E38
triadic
#3B0E48 #483B0E #0E483B
tetradic
#3B0E48 #481E0E #1B480E #0E3848
square
#3B0E48 #481E0E #1B480E #0E3848
split-complementary
#3B0E48 #38480E #0E481E
monochromatic
#15051A #15051A #3B0E48 #65187B #8F22AE

Accessibility & contrast

On white

15.64
#3B0E48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3B0E48
15.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B0E48#FFFFFF#000000##FFFFFF
##3B0E481.0015.641.3415.64
#FFFFFF15.641.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00214A
Deuteranopia (green-blind)
#102547
Tritanopia (blue-blind)
#3A1A2A
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #3b0e48;
/* rgb */ color: rgb(59, 14, 72);
/* oklch */ color: oklch(27.2% 0.107 317.5);
Tailwind
colors: {
  custom: {
    50: '#73527b',
    500: '#3b0e48',
    950: '#000000',
  },
}
SCSS
$custom: #3b0e48;
$custom-light: #73527b;
$custom-dark: #000000;
JSON
{
  "hex": "#3b0e48",
  "rgb": {
    "r": 59,
    "g": 14,
    "b": 72
  },
  "hsl": {
    "h": 286.552,
    "s": 67.442,
    "l": 16.863
  },
  "oklch": {
    "l": 0.27158,
    "c": 0.10734,
    "h": 317.5
  },
  "luminance": 0.01712
}

Semantic roles & 50–950 ramp

primary
#3B0E48
secondary
#42832F
accent
#EA3D64
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#080209
muted
#7B787B

Preview Lab

Preview with #3B0E48

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

Preview Lab → · Contrast checker → · Palette generator →

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