#3D0D5F#3D0D5F

#3D0D5F is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.3% C 0.133 H 305.8°. Best body text is #FFFFFF at 14.78:1 contrast (WCAG AA passes).

Color values

HEX#3D0D5F
RGBrgb(61, 13, 95)
HSLhsl(275, 76%, 21%)
HSVhsv(275, 86%, 37%)
CMYKcmyk(35.8%, 86.3%, 0%, 62.7%)
CIE-LABlab(16.04, 37.75, -37.95)
CIE-LCHlch(16.04, 53.53, 314.85°)
OKLaboklab(29.34% 0.0781 -0.1081)
OKLCHoklch(29.34% 0.133 305.8)
XYZxyz(4.1335, 2.1062, 11.0130)
Luminance0.0211 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D0D5F #2F5F0D
analogous
#140D5F #3D0D5F #5F0D58
triadic
#3D0D5F #5F3D0D #0D5F3D
tetradic
#3D0D5F #5F140D #2F5F0D #0D585F
square
#3D0D5F #5F140D #2F5F0D #0D585F
split-complementary
#3D0D5F #585F0D #0D5F14
monochromatic
#11041B #1A0629 #3D0D5F #601495 #821CCB

Accessibility & contrast

On white

14.78
#3D0D5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#3D0D5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D0D5F
14.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D0D5F#FFFFFF#000000##FFFFFF
##3D0D5F1.0014.781.4214.78
#FFFFFF14.781.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002761
Deuteranopia (green-blind)
#00285D
Tritanopia (blue-blind)
#372337
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #3d0d5f;
/* rgb */ color: rgb(61, 13, 95);
/* oklch */ color: oklch(29.3% 0.133 305.8);
Tailwind
colors: {
  custom: {
    50: '#77538d',
    500: '#3d0d5f',
    950: '#000000',
  },
}
SCSS
$custom: #3d0d5f;
$custom-light: #77538d;
$custom-dark: #000000;
JSON
{
  "hex": "#3d0d5f",
  "rgb": {
    "r": 61,
    "g": 13,
    "b": 95
  },
  "hsl": {
    "h": 275.122,
    "s": 75.926,
    "l": 21.176
  },
  "oklch": {
    "l": 0.29342,
    "c": 0.13337,
    "h": 305.8
  },
  "luminance": 0.02106
}

Semantic roles & 50–950 ramp

primary
#3D0D5F
secondary
#5B992F
accent
#F33584
background
#F7F4F8
surface
#EDE8F0
border
#C8C4CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3D0D5F

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

Preview Lab → · Contrast checker → · Palette generator →

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