#3B0A45#3B0A45

#3B0A45 is a dark, moderate purple. Relative luminance 0.016; OKLCH L 26.5% C 0.109 H 320.1°. Best body text is #FFFFFF at 15.96:1 contrast (WCAG AA passes).

Color values

HEX#3B0A45
RGBrgb(59, 10, 69)
HSLhsl(290, 75%, 15%)
HSVhsv(290, 86%, 27%)
CMYKcmyk(14.5%, 85.5%, 0%, 72.9%)
CIE-LABlab(13.09, 32.39, -25.00)
CIE-LCHlch(13.09, 40.92, 322.34°)
OKLaboklab(26.51% 0.0839 -0.0701)
OKLCHoklch(26.51% 0.109 320.1)
XYZxyz(2.9862, 1.5767, 5.7761)
Luminance0.0158 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B0A45 #14450A
analogous
#1E0A45 #3B0A45 #450A31
triadic
#3B0A45 #453B0A #0A453B
tetradic
#3B0A45 #451E0A #14450A #0A3145
square
#3B0A45 #451E0A #14450A #0A3145
split-complementary
#3B0A45 #31450A #0A451E
monochromatic
#17041B #17041B #3B0A45 #69127A #9619B0

Accessibility & contrast

On white

15.96
#3B0A45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3B0A45
15.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B0A45#FFFFFF#000000##FFFFFF
##3B0A451.0015.961.3215.96
#FFFFFF15.961.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E47
Deuteranopia (green-blind)
#102344
Tritanopia (blue-blind)
#3B1627
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #3b0a45;
/* rgb */ color: rgb(59, 10, 69);
/* oklch */ color: oklch(26.5% 0.109 320.1);
Tailwind
colors: {
  custom: {
    50: '#745079',
    500: '#3b0a45',
    950: '#000000',
  },
}
SCSS
$custom: #3b0a45;
$custom-light: #745079;
$custom-dark: #000000;
JSON
{
  "hex": "#3b0a45",
  "rgb": {
    "r": 59,
    "g": 10,
    "b": 69
  },
  "hsl": {
    "h": 289.831,
    "s": 74.684,
    "l": 15.49
  },
  "oklch": {
    "l": 0.26511,
    "c": 0.10933,
    "h": 320.1
  },
  "luminance": 0.01577
}

Semantic roles & 50–950 ramp

primary
#3B0A45
secondary
#388229
accent
#F13656
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080209
muted
#7B787B

Preview Lab

Preview with #3B0A45

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

Preview Lab → · Contrast checker → · Palette generator →

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