#3B0D4E#3B0D4E

#3B0D4E is a dark, moderate purple. Relative luminance 0.018; OKLCH L 27.5% C 0.115 H 313.7°. Best body text is #FFFFFF at 15.51:1 contrast (WCAG AA passes).

Color values

HEX#3B0D4E
RGBrgb(59, 13, 78)
HSLhsl(282, 71%, 18%)
HSVhsv(282, 83%, 31%)
CMYKcmyk(24.4%, 83.3%, 0%, 69.4%)
CIE-LABlab(14.22, 33.23, -29.42)
CIE-LCHlch(14.22, 44.38, 318.49°)
OKLaboklab(27.54% 0.0794 -0.0831)
OKLCHoklch(27.54% 0.115 313.7)
XYZxyz(3.3225, 1.7678, 7.3725)
Luminance0.0177 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B0D4E #204E0D
analogous
#1B0D4E #3B0D4E #4E0D40
triadic
#3B0D4E #4E3B0D #0D4E3B
tetradic
#3B0D4E #4E1B0D #204E0D #0D404E
square
#3B0D4E #4E1B0D #204E0D #0D404E
split-complementary
#3B0D4E #404E0D #0D4E1B
monochromatic
#14041A #14041A #3B0D4E #631682 #8A1EB7

Accessibility & contrast

On white

15.51
#3B0D4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#3B0D4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B0D4E
15.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B0D4E#FFFFFF#000000##FFFFFF
##3B0D4E1.0015.511.3515.51
#FFFFFF15.511.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002250
Deuteranopia (green-blind)
#07254D
Tritanopia (blue-blind)
#391C2D
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #3b0d4e;
/* rgb */ color: rgb(59, 13, 78);
/* oklch */ color: oklch(27.5% 0.115 313.7);
Tailwind
colors: {
  custom: {
    50: '#745180',
    500: '#3b0d4e',
    950: '#000000',
  },
}
SCSS
$custom: #3b0d4e;
$custom-light: #745180;
$custom-dark: #000000;
JSON
{
  "hex": "#3b0d4e",
  "rgb": {
    "r": 59,
    "g": 13,
    "b": 78
  },
  "hsl": {
    "h": 282.462,
    "s": 71.429,
    "l": 17.843
  },
  "oklch": {
    "l": 0.27536,
    "c": 0.11491,
    "h": 313.7
  },
  "luminance": 0.01768
}

Semantic roles & 50–950 ramp

primary
#3B0D4E
secondary
#48892E
accent
#EE3A6E
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#08020A
muted
#7B787C

Preview Lab

Preview with #3B0D4E

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

Preview Lab → · Contrast checker → · Palette generator →

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