#3D0F54#3D0F54

#3D0F54 is a dark, moderate purple. Relative luminance 0.020; OKLCH L 28.6% C 0.120 H 311.4°. Best body text is #FFFFFF at 15.06:1 contrast (WCAG AA passes).

Color values

HEX#3D0F54
RGBrgb(61, 15, 84)
HSLhsl(280, 70%, 19%)
HSVhsv(280, 82%, 33%)
CMYKcmyk(27.4%, 82.1%, 0%, 67.1%)
CIE-LABlab(15.35, 34.26, -31.67)
CIE-LCHlch(15.35, 46.65, 317.25°)
OKLaboklab(28.56% 0.0791 -0.0897)
OKLCHoklch(28.56% 0.12 311.4)
XYZxyz(3.6952, 1.9739, 8.5721)
Luminance0.0197 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D0F54 #26540F
analogous
#1B0F54 #3D0F54 #540F49
triadic
#3D0F54 #543D0F #0F543D
tetradic
#3D0F54 #541B0F #26540F #0F4954
square
#3D0F54 #541B0F #26540F #0F4954
split-complementary
#3D0F54 #49540F #0F541B
monochromatic
#13051A #170620 #3D0F54 #631888 #8822BC

Accessibility & contrast

On white

15.06
#3D0F54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D0F54
15.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D0F54#FFFFFF#000000##FFFFFF
##3D0F541.0015.061.3915.06
#FFFFFF15.061.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002456
Deuteranopia (green-blind)
#032753
Tritanopia (blue-blind)
#3A1F31
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #3d0f54;
/* rgb */ color: rgb(61, 15, 84);
/* oklch */ color: oklch(28.6% 0.120 311.4);
Tailwind
colors: {
  custom: {
    50: '#765385',
    500: '#3d0f54',
    950: '#000000',
  },
}
SCSS
$custom: #3d0f54;
$custom-light: #765385;
$custom-dark: #000000;
JSON
{
  "hex": "#3d0f54",
  "rgb": {
    "r": 61,
    "g": 15,
    "b": 84
  },
  "hsl": {
    "h": 280,
    "s": 69.697,
    "l": 19.412
  },
  "oklch": {
    "l": 0.28561,
    "c": 0.11956,
    "h": 311.4
  },
  "luminance": 0.01974
}

Semantic roles & 50–950 ramp

primary
#3D0F54
secondary
#508E31
accent
#ED3B76
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#09030B
muted
#7B787C

Preview Lab

Preview with #3D0F54

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

Preview Lab → · Contrast checker → · Palette generator →

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