#3D0F47#3D0F47

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

Color values

HEX#3D0F47
RGBrgb(61, 15, 71)
HSLhsl(289, 65%, 17%)
HSVhsv(289, 79%, 28%)
CMYKcmyk(14.1%, 78.9%, 0%, 72.2%)
CIE-LABlab(14.34, 31.23, -24.37)
CIE-LCHlch(14.34, 39.61, 322.04°)
OKLaboklab(27.52% 0.0809 -0.0682)
OKLCHoklch(27.52% 0.106 319.9)
XYZxyz(3.2325, 1.7888, 6.1350)
Luminance0.0179 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D0F47 #19470F
analogous
#210F47 #3D0F47 #470F35
triadic
#3D0F47 #473D0F #0F473D
tetradic
#3D0F47 #47210F #19470F #0F3547
square
#3D0F47 #47210F #19470F #0F3547
split-complementary
#3D0F47 #35470F #0F4721
monochromatic
#160519 #160519 #3D0F47 #681A7A #9424AC

Accessibility & contrast

On white

15.47
#3D0F47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D0F47
15.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D0F47#FFFFFF#000000##FFFFFF
##3D0F471.0015.471.3615.47
#FFFFFF15.471.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002149
Deuteranopia (green-blind)
#142646
Tritanopia (blue-blind)
#3D1A2A
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #3d0f47;
/* rgb */ color: rgb(61, 15, 71);
/* oklch */ color: oklch(27.5% 0.106 319.9);
Tailwind
colors: {
  custom: {
    50: '#75527a',
    500: '#3d0f47',
    950: '#000000',
  },
}
SCSS
$custom: #3d0f47;
$custom-light: #75527a;
$custom-dark: #000000;
JSON
{
  "hex": "#3d0f47",
  "rgb": {
    "r": 61,
    "g": 15,
    "b": 71
  },
  "hsl": {
    "h": 289.286,
    "s": 65.116,
    "l": 16.863
  },
  "oklch": {
    "l": 0.27521,
    "c": 0.10587,
    "h": 319.9
  },
  "luminance": 0.01789
}

Semantic roles & 50–950 ramp

primary
#3D0F47
secondary
#3F8130
accent
#E8405E
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080209
muted
#7B787B

Preview Lab

Preview with #3D0F47

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

Preview Lab → · Contrast checker → · Palette generator →

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