#3D1E79#3D1E79

#3D1E79 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 33.7% C 0.144 H 292.5°. Best body text is #FFFFFF at 12.65:1 contrast (WCAG AA passes).

Color values

HEX#3D1E79
RGBrgb(61, 30, 121)
HSLhsl(260, 60%, 30%)
HSVhsv(260, 75%, 47%)
CMYKcmyk(49.6%, 75.2%, 0%, 52.5%)
CIE-LABlab(21.21, 36.90, -46.45)
CIE-LCHlch(21.21, 59.32, 308.46°)
OKLaboklab(33.72% 0.0551 -0.1332)
OKLCHoklch(33.72% 0.144 292.5)
XYZxyz(5.8390, 3.3009, 18.4149)
Luminance0.0330 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1E79 #5A791E
analogous
#1E2C79 #3D1E79 #6B1E79
triadic
#3D1E79 #793D1E #1E793D
tetradic
#3D1E79 #791E2C #5A791E #1E796B
square
#3D1E79 #791E2C #5A791E #1E796B
split-complementary
#3D1E79 #796B1E #2C791E
monochromatic
#0C0619 #241248 #3D1E79 #562AAA #7241D0

Accessibility & contrast

On white

12.65
#3D1E79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#3D1E79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1E79
12.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1E79#FFFFFF#000000##FFFFFF
##3D1E791.0012.651.6612.65
#FFFFFF12.651.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347C
Deuteranopia (green-blind)
#003177
Tritanopia (blue-blind)
#2A3649
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #3d1e79;
/* rgb */ color: rgb(61, 30, 121);
/* oklch */ color: oklch(33.7% 0.144 292.5);
Tailwind
colors: {
  custom: {
    50: '#795da1',
    500: '#3d1e79',
    950: '#000000',
  },
}
SCSS
$custom: #3d1e79;
$custom-light: #795da1;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1e79",
  "rgb": {
    "r": 61,
    "g": 30,
    "b": 121
  },
  "hsl": {
    "h": 260.44,
    "s": 60.265,
    "l": 29.608
  },
  "oklch": {
    "l": 0.33719,
    "c": 0.14415,
    "h": 292.5
  },
  "luminance": 0.03301
}

Semantic roles & 50–950 ramp

primary
#3D1E79
secondary
#8AAD46
accent
#E344AD
background
#F7F5FA
surface
#EEE9F3
border
#C9C5CD
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #3D1E79

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

Preview Lab → · Contrast checker → · Palette generator →

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