#3B0D50#3B0D50

#3B0D50 is a dark, moderate purple. Relative luminance 0.018; OKLCH L 27.7% C 0.117 H 312.4°. Best body text is #FFFFFF at 15.45:1 contrast (WCAG AA passes).

Color values

HEX#3B0D50
RGBrgb(59, 13, 80)
HSLhsl(281, 72%, 18%)
HSVhsv(281, 84%, 31%)
CMYKcmyk(26.2%, 83.7%, 0%, 68.6%)
CIE-LABlab(14.38, 33.71, -30.52)
CIE-LCHlch(14.38, 45.47, 317.84°)
OKLaboklab(27.71% 0.079 -0.0864)
OKLCHoklch(27.71% 0.117 312.4)
XYZxyz(3.3953, 1.7969, 7.7559)
Luminance0.0180 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B0D50 #22500D
analogous
#190D50 #3B0D50 #500D43
triadic
#3B0D50 #503B0D #0D503B
tetradic
#3B0D50 #50190D #22500D #0D4350
square
#3B0D50 #50190D #22500D #0D4350
split-complementary
#3B0D50 #43500D #0D5019
monochromatic
#13041A #14041B #3B0D50 #621685 #891EB9

Accessibility & contrast

On white

15.45
#3B0D50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3B0D50
15.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B0D50#FFFFFF#000000##FFFFFF
##3B0D501.0015.451.3615.45
#FFFFFF15.451.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002252
Deuteranopia (green-blind)
#04254F
Tritanopia (blue-blind)
#391D2E
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #3b0d50;
/* rgb */ color: rgb(59, 13, 80);
/* oklch */ color: oklch(27.7% 0.117 312.4);
Tailwind
colors: {
  custom: {
    50: '#745282',
    500: '#3b0d50',
    950: '#000000',
  },
}
SCSS
$custom: #3b0d50;
$custom-light: #745282;
$custom-dark: #000000;
JSON
{
  "hex": "#3b0d50",
  "rgb": {
    "r": 59,
    "g": 13,
    "b": 80
  },
  "hsl": {
    "h": 281.194,
    "s": 72.043,
    "l": 18.235
  },
  "oklch": {
    "l": 0.27705,
    "c": 0.11701,
    "h": 312.4
  },
  "luminance": 0.01797
}

Semantic roles & 50–950 ramp

primary
#3B0D50
secondary
#4B8B2E
accent
#EF3972
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#08020A
muted
#7B787C

Preview Lab

Preview with #3B0D50

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

Preview Lab → · Contrast checker → · Palette generator →

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