#3D0839#3D0839

#3D0839 is a dark, moderate purple. Relative luminance 0.015; OKLCH L 25.8% C 0.102 H 331.5°. Best body text is #FFFFFF at 16.25:1 contrast (WCAG AA passes).

Color values

HEX#3D0839
RGBrgb(61, 8, 57)
HSLhsl(305, 77%, 14%)
HSVhsv(305, 87%, 24%)
CMYKcmyk(0%, 86.9%, 6.6%, 76.1%)
CIE-LABlab(12.36, 31.25, -17.63)
CIE-LCHlch(12.36, 35.88, 330.57°)
OKLaboklab(25.8% 0.0894 -0.0486)
OKLCHoklch(25.8% 0.102 331.5)
XYZxyz(2.7498, 1.4614, 4.0074)
Luminance0.0146 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D0839 #083D0C
analogous
#26083D #3D0839 #3D081E
triadic
#3D0839 #393D08 #08393D
tetradic
#3D0839 #3D2608 #083D0C #081E3D
square
#3D0839 #3D2608 #083D0C #081E3D
split-complementary
#3D0839 #1E3D08 #083D26
monochromatic
#1B0419 #1B0419 #3D0839 #730F6C #A9169E

Accessibility & contrast

On white

16.25
#3D0839 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#3D0839 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D0839
16.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D0839#FFFFFF#000000##FFFFFF
##3D08391.0016.251.2916.25
#FFFFFF16.251.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#041C3A
Deuteranopia (green-blind)
#192338
Tritanopia (blue-blind)
#400F20
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #3d0839;
/* rgb */ color: rgb(61, 8, 57);
/* oklch */ color: oklch(25.8% 0.102 331.5);
Tailwind
colors: {
  custom: {
    50: '#754f6f',
    500: '#3d0839',
    950: '#000000',
  },
}
SCSS
$custom: #3d0839;
$custom-light: #754f6f;
$custom-dark: #000000;
JSON
{
  "hex": "#3d0839",
  "rgb": {
    "r": 61,
    "g": 8,
    "b": 57
  },
  "hsl": {
    "h": 304.528,
    "s": 76.812,
    "l": 13.529
  },
  "oklch": {
    "l": 0.25798,
    "c": 0.10171,
    "h": 331.5
  },
  "luminance": 0.01461
}

Semantic roles & 50–950 ramp

primary
#3D0839
secondary
#257C2C
accent
#F34334
background
#F7F4F6
surface
#EDE7EC
border
#C8C3C7
text
#090207
muted
#7B787A

Preview Lab

Preview with #3D0839

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

Preview Lab → · Contrast checker → · Palette generator →

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