#3B0D40#3B0D40

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

Color values

HEX#3B0D40
RGBrgb(59, 13, 64)
HSLhsl(294, 66%, 15%)
HSVhsv(294, 80%, 25%)
CMYKcmyk(7.8%, 79.7%, 0%, 74.9%)
CIE-LABlab(13.16, 30.07, -21.37)
CIE-LCHlch(13.16, 36.89, 324.60°)
OKLaboklab(26.44% 0.0809 -0.0595)
OKLCHoklch(26.44% 0.1 323.7)
XYZxyz(2.8729, 1.5880, 5.0047)
Luminance0.0159 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B0D40 #12400D
analogous
#220D40 #3B0D40 #400D2B
triadic
#3B0D40 #403B0D #0D403B
tetradic
#3B0D40 #40220D #12400D #0D2B40
square
#3B0D40 #40220D #12400D #0D2B40
split-complementary
#3B0D40 #2B400D #0D4022
monochromatic
#170519 #170519 #3B0D40 #6A1773 #9922A6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3B0D40#FFFFFF#000000##FFFFFF
##3B0D401.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)
#011E41
Deuteranopia (green-blind)
#16243F
Tritanopia (blue-blind)
#3C1625
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #3b0d40;
/* rgb */ color: rgb(59, 13, 64);
/* oklch */ color: oklch(26.4% 0.100 323.7);
Tailwind
colors: {
  custom: {
    50: '#735175',
    500: '#3b0d40',
    950: '#000000',
  },
}
SCSS
$custom: #3b0d40;
$custom-light: #735175;
$custom-dark: #000000;
JSON
{
  "hex": "#3b0d40",
  "rgb": {
    "r": 59,
    "g": 13,
    "b": 64
  },
  "hsl": {
    "h": 294.118,
    "s": 66.234,
    "l": 15.098
  },
  "oklch": {
    "l": 0.26443,
    "c": 0.10049,
    "h": 323.7
  },
  "luminance": 0.01588
}

Semantic roles & 50–950 ramp

primary
#3B0D40
secondary
#357C2D
accent
#E93F4F
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080208
muted
#7B787B

Preview Lab

Preview with #3B0D40

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

Preview Lab → · Contrast checker → · Palette generator →

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