#3D0546#3D0546

#3D0546 is a dark, moderate purple. Relative luminance 0.015; OKLCH L 26.5% C 0.117 H 321.5°. Best body text is #FFFFFF at 16.05:1 contrast (WCAG AA passes).

Color values

HEX#3D0546
RGBrgb(61, 5, 70)
HSLhsl(292, 87%, 15%)
HSVhsv(292, 93%, 27%)
CMYKcmyk(12.9%, 92.9%, 0%, 72.5%)
CIE-LABlab(12.88, 35.00, -26.01)
CIE-LCHlch(12.88, 43.61, 323.38°)
OKLaboklab(26.46% 0.0917 -0.073)
OKLCHoklch(26.46% 0.117 321.5)
XYZxyz(3.0841, 1.5430, 5.9285)
Luminance0.0154 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D0546 #0E4605
analogous
#1C0546 #3D0546 #46052F
triadic
#3D0546 #463D05 #05463D
tetradic
#3D0546 #461C05 #0E4605 #052F46
square
#3D0546 #461C05 #0E4605 #052F46
split-complementary
#3D0546 #2F4605 #05461C
monochromatic
#19021D #19021D #3D0546 #6F097F #A10DB8

Accessibility & contrast

On white

16.05
#3D0546 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D0546
16.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D0546#FFFFFF#000000##FFFFFF
##3D05461.0016.051.3116.05
#FFFFFF16.051.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D48
Deuteranopia (green-blind)
#0E2345
Tritanopia (blue-blind)
#3E1427
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #3d0546;
/* rgb */ color: rgb(61, 5, 70);
/* oklch */ color: oklch(26.5% 0.117 321.5);
Tailwind
colors: {
  custom: {
    50: '#754e7a',
    500: '#3d0546',
    950: '#000000',
  },
}
SCSS
$custom: #3d0546;
$custom-light: #754e7a;
$custom-dark: #000000;
JSON
{
  "hex": "#3d0546",
  "rgb": {
    "r": 61,
    "g": 5,
    "b": 70
  },
  "hsl": {
    "h": 291.692,
    "s": 86.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.26464,
    "c": 0.11717,
    "h": 321.5
  },
  "luminance": 0.01543
}

Semantic roles & 50–950 ramp

primary
#3D0546
secondary
#2F8621
accent
#FD2B48
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#090209
muted
#7B787B

Preview Lab

Preview with #3D0546

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

Preview Lab → · Contrast checker → · Palette generator →

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