#3D0638#3D0638

#3D0638 is a dark, moderate purple. Relative luminance 0.014; OKLCH L 25.5% C 0.104 H 332.3°. Best body text is #FFFFFF at 16.39:1 contrast (WCAG AA passes).

Color values

HEX#3D0638
RGBrgb(61, 6, 56)
HSLhsl(305, 82%, 13%)
HSVhsv(305, 90%, 24%)
CMYKcmyk(0%, 90.2%, 8.2%, 76.1%)
CIE-LABlab(12.01, 31.89, -17.46)
CIE-LCHlch(12.01, 36.35, 331.29°)
OKLaboklab(25.53% 0.0917 -0.0481)
OKLCHoklch(25.53% 0.104 332.3)
XYZxyz(2.7034, 1.4081, 3.8700)
Luminance0.0141 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D0638 #063D0B
analogous
#26063D #3D0638 #3D061C
triadic
#3D0638 #383D06 #06383D
tetradic
#3D0638 #3D2606 #063D0B #061C3D
square
#3D0638 #3D2606 #063D0B #061C3D
split-complementary
#3D0638 #1C3D06 #063D26
monochromatic
#1C031A #1C031A #3D0638 #750B6B #AC119E

Accessibility & contrast

On white

16.39
#3D0638 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#3D0638 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D0638
16.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D0638#FFFFFF#000000##FFFFFF
##3D06381.0016.391.2816.39
#FFFFFF16.391.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031B39
Deuteranopia (green-blind)
#192237
Tritanopia (blue-blind)
#400D1F
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #3d0638;
/* rgb */ color: rgb(61, 6, 56);
/* oklch */ color: oklch(25.5% 0.104 332.3);
Tailwind
colors: {
  custom: {
    50: '#754e6f',
    500: '#3d0638',
    950: '#000000',
  },
}
SCSS
$custom: #3d0638;
$custom-light: #754e6f;
$custom-dark: #000000;
JSON
{
  "hex": "#3d0638",
  "rgb": {
    "r": 61,
    "g": 6,
    "b": 56
  },
  "hsl": {
    "h": 305.455,
    "s": 82.09,
    "l": 13.137
  },
  "oklch": {
    "l": 0.25527,
    "c": 0.10355,
    "h": 332.3
  },
  "luminance": 0.01408
}

Semantic roles & 50–950 ramp

primary
#3D0638
secondary
#227D2A
accent
#F8422F
background
#F7F4F6
surface
#EDE7EC
border
#C8C3C7
text
#090207
muted
#7B787A

Preview Lab

Preview with #3D0638

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

Preview Lab → · Contrast checker → · Palette generator →

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