#3D1045#3D1045

#3D1045 is a dark, moderate purple. Relative luminance 0.018; OKLCH L 27.5% C 0.102 H 321.2°. Best body text is #FFFFFF at 15.46:1 contrast (WCAG AA passes).

Color values

HEX#3D1045
RGBrgb(61, 16, 69)
HSLhsl(291, 62%, 17%)
HSVhsv(291, 77%, 27%)
CMYKcmyk(11.6%, 76.8%, 0%, 72.9%)
CIE-LABlab(14.36, 30.32, -22.94)
CIE-LCHlch(14.36, 38.02, 322.89°)
OKLaboklab(27.49% 0.0798 -0.0641)
OKLCHoklch(27.49% 0.102 321.2)
XYZxyz(3.1838, 1.7925, 5.8074)
Luminance0.0179 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1045 #184510
analogous
#231045 #3D1045 #451033
triadic
#3D1045 #453D10 #10453D
tetradic
#3D1045 #452310 #184510 #103345
square
#3D1045 #452310 #184510 #103345
split-complementary
#3D1045 #334510 #104523
monochromatic
#160619 #160619 #3D1045 #691C77 #9527A8

Accessibility & contrast

On white

15.46
#3D1045 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D1045
15.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1045#FFFFFF#000000##FFFFFF
##3D10451.0015.461.3615.46
#FFFFFF15.461.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#012147
Deuteranopia (green-blind)
#162644
Tritanopia (blue-blind)
#3E1929
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #3d1045;
/* rgb */ color: rgb(61, 16, 69);
/* oklch */ color: oklch(27.5% 0.102 321.2);
Tailwind
colors: {
  custom: {
    50: '#755379',
    500: '#3d1045',
    950: '#000000',
  },
}
SCSS
$custom: #3d1045;
$custom-light: #755379;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1045",
  "rgb": {
    "r": 61,
    "g": 16,
    "b": 69
  },
  "hsl": {
    "h": 290.943,
    "s": 62.353,
    "l": 16.667
  },
  "oklch": {
    "l": 0.2749,
    "c": 0.10237,
    "h": 321.2
  },
  "luminance": 0.01792
}

Semantic roles & 50–950 ramp

primary
#3D1045
secondary
#3D7F32
accent
#E5425B
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080209
muted
#7B787B

Preview Lab

Preview with #3D1045

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

Preview Lab → · Contrast checker → · Palette generator →

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