#3D1481#3D1481

#3D1481 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.4% C 0.164 H 291.8°. Best body text is #FFFFFF at 13.00:1 contrast (WCAG AA passes).

Color values

HEX#3D1481
RGBrgb(61, 20, 129)
HSLhsl(263, 73%, 29%)
HSVhsv(263, 84%, 51%)
CMYKcmyk(52.7%, 84.5%, 0%, 49.4%)
CIE-LABlab(20.35, 43.90, -52.95)
CIE-LCHlch(20.35, 68.78, 309.66°)
OKLaboklab(33.36% 0.0608 -0.1521)
OKLCHoklch(33.36% 0.164 291.8)
XYZxyz(6.1359, 3.0771, 21.0353)
Luminance0.0308 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1481 #588114
analogous
#142281 #3D1481 #741481
triadic
#3D1481 #813D14 #14813D
tetradic
#3D1481 #811422 #588114 #148174
square
#3D1481 #811422 #588114 #148174
split-complementary
#3D1481 #817414 #228114
monochromatic
#0D041A #240C4C #3D1481 #561CB6 #7230DF

Accessibility & contrast

On white

13.00
#3D1481 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#3D1481 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1481
13.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1481#FFFFFF#000000##FFFFFF
##3D14811.0013.001.6213.00
#FFFFFF13.001.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF13.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003384
Deuteranopia (green-blind)
#002F7F
Tritanopia (blue-blind)
#25354C
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #3d1481;
/* rgb */ color: rgb(61, 20, 129);
/* oklch */ color: oklch(33.4% 0.164 291.8);
Tailwind
colors: {
  custom: {
    50: '#7b58a7',
    500: '#3d1481',
    950: '#000000',
  },
}
SCSS
$custom: #3d1481;
$custom-light: #7b58a7;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1481",
  "rgb": {
    "r": 61,
    "g": 20,
    "b": 129
  },
  "hsl": {
    "h": 262.569,
    "s": 73.154,
    "l": 29.216
  },
  "oklch": {
    "l": 0.33357,
    "c": 0.16385,
    "h": 291.8
  },
  "luminance": 0.03077
}

Semantic roles & 50–950 ramp

primary
#3D1481
secondary
#88B63B
accent
#F038AB
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #3D1481

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

Preview Lab → · Contrast checker → · Palette generator →

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