#3B0A46#3B0A46

#3B0A46 is a dark, moderate purple. Relative luminance 0.016; OKLCH L 26.6% C 0.110 H 319.4°. Best body text is #FFFFFF at 15.94:1 contrast (WCAG AA passes).

Color values

HEX#3B0A46
RGBrgb(59, 10, 70)
HSLhsl(289, 75%, 16%)
HSVhsv(289, 86%, 27%)
CMYKcmyk(15.7%, 85.7%, 0%, 72.5%)
CIE-LABlab(13.16, 32.61, -25.57)
CIE-LCHlch(13.16, 41.44, 321.90°)
OKLaboklab(26.59% 0.0837 -0.0718)
OKLCHoklch(26.59% 0.11 319.4)
XYZxyz(3.0175, 1.5892, 5.9410)
Luminance0.0159 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B0A46 #15460A
analogous
#1D0A46 #3B0A46 #460A33
triadic
#3B0A46 #463B0A #0A463B
tetradic
#3B0A46 #461D0A #15460A #0A3346
square
#3B0A46 #461D0A #15460A #0A3346
split-complementary
#3B0A46 #33460A #0A461D
monochromatic
#17041B #17041B #3B0A46 #68127C #9519B1

Accessibility & contrast

On white

15.94
#3B0A46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3B0A46
15.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B0A46#FFFFFF#000000##FFFFFF
##3B0A461.0015.941.3215.94
#FFFFFF15.941.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3b0a46;
/* rgb */ color: rgb(59, 10, 70);
/* oklch */ color: oklch(26.6% 0.110 319.4);
Tailwind
colors: {
  custom: {
    50: '#74507a',
    500: '#3b0a46',
    950: '#000000',
  },
}
SCSS
$custom: #3b0a46;
$custom-light: #74507a;
$custom-dark: #000000;
JSON
{
  "hex": "#3b0a46",
  "rgb": {
    "r": 59,
    "g": 10,
    "b": 70
  },
  "hsl": {
    "h": 289,
    "s": 75,
    "l": 15.686
  },
  "oklch": {
    "l": 0.2659,
    "c": 0.11032,
    "h": 319.4
  },
  "luminance": 0.01589
}

Semantic roles & 50–950 ramp

primary
#3B0A46
secondary
#398329
accent
#F23659
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080209
muted
#7B787B

Preview Lab

Preview with #3B0A46

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

Preview Lab → · Contrast checker → · Palette generator →

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