#3D1579#3D1579

#3D1579 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.6% C 0.154 H 294.1°. Best body text is #FFFFFF at 13.28:1 contrast (WCAG AA passes).

Color values

HEX#3D1579
RGBrgb(61, 21, 121)
HSLhsl(264, 70%, 28%)
HSVhsv(264, 83%, 47%)
CMYKcmyk(49.6%, 82.6%, 0%, 52.5%)
CIE-LABlab(19.67, 41.29, -48.96)
CIE-LCHlch(19.67, 64.05, 310.14°)
OKLaboklab(32.64% 0.063 -0.1405)
OKLCHoklch(32.64% 0.154 294.1)
XYZxyz(5.6429, 2.9087, 18.3496)
Luminance0.0291 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1579 #517915
analogous
#151F79 #3D1579 #6F1579
triadic
#3D1579 #793D15 #15793D
tetradic
#3D1579 #79151F #517915 #15796F
square
#3D1579 #79151F #517915 #15796F
split-complementary
#3D1579 #796F15 #1F7915
monochromatic
#0D051A #230C45 #3D1579 #571EAD #732EDB

Accessibility & contrast

On white

13.28
#3D1579 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#3D1579 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1579
13.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1579#FFFFFF#000000##FFFFFF
##3D15791.0013.281.5813.28
#FFFFFF13.281.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00317C
Deuteranopia (green-blind)
#002E77
Tritanopia (blue-blind)
#2B3247
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #3d1579;
/* rgb */ color: rgb(61, 21, 121);
/* oklch */ color: oklch(32.6% 0.154 294.1);
Tailwind
colors: {
  custom: {
    50: '#7a58a1',
    500: '#3d1579',
    950: '#000000',
  },
}
SCSS
$custom: #3d1579;
$custom-light: #7a58a1;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1579",
  "rgb": {
    "r": 61,
    "g": 21,
    "b": 121
  },
  "hsl": {
    "h": 264,
    "s": 70.423,
    "l": 27.843
  },
  "oklch": {
    "l": 0.32642,
    "c": 0.15397,
    "h": 294.1
  },
  "luminance": 0.02909
}

Semantic roles & 50–950 ramp

primary
#3D1579
secondary
#80AF3B
accent
#ED3BA6
background
#F7F5FA
surface
#EEE9F3
border
#C9C5CD
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #3D1579

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

Preview Lab → · Contrast checker → · Palette generator →

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