#3D1E93#3D1E93

#3D1E93 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.3% C 0.175 H 285.8°. Best body text is #FFFFFF at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#3D1E93
RGBrgb(61, 30, 147)
HSLhsl(256, 66%, 35%)
HSVhsv(256, 80%, 58%)
CMYKcmyk(58.5%, 79.6%, 0%, 42.4%)
CIE-LABlab(23.76, 44.53, -58.59)
CIE-LCHlch(23.76, 73.59, 307.24°)
OKLaboklab(36.28% 0.0479 -0.1687)
OKLCHoklch(36.28% 0.175 285.8)
XYZxyz(7.6536, 4.0268, 27.9721)
Luminance0.0403 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1E93 #74931E
analogous
#1E3A93 #3D1E93 #771E93
triadic
#3D1E93 #933D1E #1E933D
tetradic
#3D1E93 #931E3A #74931E #1E9377
square
#3D1E93 #931E3A #74931E #1E9377
split-complementary
#3D1E93 #93771E #3A931E
monochromatic
#13092D #281460 #3D1E93 #5228C6 #7550DB

Accessibility & contrast

On white

11.63
#3D1E93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#3D1E93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1E93
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1E93#FFFFFF#000000##FFFFFF
##3D1E931.0011.631.8111.63
#FFFFFF11.631.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C96
Deuteranopia (green-blind)
#003591
Tritanopia (blue-blind)
#114058
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #3d1e93;
/* rgb */ color: rgb(61, 30, 147);
/* oklch */ color: oklch(36.3% 0.175 285.8);
Tailwind
colors: {
  custom: {
    50: '#7d5eb4',
    500: '#3d1e93',
    950: '#000000',
  },
}
SCSS
$custom: #3d1e93;
$custom-light: #7d5eb4;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1e93",
  "rgb": {
    "r": 61,
    "g": 30,
    "b": 147
  },
  "hsl": {
    "h": 255.897,
    "s": 66.102,
    "l": 34.706
  },
  "oklch": {
    "l": 0.36284,
    "c": 0.17542,
    "h": 285.8
  },
  "luminance": 0.04027
}

Semantic roles & 50–950 ramp

primary
#3D1E93
secondary
#A1BE4F
accent
#E93FBC
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #3D1E93

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

Preview Lab → · Contrast checker → · Palette generator →

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