#3D0F51#3D0F51

#3D0F51 is a dark, moderate purple. Relative luminance 0.019; OKLCH L 28.3% C 0.116 H 313.2°. Best body text is #FFFFFF at 15.16:1 contrast (WCAG AA passes).

Color values

HEX#3D0F51
RGBrgb(61, 15, 81)
HSLhsl(282, 69%, 19%)
HSVhsv(282, 81%, 32%)
CMYKcmyk(24.7%, 81.5%, 0%, 68.2%)
CIE-LABlab(15.10, 33.54, -30.02)
CIE-LCHlch(15.10, 45.01, 318.17°)
OKLaboklab(28.31% 0.0797 -0.0848)
OKLCHoklch(28.31% 0.116 313.2)
XYZxyz(3.5802, 1.9279, 7.9665)
Luminance0.0193 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D0F51 #23510F
analogous
#1C0F51 #3D0F51 #510F44
triadic
#3D0F51 #513D0F #0F513D
tetradic
#3D0F51 #511C0F #23510F #0F4451
square
#3D0F51 #511C0F #23510F #0F4451
split-complementary
#3D0F51 #44510F #0F511C
monochromatic
#13051A #16051D #3D0F51 #641985 #8B22B8

Accessibility & contrast

On white

15.16
#3D0F51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#3D0F51 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D0F51
15.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D0F51#FFFFFF#000000##FFFFFF
##3D0F511.0015.161.3915.16
#FFFFFF15.161.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002453
Deuteranopia (green-blind)
#082750
Tritanopia (blue-blind)
#3B1E2F
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #3d0f51;
/* rgb */ color: rgb(61, 15, 81);
/* oklch */ color: oklch(28.3% 0.116 313.2);
Tailwind
colors: {
  custom: {
    50: '#755382',
    500: '#3d0f51',
    950: '#000000',
  },
}
SCSS
$custom: #3d0f51;
$custom-light: #755382;
$custom-dark: #000000;
JSON
{
  "hex": "#3d0f51",
  "rgb": {
    "r": 61,
    "g": 15,
    "b": 81
  },
  "hsl": {
    "h": 281.818,
    "s": 68.75,
    "l": 18.824
  },
  "oklch": {
    "l": 0.2831,
    "c": 0.11638,
    "h": 313.2
  },
  "luminance": 0.01928
}

Semantic roles & 50–950 ramp

primary
#3D0F51
secondary
#4C8B31
accent
#EC3C71
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#09030A
muted
#7B787C

Preview Lab

Preview with #3D0F51

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

Preview Lab → · Contrast checker → · Palette generator →

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