#3D0F52#3D0F52

#3D0F52 is a dark, moderate purple. Relative luminance 0.019; OKLCH L 28.4% C 0.117 H 312.6°. Best body text is #FFFFFF at 15.12:1 contrast (WCAG AA passes).

Color values

HEX#3D0F52
RGBrgb(61, 15, 82)
HSLhsl(281, 69%, 19%)
HSVhsv(281, 82%, 32%)
CMYKcmyk(25.6%, 81.7%, 0%, 67.8%)
CIE-LABlab(15.19, 33.77, -30.57)
CIE-LCHlch(15.19, 45.56, 317.85°)
OKLaboklab(28.39% 0.0795 -0.0864)
OKLCHoklch(28.39% 0.117 312.6)
XYZxyz(3.6180, 1.9431, 8.1655)
Luminance0.0194 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D0F52 #24520F
analogous
#1C0F52 #3D0F52 #520F46
triadic
#3D0F52 #523D0F #0F523D
tetradic
#3D0F52 #521C0F #24520F #0F4652
square
#3D0F52 #521C0F #24520F #0F4652
split-complementary
#3D0F52 #46520F #0F521C
monochromatic
#13051A #17061E #3D0F52 #631886 #8A22B9

Accessibility & contrast

On white

15.12
#3D0F52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D0F52
15.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D0F52#FFFFFF#000000##FFFFFF
##3D0F521.0015.121.3915.12
#FFFFFF15.121.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002454
Deuteranopia (green-blind)
#072751
Tritanopia (blue-blind)
#3B1E30
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #3d0f52;
/* rgb */ color: rgb(61, 15, 82);
/* oklch */ color: oklch(28.4% 0.117 312.6);
Tailwind
colors: {
  custom: {
    50: '#765383',
    500: '#3d0f52',
    950: '#000000',
  },
}
SCSS
$custom: #3d0f52;
$custom-light: #765383;
$custom-dark: #000000;
JSON
{
  "hex": "#3d0f52",
  "rgb": {
    "r": 61,
    "g": 15,
    "b": 82
  },
  "hsl": {
    "h": 281.194,
    "s": 69.072,
    "l": 19.02
  },
  "oklch": {
    "l": 0.28393,
    "c": 0.11744,
    "h": 312.6
  },
  "luminance": 0.01943
}

Semantic roles & 50–950 ramp

primary
#3D0F52
secondary
#4D8C31
accent
#EC3C73
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#09030B
muted
#7B787C

Preview Lab

Preview with #3D0F52

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

Preview Lab → · Contrast checker → · Palette generator →

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