#3D1E95#3D1E95

#3D1E95 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.5% C 0.178 H 285.4°. Best body text is #FFFFFF at 11.55:1 contrast (WCAG AA passes).

Color values

HEX#3D1E95
RGBrgb(61, 30, 149)
HSLhsl(256, 66%, 35%)
HSVhsv(256, 80%, 58%)
CMYKcmyk(59.1%, 79.9%, 0%, 41.6%)
CIE-LABlab(23.97, 45.12, -59.48)
CIE-LCHlch(23.97, 74.66, 307.18°)
OKLaboklab(36.49% 0.0473 -0.1714)
OKLCHoklch(36.49% 0.178 285.4)
XYZxyz(7.8119, 4.0901, 28.8058)
Luminance0.0409 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1E95 #76951E
analogous
#1E3B95 #3D1E95 #781E95
triadic
#3D1E95 #953D1E #1E953D
tetradic
#3D1E95 #951E3B #76951E #1E9578
square
#3D1E95 #951E3B #76951E #1E9578
split-complementary
#3D1E95 #95781E #3B951E
monochromatic
#13092F #281462 #3D1E95 #5228C8 #7551DC

Accessibility & contrast

On white

11.55
#3D1E95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#3D1E95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1E95
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1E95#FFFFFF#000000##FFFFFF
##3D1E951.0011.551.8211.55
#FFFFFF11.551.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C98
Deuteranopia (green-blind)
#003593
Tritanopia (blue-blind)
#0D4159
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #3d1e95;
/* rgb */ color: rgb(61, 30, 149);
/* oklch */ color: oklch(36.5% 0.178 285.4);
Tailwind
colors: {
  custom: {
    50: '#7e5eb5',
    500: '#3d1e95',
    950: '#000000',
  },
}
SCSS
$custom: #3d1e95;
$custom-light: #7e5eb5;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1e95",
  "rgb": {
    "r": 61,
    "g": 30,
    "b": 149
  },
  "hsl": {
    "h": 255.63,
    "s": 66.48,
    "l": 35.098
  },
  "oklch": {
    "l": 0.3649,
    "c": 0.17777,
    "h": 285.4
  },
  "luminance": 0.04091
}

Semantic roles & 50–950 ramp

primary
#3D1E95
secondary
#A2BF50
accent
#E93EBD
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #3D1E95

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

Preview Lab → · Contrast checker → · Palette generator →

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