#3D0F4D#3D0F4D

#3D0F4D is a dark, moderate purple. Relative luminance 0.019; OKLCH L 28.0% C 0.112 H 315.7°. Best body text is #FFFFFF at 15.28:1 contrast (WCAG AA passes).

Color values

HEX#3D0F4D
RGBrgb(61, 15, 77)
HSLhsl(285, 67%, 18%)
HSVhsv(285, 81%, 30%)
CMYKcmyk(20.8%, 80.5%, 0%, 69.8%)
CIE-LABlab(14.79, 32.60, -27.79)
CIE-LCHlch(14.79, 42.84, 319.55°)
OKLaboklab(27.99% 0.0803 -0.0783)
OKLCHoklch(27.99% 0.112 315.7)
XYZxyz(3.4346, 1.8697, 7.1997)
Luminance0.0187 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D0F4D #1F4D0F
analogous
#1E0F4D #3D0F4D #4D0F3E
triadic
#3D0F4D #4D3D0F #0F4D3D
tetradic
#3D0F4D #4D1E0F #1F4D0F #0F3E4D
square
#3D0F4D #4D1E0F #1F4D0F #0F3E4D
split-complementary
#3D0F4D #3E4D0F #0F4D1E
monochromatic
#14051A #14051A #3D0F4D #661980 #8E23B3

Accessibility & contrast

On white

15.28
#3D0F4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D0F4D
15.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D0F4D#FFFFFF#000000##FFFFFF
##3D0F4D1.0015.281.3715.28
#FFFFFF15.281.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00234F
Deuteranopia (green-blind)
#0E264C
Tritanopia (blue-blind)
#3C1C2D
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #3d0f4d;
/* rgb */ color: rgb(61, 15, 77);
/* oklch */ color: oklch(28.0% 0.112 315.7);
Tailwind
colors: {
  custom: {
    50: '#75537f',
    500: '#3d0f4d',
    950: '#000000',
  },
}
SCSS
$custom: #3d0f4d;
$custom-light: #75537f;
$custom-dark: #000000;
JSON
{
  "hex": "#3d0f4d",
  "rgb": {
    "r": 61,
    "g": 15,
    "b": 77
  },
  "hsl": {
    "h": 284.516,
    "s": 67.391,
    "l": 18.039
  },
  "oklch": {
    "l": 0.27985,
    "c": 0.11215,
    "h": 315.7
  },
  "luminance": 0.0187
}

Semantic roles & 50–950 ramp

primary
#3D0F4D
secondary
#478731
accent
#EA3E6A
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#09020A
muted
#7B787C

Preview Lab

Preview with #3D0F4D

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

Preview Lab → · Contrast checker → · Palette generator →

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