#3D0D5D#3D0D5D

#3D0D5D is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.2% C 0.131 H 306.8°. Best body text is #FFFFFF at 14.85:1 contrast (WCAG AA passes).

Color values

HEX#3D0D5D
RGBrgb(61, 13, 93)
HSLhsl(276, 75%, 21%)
HSVhsv(276, 86%, 36%)
CMYKcmyk(34.4%, 86%, 0%, 63.5%)
CIE-LABlab(15.85, 37.26, -36.92)
CIE-LCHlch(15.85, 52.45, 315.26°)
OKLaboklab(29.16% 0.0787 -0.1051)
OKLCHoklch(29.16% 0.131 306.8)
XYZxyz(4.0437, 2.0703, 10.5404)
Luminance0.0207 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D0D5D #2D5D0D
analogous
#150D5D #3D0D5D #5D0D55
triadic
#3D0D5D #5D3D0D #0D5D3D
tetradic
#3D0D5D #5D150D #2D5D0D #0D555D
square
#3D0D5D #5D150D #2D5D0D #0D555D
split-complementary
#3D0D5D #555D0D #0D5D15
monochromatic
#12041B #1A0527 #3D0D5D #601593 #831CC8

Accessibility & contrast

On white

14.85
#3D0D5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#3D0D5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D0D5D
14.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D0D5D#FFFFFF#000000##FFFFFF
##3D0D5D1.0014.851.4114.85
#FFFFFF14.851.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00265F
Deuteranopia (green-blind)
#00285B
Tritanopia (blue-blind)
#372236
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #3d0d5d;
/* rgb */ color: rgb(61, 13, 93);
/* oklch */ color: oklch(29.2% 0.131 306.8);
Tailwind
colors: {
  custom: {
    50: '#77538c',
    500: '#3d0d5d',
    950: '#000000',
  },
}
SCSS
$custom: #3d0d5d;
$custom-light: #77538c;
$custom-dark: #000000;
JSON
{
  "hex": "#3d0d5d",
  "rgb": {
    "r": 61,
    "g": 13,
    "b": 93
  },
  "hsl": {
    "h": 276,
    "s": 75.472,
    "l": 20.784
  },
  "oklch": {
    "l": 0.29158,
    "c": 0.13128,
    "h": 306.8
  },
  "luminance": 0.0207
}

Semantic roles & 50–950 ramp

primary
#3D0D5D
secondary
#58972F
accent
#F23681
background
#F7F4F8
surface
#EDE7F0
border
#C8C3CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3D0D5D

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

Preview Lab → · Contrast checker → · Palette generator →

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