#3D0F48#3D0F48

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

Color values

HEX#3D0F48
RGBrgb(61, 15, 72)
HSLhsl(288, 66%, 17%)
HSVhsv(288, 79%, 28%)
CMYKcmyk(15.3%, 79.2%, 0%, 71.8%)
CIE-LABlab(14.41, 31.45, -24.95)
CIE-LCHlch(14.41, 40.14, 321.58°)
OKLaboklab(27.6% 0.0809 -0.0699)
OKLCHoklch(27.6% 0.107 319.1)
XYZxyz(3.2648, 1.8018, 6.3054)
Luminance0.0180 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D0F48 #1A480F
analogous
#210F48 #3D0F48 #480F37
triadic
#3D0F48 #483D0F #0F483D
tetradic
#3D0F48 #48210F #1A480F #0F3748
square
#3D0F48 #48210F #1A480F #0F3748
split-complementary
#3D0F48 #37480F #0F4821
monochromatic
#150519 #150519 #3D0F48 #681A7B #9324AD

Accessibility & contrast

On white

15.44
#3D0F48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D0F48
15.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D0F48#FFFFFF#000000##FFFFFF
##3D0F481.0015.441.3615.44
#FFFFFF15.441.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00214A
Deuteranopia (green-blind)
#132647
Tritanopia (blue-blind)
#3D1A2A
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #3d0f48;
/* rgb */ color: rgb(61, 15, 72);
/* oklch */ color: oklch(27.6% 0.107 319.1);
Tailwind
colors: {
  custom: {
    50: '#75527b',
    500: '#3d0f48',
    950: '#000000',
  },
}
SCSS
$custom: #3d0f48;
$custom-light: #75527b;
$custom-dark: #000000;
JSON
{
  "hex": "#3d0f48",
  "rgb": {
    "r": 61,
    "g": 15,
    "b": 72
  },
  "hsl": {
    "h": 288.421,
    "s": 65.517,
    "l": 17.059
  },
  "oklch": {
    "l": 0.27596,
    "c": 0.10691,
    "h": 319.1
  },
  "luminance": 0.01802
}

Semantic roles & 50–950 ramp

primary
#3D0F48
secondary
#408230
accent
#E83F60
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#080209
muted
#7B787B

Preview Lab

Preview with #3D0F48

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

Preview Lab → · Contrast checker → · Palette generator →

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