#3D0E4C#3D0E4C

#3D0E4C is a dark, moderate purple. Relative luminance 0.018; OKLCH L 27.8% C 0.112 H 316.5°. Best body text is #FFFFFF at 15.38:1 contrast (WCAG AA passes).

Color values

HEX#3D0E4C
RGBrgb(61, 14, 76)
HSLhsl(285, 69%, 18%)
HSVhsv(285, 82%, 30%)
CMYKcmyk(19.7%, 81.6%, 0%, 70.2%)
CIE-LABlab(14.56, 32.80, -27.47)
CIE-LCHlch(14.56, 42.79, 320.05°)
OKLaboklab(27.8% 0.0816 -0.0773)
OKLCHoklch(27.8% 0.112 316.5)
XYZxyz(3.3858, 1.8281, 7.0106)
Luminance0.0183 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D0E4C #1D4C0E
analogous
#1E0E4C #3D0E4C #4C0E3C
triadic
#3D0E4C #4C3D0E #0E4C3D
tetradic
#3D0E4C #4C1E0E #1D4C0E #0E3C4C
square
#3D0E4C #4C1E0E #1D4C0E #0E3C4C
split-complementary
#3D0E4C #3C4C0E #0E4C1E
monochromatic
#15051A #15051A #3D0E4C #661880 #9021B3

Accessibility & contrast

On white

15.38
#3D0E4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D0E4C
15.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D0E4C#FFFFFF#000000##FFFFFF
##3D0E4C1.0015.381.3715.38
#FFFFFF15.381.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00224E
Deuteranopia (green-blind)
#0E264B
Tritanopia (blue-blind)
#3C1B2C
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #3d0e4c;
/* rgb */ color: rgb(61, 14, 76);
/* oklch */ color: oklch(27.8% 0.112 316.5);
Tailwind
colors: {
  custom: {
    50: '#75527e',
    500: '#3d0e4c',
    950: '#000000',
  },
}
SCSS
$custom: #3d0e4c;
$custom-light: #75527e;
$custom-dark: #000000;
JSON
{
  "hex": "#3d0e4c",
  "rgb": {
    "r": 61,
    "g": 14,
    "b": 76
  },
  "hsl": {
    "h": 285.484,
    "s": 68.889,
    "l": 17.647
  },
  "oklch": {
    "l": 0.27797,
    "c": 0.1124,
    "h": 316.5
  },
  "luminance": 0.01828
}

Semantic roles & 50–950 ramp

primary
#3D0E4C
secondary
#44872F
accent
#EC3C67
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#09020A
muted
#7B787C

Preview Lab

Preview with #3D0E4C

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

Preview Lab → · Contrast checker → · Palette generator →

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