#3B0A42#3B0A42

#3B0A42 is a dark, moderate purple. Relative luminance 0.015; OKLCH L 26.3% C 0.106 H 322.3°. Best body text is #FFFFFF at 16.06:1 contrast (WCAG AA passes).

Color values

HEX#3B0A42
RGBrgb(59, 10, 66)
HSLhsl(293, 74%, 15%)
HSVhsv(293, 85%, 26%)
CMYKcmyk(10.6%, 84.8%, 0%, 74.1%)
CIE-LABlab(12.86, 31.75, -23.25)
CIE-LCHlch(12.86, 39.35, 323.78°)
OKLaboklab(26.28% 0.0842 -0.065)
OKLCHoklch(26.28% 0.106 322.3)
XYZxyz(2.8954, 1.5404, 5.2980)
Luminance0.0154 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B0A42 #11420A
analogous
#1F0A42 #3B0A42 #420A2D
triadic
#3B0A42 #423B0A #0A423B
tetradic
#3B0A42 #421F0A #11420A #0A2D42
square
#3B0A42 #421F0A #11420A #0A2D42
split-complementary
#3B0A42 #2D420A #0A421F
monochromatic
#18041B #18041B #3B0A42 #6B1277 #9A1AAC

Accessibility & contrast

On white

16.06
#3B0A42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#3B0A42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B0A42
16.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B0A42#FFFFFF#000000##FFFFFF
##3B0A421.0016.061.3116.06
#FFFFFF16.061.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E44
Deuteranopia (green-blind)
#122341
Tritanopia (blue-blind)
#3C1525
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #3b0a42;
/* rgb */ color: rgb(59, 10, 66);
/* oklch */ color: oklch(26.3% 0.106 322.3);
Tailwind
colors: {
  custom: {
    50: '#735077',
    500: '#3b0a42',
    950: '#000000',
  },
}
SCSS
$custom: #3b0a42;
$custom-light: #735077;
$custom-dark: #000000;
JSON
{
  "hex": "#3b0a42",
  "rgb": {
    "r": 59,
    "g": 10,
    "b": 66
  },
  "hsl": {
    "h": 292.5,
    "s": 73.684,
    "l": 14.902
  },
  "oklch": {
    "l": 0.26279,
    "c": 0.1064,
    "h": 322.3
  },
  "luminance": 0.0154
}

Semantic roles & 50–950 ramp

primary
#3B0A42
secondary
#337F29
accent
#F0374F
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080208
muted
#7B787B

Preview Lab

Preview with #3B0A42

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

Preview Lab → · Contrast checker → · Palette generator →

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