#3D0547#3D0547

#3D0547 is a dark, moderate purple. Relative luminance 0.016; OKLCH L 26.5% C 0.118 H 320.8°. Best body text is #FFFFFF at 16.02:1 contrast (WCAG AA passes).

Color values

HEX#3D0547
RGBrgb(61, 5, 71)
HSLhsl(291, 87%, 15%)
HSVhsv(291, 93%, 28%)
CMYKcmyk(14.1%, 93%, 0%, 72.2%)
CIE-LABlab(12.96, 35.21, -26.58)
CIE-LCHlch(12.96, 44.12, 322.94°)
OKLaboklab(26.54% 0.0915 -0.0747)
OKLCHoklch(26.54% 0.118 320.8)
XYZxyz(3.1159, 1.5557, 6.0962)
Luminance0.0156 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D0547 #0F4705
analogous
#1C0547 #3D0547 #470530
triadic
#3D0547 #473D05 #05473D
tetradic
#3D0547 #471C05 #0F4705 #053047
square
#3D0547 #471C05 #0F4705 #053047
split-complementary
#3D0547 #304705 #05471C
monochromatic
#19021D #19021D #3D0547 #6E0980 #9F0DB9

Accessibility & contrast

On white

16.02
#3D0547 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#3D0547 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D0547
16.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D0547#FFFFFF#000000##FFFFFF
##3D05471.0016.021.3116.02
#FFFFFF16.021.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E49
Deuteranopia (green-blind)
#0D2346
Tritanopia (blue-blind)
#3D1427
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #3d0547;
/* rgb */ color: rgb(61, 5, 71);
/* oklch */ color: oklch(26.5% 0.118 320.8);
Tailwind
colors: {
  custom: {
    50: '#754e7b',
    500: '#3d0547',
    950: '#000000',
  },
}
SCSS
$custom: #3d0547;
$custom-light: #754e7b;
$custom-dark: #000000;
JSON
{
  "hex": "#3d0547",
  "rgb": {
    "r": 61,
    "g": 5,
    "b": 71
  },
  "hsl": {
    "h": 290.909,
    "s": 86.842,
    "l": 14.902
  },
  "oklch": {
    "l": 0.26544,
    "c": 0.11807,
    "h": 320.8
  },
  "luminance": 0.01556
}

Semantic roles & 50–950 ramp

primary
#3D0547
secondary
#308721
accent
#FD2B4B
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#090209
muted
#7B787B

Preview Lab

Preview with #3D0547

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

Preview Lab → · Contrast checker → · Palette generator →

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