#3D1996#3D1996

#3D1996 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 36.1% C 0.183 H 285.9°. Best body text is #FFFFFF at 11.81:1 contrast (WCAG AA passes).

Color values

HEX#3D1996
RGBrgb(61, 25, 150)
HSLhsl(257, 71%, 34%)
HSVhsv(257, 83%, 59%)
CMYKcmyk(59.3%, 83.3%, 0%, 41.2%)
CIE-LABlab(23.30, 47.65, -61.20)
CIE-LCHlch(23.30, 77.56, 307.91°)
OKLaboklab(36.06% 0.0501 -0.1763)
OKLCHoklch(36.06% 0.183 285.9)
XYZxyz(7.7755, 3.8889, 29.1892)
Luminance0.0389 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1996 #729619
analogous
#193496 #3D1996 #7C1996
triadic
#3D1996 #963D19 #19963D
tetradic
#3D1996 #961934 #729619 #19967C
square
#3D1996 #961934 #729619 #19967C
split-complementary
#3D1996 #967C19 #349619
monochromatic
#12082D #281062 #3D1996 #5222CA #7549E1

Accessibility & contrast

On white

11.81
#3D1996 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#3D1996 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1996
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1996#FFFFFF#000000##FFFFFF
##3D19961.0011.811.7811.81
#FFFFFF11.811.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B99
Deuteranopia (green-blind)
#003494
Tritanopia (blue-blind)
#0B3F59
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #3d1996;
/* rgb */ color: rgb(61, 25, 150);
/* oklch */ color: oklch(36.1% 0.183 285.9);
Tailwind
colors: {
  custom: {
    50: '#7e5cb6',
    500: '#3d1996',
    950: '#000000',
  },
}
SCSS
$custom: #3d1996;
$custom-light: #7e5cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1996",
  "rgb": {
    "r": 61,
    "g": 25,
    "b": 150
  },
  "hsl": {
    "h": 257.28,
    "s": 71.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.3606,
    "c": 0.18328,
    "h": 285.9
  },
  "luminance": 0.03889
}

Semantic roles & 50–950 ramp

primary
#3D1996
secondary
#9FC249
accent
#EE3ABA
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0411
muted
#7C7980

Preview Lab

Preview with #3D1996

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

Preview Lab → · Contrast checker → · Palette generator →

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