#3D1574#3D1574

#3D1574 is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.1% C 0.148 H 295.8°. Best body text is #FFFFFF at 13.48:1 contrast (WCAG AA passes).

Color values

HEX#3D1574
RGBrgb(61, 21, 116)
HSLhsl(265, 69%, 27%)
HSVhsv(265, 82%, 45%)
CMYKcmyk(47.4%, 81.9%, 0%, 54.5%)
CIE-LABlab(19.18, 39.92, -46.57)
CIE-LCHlch(19.18, 61.33, 310.60°)
OKLaboklab(32.15% 0.0647 -0.1335)
OKLCHoklch(32.15% 0.148 295.8)
XYZxyz(5.3442, 2.7893, 16.7764)
Luminance0.0279 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1574 #4C7415
analogous
#151D74 #3D1574 #6D1574
triadic
#3D1574 #743D15 #15743D
tetradic
#3D1574 #74151D #4C7415 #15746D
square
#3D1574 #74151D #4C7415 #15746D
split-complementary
#3D1574 #746D15 #1D7415
monochromatic
#0E051A #220C40 #3D1574 #581EA8 #742BD9

Accessibility & contrast

On white

13.48
#3D1574 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#3D1574 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1574
13.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1574#FFFFFF#000000##FFFFFF
##3D15741.0013.481.5613.48
#FFFFFF13.481.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F77
Deuteranopia (green-blind)
#002D72
Tritanopia (blue-blind)
#2E3044
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #3d1574;
/* rgb */ color: rgb(61, 21, 116);
/* oklch */ color: oklch(32.1% 0.148 295.8);
Tailwind
colors: {
  custom: {
    50: '#79589d',
    500: '#3d1574',
    950: '#000000',
  },
}
SCSS
$custom: #3d1574;
$custom-light: #79589d;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1574",
  "rgb": {
    "r": 61,
    "g": 21,
    "b": 116
  },
  "hsl": {
    "h": 265.263,
    "s": 69.343,
    "l": 26.863
  },
  "oklch": {
    "l": 0.32147,
    "c": 0.1483,
    "h": 295.8
  },
  "luminance": 0.02789
}

Semantic roles & 50–950 ramp

primary
#3D1574
secondary
#7BAA3B
accent
#EC3CA2
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A030E
muted
#7C787E

Preview Lab

Preview with #3D1574

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

Preview Lab → · Contrast checker → · Palette generator →

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