#3D0F53#3D0F53

#3D0F53 is a dark, moderate purple. Relative luminance 0.020; OKLCH L 28.5% C 0.118 H 312.0°. Best body text is #FFFFFF at 15.09:1 contrast (WCAG AA passes).

Color values

HEX#3D0F53
RGBrgb(61, 15, 83)
HSLhsl(281, 69%, 19%)
HSVhsv(281, 82%, 33%)
CMYKcmyk(26.5%, 81.9%, 0%, 67.5%)
CIE-LABlab(15.27, 34.01, -31.12)
CIE-LCHlch(15.27, 46.10, 317.54°)
OKLaboklab(28.48% 0.0793 -0.0881)
OKLCHoklch(28.48% 0.119 312)
XYZxyz(3.6563, 1.9584, 8.3673)
Luminance0.0196 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D0F53 #25530F
analogous
#1B0F53 #3D0F53 #530F47
triadic
#3D0F53 #533D0F #0F533D
tetradic
#3D0F53 #531B0F #25530F #0F4753
square
#3D0F53 #531B0F #25530F #0F4753
split-complementary
#3D0F53 #47530F #0F531B
monochromatic
#13051A #17061F #3D0F53 #631887 #8922BB

Accessibility & contrast

On white

15.09
#3D0F53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D0F53
15.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D0F53#FFFFFF#000000##FFFFFF
##3D0F531.0015.091.3915.09
#FFFFFF15.091.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002455
Deuteranopia (green-blind)
#052752
Tritanopia (blue-blind)
#3A1F30
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #3d0f53;
/* rgb */ color: rgb(61, 15, 83);
/* oklch */ color: oklch(28.5% 0.118 312.0);
Tailwind
colors: {
  custom: {
    50: '#765384',
    500: '#3d0f53',
    950: '#000000',
  },
}
SCSS
$custom: #3d0f53;
$custom-light: #765384;
$custom-dark: #000000;
JSON
{
  "hex": "#3d0f53",
  "rgb": {
    "r": 61,
    "g": 15,
    "b": 83
  },
  "hsl": {
    "h": 280.588,
    "s": 69.388,
    "l": 19.216
  },
  "oklch": {
    "l": 0.28477,
    "c": 0.1185,
    "h": 312
  },
  "luminance": 0.01958
}

Semantic roles & 50–950 ramp

primary
#3D0F53
secondary
#4F8D31
accent
#EC3C75
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#09030B
muted
#7B787C

Preview Lab

Preview with #3D0F53

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

Preview Lab → · Contrast checker → · Palette generator →

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