#3D0F5D#3D0F5D

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

Color values

HEX#3D0F5D
RGBrgb(61, 15, 93)
HSLhsl(275, 72%, 21%)
HSVhsv(275, 84%, 36%)
CMYKcmyk(34.4%, 83.9%, 0%, 63.5%)
CIE-LABlab(16.13, 36.46, -36.47)
CIE-LCHlch(16.13, 51.57, 314.99°)
OKLaboklab(29.35% 0.0769 -0.1038)
OKLCHoklch(29.35% 0.129 306.5)
XYZxyz(4.0706, 2.1241, 10.5494)
Luminance0.0212 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D0F5D #2F5D0F
analogous
#160F5D #3D0F5D #5D0F56
triadic
#3D0F5D #5D3D0F #0F5D3D
tetradic
#3D0F5D #5D160F #2F5D0F #0F565D
square
#3D0F5D #5D160F #2F5D0F #0F565D
split-complementary
#3D0F5D #565D0F #0F5D16
monochromatic
#11041A #1A0628 #3D0F5D #601792 #8220C6

Accessibility & contrast

On white

14.74
#3D0F5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D0F5D
14.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D0F5D#FFFFFF#000000##FFFFFF
##3D0F5D1.0014.741.4214.74
#FFFFFF14.741.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00275F
Deuteranopia (green-blind)
#00285B
Tritanopia (blue-blind)
#372336
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #3d0f5d;
/* rgb */ color: rgb(61, 15, 93);
/* oklch */ color: oklch(29.3% 0.129 306.5);
Tailwind
colors: {
  custom: {
    50: '#77548c',
    500: '#3d0f5d',
    950: '#000000',
  },
}
SCSS
$custom: #3d0f5d;
$custom-light: #77548c;
$custom-dark: #000000;
JSON
{
  "hex": "#3d0f5d",
  "rgb": {
    "r": 61,
    "g": 15,
    "b": 93
  },
  "hsl": {
    "h": 275.385,
    "s": 72.222,
    "l": 21.176
  },
  "oklch": {
    "l": 0.29349,
    "c": 0.12918,
    "h": 306.5
  },
  "luminance": 0.02124
}

Semantic roles & 50–950 ramp

primary
#3D0F5D
secondary
#5B9631
accent
#EF3984
background
#F7F5F8
surface
#EDE8F0
border
#C8C4CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3D0F5D

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

Preview Lab → · Contrast checker → · Palette generator →

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