#3D1E7D#3D1E7D

#3D1E7D is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.1% C 0.149 H 291.3°. Best body text is #FFFFFF at 12.50:1 contrast (WCAG AA passes).

Color values

HEX#3D1E7D
RGBrgb(61, 30, 125)
HSLhsl(260, 61%, 30%)
HSVhsv(260, 76%, 49%)
CMYKcmyk(51.2%, 76%, 0%, 51%)
CIE-LABlab(21.58, 38.07, -48.38)
CIE-LCHlch(21.58, 61.57, 308.20°)
OKLaboklab(34.1% 0.0542 -0.1389)
OKLCHoklch(34.1% 0.149 291.3)
XYZxyz(6.0894, 3.4011, 19.7337)
Luminance0.0340 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1E7D #5E7D1E
analogous
#1E2E7D #3D1E7D #6C1E7D
triadic
#3D1E7D #7D3D1E #1E7D3D
tetradic
#3D1E7D #7D1E2E #5E7D1E #1E7D6C
square
#3D1E7D #7D1E2E #5E7D1E #1E7D6C
split-complementary
#3D1E7D #7D6C1E #2E7D1E
monochromatic
#0D061A #25124C #3D1E7D #552AAE #7243D2

Accessibility & contrast

On white

12.50
#3D1E7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#3D1E7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1E7D
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1E7D#FFFFFF#000000##FFFFFF
##3D1E7D1.0012.501.6812.50
#FFFFFF12.501.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003580
Deuteranopia (green-blind)
#00327B
Tritanopia (blue-blind)
#28374C
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #3d1e7d;
/* rgb */ color: rgb(61, 30, 125);
/* oklch */ color: oklch(34.1% 0.149 291.3);
Tailwind
colors: {
  custom: {
    50: '#7a5da4',
    500: '#3d1e7d',
    950: '#000000',
  },
}
SCSS
$custom: #3d1e7d;
$custom-light: #7a5da4;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1e7d",
  "rgb": {
    "r": 61,
    "g": 30,
    "b": 125
  },
  "hsl": {
    "h": 259.579,
    "s": 61.29,
    "l": 30.392
  },
  "oklch": {
    "l": 0.34097,
    "c": 0.14907,
    "h": 291.3
  },
  "luminance": 0.03401
}

Semantic roles & 50–950 ramp

primary
#3D1E7D
secondary
#8EB046
accent
#E443B0
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #3D1E7D

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

Preview Lab → · Contrast checker → · Palette generator →

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