#3D0C50#3D0C50

#3D0C50 is a dark, moderate purple. Relative luminance 0.018; OKLCH L 27.9% C 0.119 H 314.2°. Best body text is #FFFFFF at 15.36:1 contrast (WCAG AA passes).

Color values

HEX#3D0C50
RGBrgb(61, 12, 80)
HSLhsl(283, 74%, 18%)
HSVhsv(283, 85%, 31%)
CMYKcmyk(23.7%, 85%, 0%, 68.6%)
CIE-LABlab(14.59, 34.54, -30.16)
CIE-LCHlch(14.59, 45.86, 318.87°)
OKLaboklab(27.92% 0.0829 -0.0852)
OKLCHoklch(27.92% 0.119 314.2)
XYZxyz(3.5037, 1.8344, 7.7574)
Luminance0.0183 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D0C50 #1F500C
analogous
#1B0C50 #3D0C50 #500C41
triadic
#3D0C50 #503D0C #0C503D
tetradic
#3D0C50 #501B0C #1F500C #0C4150
square
#3D0C50 #501B0C #1F500C #0C4150
split-complementary
#3D0C50 #41500C #0C501B
monochromatic
#14041B #14041B #3D0C50 #661485 #8E1CBA

Accessibility & contrast

On white

15.36
#3D0C50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#3D0C50 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D0C50
15.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D0C50#FFFFFF#000000##FFFFFF
##3D0C501.0015.361.3715.36
#FFFFFF15.361.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002252
Deuteranopia (green-blind)
#07264F
Tritanopia (blue-blind)
#3B1C2E
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #3d0c50;
/* rgb */ color: rgb(61, 12, 80);
/* oklch */ color: oklch(27.9% 0.119 314.2);
Tailwind
colors: {
  custom: {
    50: '#765282',
    500: '#3d0c50',
    950: '#000000',
  },
}
SCSS
$custom: #3d0c50;
$custom-light: #765282;
$custom-dark: #000000;
JSON
{
  "hex": "#3d0c50",
  "rgb": {
    "r": 61,
    "g": 12,
    "b": 80
  },
  "hsl": {
    "h": 283.235,
    "s": 73.913,
    "l": 18.039
  },
  "oklch": {
    "l": 0.27923,
    "c": 0.11891,
    "h": 314.2
  },
  "luminance": 0.01834
}

Semantic roles & 50–950 ramp

primary
#3D0C50
secondary
#478B2C
accent
#F1376B
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#09020A
muted
#7B787C

Preview Lab

Preview with #3D0C50

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

Preview Lab → · Contrast checker → · Palette generator →

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