#3B0D4C#3B0D4C

#3B0D4C is a dark, moderate purple. Relative luminance 0.017; OKLCH L 27.4% C 0.113 H 315.0°. Best body text is #FFFFFF at 15.58:1 contrast (WCAG AA passes).

Color values

HEX#3B0D4C
RGBrgb(59, 13, 76)
HSLhsl(284, 71%, 17%)
HSVhsv(284, 83%, 30%)
CMYKcmyk(22.4%, 82.9%, 0%, 70.2%)
CIE-LABlab(14.06, 32.76, -28.30)
CIE-LCHlch(14.06, 43.29, 319.18°)
OKLaboklab(27.37% 0.0797 -0.0798)
OKLCHoklch(27.37% 0.113 315)
XYZxyz(3.2518, 1.7396, 7.0006)
Luminance0.0174 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B0D4C #1E4C0D
analogous
#1C0D4C #3B0D4C #4C0D3D
triadic
#3B0D4C #4C3B0D #0D4C3B
tetradic
#3B0D4C #4C1C0D #1E4C0D #0D3D4C
square
#3B0D4C #4C1C0D #1E4C0D #0D3D4C
split-complementary
#3B0D4C #3D4C0D #0D4C1C
monochromatic
#14041A #14041A #3B0D4C #641680 #8C1FB5

Accessibility & contrast

On white

15.58
#3B0D4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3B0D4C
15.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B0D4C#FFFFFF#000000##FFFFFF
##3B0D4C1.0015.581.3515.58
#FFFFFF15.581.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00214E
Deuteranopia (green-blind)
#0A254B
Tritanopia (blue-blind)
#3A1B2C
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #3b0d4c;
/* rgb */ color: rgb(59, 13, 76);
/* oklch */ color: oklch(27.4% 0.113 315.0);
Tailwind
colors: {
  custom: {
    50: '#74517e',
    500: '#3b0d4c',
    950: '#000000',
  },
}
SCSS
$custom: #3b0d4c;
$custom-light: #74517e;
$custom-dark: #000000;
JSON
{
  "hex": "#3b0d4c",
  "rgb": {
    "r": 59,
    "g": 13,
    "b": 76
  },
  "hsl": {
    "h": 283.81,
    "s": 70.787,
    "l": 17.451
  },
  "oklch": {
    "l": 0.27371,
    "c": 0.11282,
    "h": 315
  },
  "luminance": 0.01739
}

Semantic roles & 50–950 ramp

primary
#3B0D4C
secondary
#46872E
accent
#EE3A6B
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#08020A
muted
#7B787C

Preview Lab

Preview with #3B0D4C

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

Preview Lab → · Contrast checker → · Palette generator →

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