#3D1145#3D1145

#3D1145 is a dark, moderate purple. Relative luminance 0.018; OKLCH L 27.6% C 0.101 H 321.1°. Best body text is #FFFFFF at 15.39:1 contrast (WCAG AA passes).

Color values

HEX#3D1145
RGBrgb(61, 17, 69)
HSLhsl(291, 60%, 17%)
HSVhsv(291, 75%, 27%)
CMYKcmyk(11.6%, 75.4%, 0%, 72.9%)
CIE-LABlab(14.53, 29.85, -22.67)
CIE-LCHlch(14.53, 37.48, 322.78°)
OKLaboklab(27.61% 0.0785 -0.0633)
OKLCHoklch(27.61% 0.101 321.1)
XYZxyz(3.1990, 1.8228, 5.8124)
Luminance0.0182 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1145 #194511
analogous
#231145 #3D1145 #451133
triadic
#3D1145 #453D11 #11453D
tetradic
#3D1145 #452311 #194511 #113345
square
#3D1145 #452311 #194511 #113345
split-complementary
#3D1145 #334511 #114523
monochromatic
#160619 #160619 #3D1145 #681D76 #9429A7

Accessibility & contrast

On white

15.39
#3D1145 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D1145
15.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1145#FFFFFF#000000##FFFFFF
##3D11451.0015.391.3615.39
#FFFFFF15.391.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#032247
Deuteranopia (green-blind)
#172644
Tritanopia (blue-blind)
#3E1A29
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #3d1145;
/* rgb */ color: rgb(61, 17, 69);
/* oklch */ color: oklch(27.6% 0.101 321.1);
Tailwind
colors: {
  custom: {
    50: '#755379',
    500: '#3d1145',
    950: '#000000',
  },
}
SCSS
$custom: #3d1145;
$custom-light: #755379;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1145",
  "rgb": {
    "r": 61,
    "g": 17,
    "b": 69
  },
  "hsl": {
    "h": 290.769,
    "s": 60.465,
    "l": 16.863
  },
  "oklch": {
    "l": 0.27612,
    "c": 0.10087,
    "h": 321.1
  },
  "luminance": 0.01823
}

Semantic roles & 50–950 ramp

primary
#3D1145
secondary
#3F7F33
accent
#E4445D
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080309
muted
#7B787B

Preview Lab

Preview with #3D1145

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

Preview Lab → · Contrast checker → · Palette generator →

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