#3D0946#3D0946

#3D0946 is a dark, moderate purple. Relative luminance 0.016; OKLCH L 26.8% C 0.112 H 321.1°. Best body text is #FFFFFF at 15.84:1 contrast (WCAG AA passes).

Color values

HEX#3D0946
RGBrgb(61, 9, 70)
HSLhsl(291, 77%, 15%)
HSVhsv(291, 87%, 27%)
CMYKcmyk(12.9%, 87.1%, 0%, 72.5%)
CIE-LABlab(13.41, 33.45, -25.16)
CIE-LCHlch(13.41, 41.86, 323.06°)
OKLaboklab(26.84% 0.0875 -0.0705)
OKLCHoklch(26.84% 0.112 321.1)
XYZxyz(3.1275, 1.6298, 5.9430)
Luminance0.0163 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D0946 #124609
analogous
#1F0946 #3D0946 #460930
triadic
#3D0946 #463D09 #09463D
tetradic
#3D0946 #461F09 #124609 #093046
square
#3D0946 #461F09 #124609 #093046
split-complementary
#3D0946 #304609 #09461F
monochromatic
#18031B #18031B #3D0946 #6C107C #9C17B2

Accessibility & contrast

On white

15.84
#3D0946 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#3D0946 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D0946
15.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D0946#FFFFFF#000000##FFFFFF
##3D09461.0015.841.3315.84
#FFFFFF15.841.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F48
Deuteranopia (green-blind)
#112445
Tritanopia (blue-blind)
#3E1627
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #3d0946;
/* rgb */ color: rgb(61, 9, 70);
/* oklch */ color: oklch(26.8% 0.112 321.1);
Tailwind
colors: {
  custom: {
    50: '#75507a',
    500: '#3d0946',
    950: '#000000',
  },
}
SCSS
$custom: #3d0946;
$custom-light: #75507a;
$custom-dark: #000000;
JSON
{
  "hex": "#3d0946",
  "rgb": {
    "r": 61,
    "g": 9,
    "b": 70
  },
  "hsl": {
    "h": 291.148,
    "s": 77.215,
    "l": 15.49
  },
  "oklch": {
    "l": 0.26838,
    "c": 0.1124,
    "h": 321.1
  },
  "luminance": 0.0163
}

Semantic roles & 50–950 ramp

primary
#3D0946
secondary
#358427
accent
#F43450
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#090209
muted
#7B787B

Preview Lab

Preview with #3D0946

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

Preview Lab → · Contrast checker → · Palette generator →

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