#3D1E8D#3D1E8D

#3D1E8D is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.7% C 0.168 H 287.2°. Best body text is #FFFFFF at 11.87:1 contrast (WCAG AA passes).

Color values

HEX#3D1E8D
RGBrgb(61, 30, 141)
HSLhsl(257, 65%, 34%)
HSVhsv(257, 79%, 55%)
CMYKcmyk(56.7%, 78.7%, 0%, 44.7%)
CIE-LABlab(23.15, 42.78, -55.88)
CIE-LCHlch(23.15, 70.37, 307.44°)
OKLaboklab(35.67% 0.0497 -0.1608)
OKLCHoklch(35.67% 0.168 287.2)
XYZxyz(7.1950, 3.8433, 25.5569)
Luminance0.0384 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1E8D #6E8D1E
analogous
#1E368D #3D1E8D #741E8D
triadic
#3D1E8D #8D3D1E #1E8D3D
tetradic
#3D1E8D #8D1E36 #6E8D1E #1E8D74
square
#3D1E8D #8D1E36 #6E8D1E #1E8D74
split-complementary
#3D1E8D #8D741E #368D1E
monochromatic
#110928 #27135B #3D1E8D #5329BF #744CD9

Accessibility & contrast

On white

11.87
#3D1E8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#3D1E8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1E8D
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1E8D#FFFFFF#000000##FFFFFF
##3D1E8D1.0011.871.7711.87
#FFFFFF11.871.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A90
Deuteranopia (green-blind)
#00348B
Tritanopia (blue-blind)
#193E55
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #3d1e8d;
/* rgb */ color: rgb(61, 30, 141);
/* oklch */ color: oklch(35.7% 0.168 287.2);
Tailwind
colors: {
  custom: {
    50: '#7c5eaf',
    500: '#3d1e8d',
    950: '#000000',
  },
}
SCSS
$custom: #3d1e8d;
$custom-light: #7c5eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1e8d",
  "rgb": {
    "r": 61,
    "g": 30,
    "b": 141
  },
  "hsl": {
    "h": 256.757,
    "s": 64.912,
    "l": 33.529
  },
  "oklch": {
    "l": 0.35671,
    "c": 0.16834,
    "h": 287.2
  },
  "luminance": 0.03844
}

Semantic roles & 50–950 ramp

primary
#3D1E8D
secondary
#9CBC4B
accent
#E840B9
background
#F8F5FA
surface
#EFE9F5
border
#CAC5CF
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #3D1E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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