#3B0A47#3B0A47

#3B0A47 is a dark, moderate purple. Relative luminance 0.016; OKLCH L 26.7% C 0.111 H 318.7°. Best body text is #FFFFFF at 15.90:1 contrast (WCAG AA passes).

Color values

HEX#3B0A47
RGBrgb(59, 10, 71)
HSLhsl(288, 75%, 16%)
HSVhsv(288, 86%, 28%)
CMYKcmyk(16.9%, 85.9%, 0%, 72.2%)
CIE-LABlab(13.24, 32.83, -26.15)
CIE-LCHlch(13.24, 41.97, 321.47°)
OKLaboklab(26.67% 0.0836 -0.0735)
OKLCHoklch(26.67% 0.111 318.7)
XYZxyz(3.0494, 1.6020, 6.1086)
Luminance0.0160 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B0A47 #16470A
analogous
#1C0A47 #3B0A47 #470A34
triadic
#3B0A47 #473B0A #0A473B
tetradic
#3B0A47 #471C0A #16470A #0A3447
square
#3B0A47 #471C0A #16470A #0A3447
split-complementary
#3B0A47 #34470A #0A471C
monochromatic
#16041B #16041B #3B0A47 #68127D #9419B2

Accessibility & contrast

On white

15.90
#3B0A47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#3B0A47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B0A47
15.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B0A47#FFFFFF#000000##FFFFFF
##3B0A471.0015.901.3215.90
#FFFFFF15.901.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F49
Deuteranopia (green-blind)
#0E2446
Tritanopia (blue-blind)
#3B1728
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #3b0a47;
/* rgb */ color: rgb(59, 10, 71);
/* oklch */ color: oklch(26.7% 0.111 318.7);
Tailwind
colors: {
  custom: {
    50: '#74507b',
    500: '#3b0a47',
    950: '#000000',
  },
}
SCSS
$custom: #3b0a47;
$custom-light: #74507b;
$custom-dark: #000000;
JSON
{
  "hex": "#3b0a47",
  "rgb": {
    "r": 59,
    "g": 10,
    "b": 71
  },
  "hsl": {
    "h": 288.197,
    "s": 75.309,
    "l": 15.882
  },
  "oklch": {
    "l": 0.26669,
    "c": 0.11132,
    "h": 318.7
  },
  "luminance": 0.01602
}

Semantic roles & 50–950 ramp

primary
#3B0A47
secondary
#3B8429
accent
#F2365B
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080209
muted
#7B787B

Preview Lab

Preview with #3B0A47

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

Preview Lab → · Contrast checker → · Palette generator →

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