#3B0D51#3B0D51

#3B0D51 is a dark, moderate purple. Relative luminance 0.018; OKLCH L 27.8% C 0.118 H 311.8°. Best body text is #FFFFFF at 15.41:1 contrast (WCAG AA passes).

Color values

HEX#3B0D51
RGBrgb(59, 13, 81)
HSLhsl(281, 72%, 18%)
HSVhsv(281, 84%, 32%)
CMYKcmyk(27.2%, 84%, 0%, 68.2%)
CIE-LABlab(14.47, 33.95, -31.07)
CIE-LCHlch(14.47, 46.02, 317.53°)
OKLaboklab(27.79% 0.0787 -0.088)
OKLCHoklch(27.79% 0.118 311.8)
XYZxyz(3.4325, 1.8118, 7.9519)
Luminance0.0181 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B0D51 #23510D
analogous
#190D51 #3B0D51 #510D45
triadic
#3B0D51 #513B0D #0D513B
tetradic
#3B0D51 #51190D #23510D #0D4551
square
#3B0D51 #51190D #23510D #0D4551
split-complementary
#3B0D51 #45510D #0D5119
monochromatic
#13041A #15051C #3B0D51 #611586 #881EBA

Accessibility & contrast

On white

15.41
#3B0D51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#3B0D51 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B0D51
15.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B0D51#FFFFFF#000000##FFFFFF
##3B0D511.0015.411.3615.41
#FFFFFF15.411.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002253
Deuteranopia (green-blind)
#032550
Tritanopia (blue-blind)
#381D2F
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #3b0d51;
/* rgb */ color: rgb(59, 13, 81);
/* oklch */ color: oklch(27.8% 0.118 311.8);
Tailwind
colors: {
  custom: {
    50: '#745282',
    500: '#3b0d51',
    950: '#000000',
  },
}
SCSS
$custom: #3b0d51;
$custom-light: #745282;
$custom-dark: #000000;
JSON
{
  "hex": "#3b0d51",
  "rgb": {
    "r": 59,
    "g": 13,
    "b": 81
  },
  "hsl": {
    "h": 280.588,
    "s": 72.34,
    "l": 18.431
  },
  "oklch": {
    "l": 0.2779,
    "c": 0.11806,
    "h": 311.8
  },
  "luminance": 0.01812
}

Semantic roles & 50–950 ramp

primary
#3B0D51
secondary
#4C8C2E
accent
#EF3974
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#08020A
muted
#7B787C

Preview Lab

Preview with #3B0D51

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

Preview Lab → · Contrast checker → · Palette generator →

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