#3D1C9D#3D1C9D

#3D1C9D is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.1% C 0.189 H 284.1°. Best body text is #FFFFFF at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#3D1C9D
RGBrgb(61, 28, 157)
HSLhsl(255, 70%, 36%)
HSVhsv(255, 82%, 62%)
CMYKcmyk(61.1%, 82.2%, 0%, 38.4%)
CIE-LABlab(24.50, 48.35, -63.51)
CIE-LCHlch(24.50, 79.82, 307.28°)
OKLaboklab(37.11% 0.0459 -0.1831)
OKLCHoklch(37.11% 0.189 284.1)
XYZxyz(8.4237, 4.2564, 32.2694)
Luminance0.0426 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1C9D #7C9D1C
analogous
#1C3C9D #3D1C9D #7E1C9D
triadic
#3D1C9D #9D3D1C #1C9D3D
tetradic
#3D1C9D #9D1C3C #7C9D1C #1C9D7E
square
#3D1C9D #9D1C3C #7C9D1C #1C9D7E
split-complementary
#3D1C9D #9D7E1C #3C9D1C
monochromatic
#150935 #291369 #3D1C9D #5125D1 #7753E0

Accessibility & contrast

On white

11.34
#3D1C9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#3D1C9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1C9D
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1C9D#FFFFFF#000000##FFFFFF
##3D1C9D1.0011.341.8511.34
#FFFFFF11.341.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003EA0
Deuteranopia (green-blind)
#00369B
Tritanopia (blue-blind)
#00435E
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #3d1c9d;
/* rgb */ color: rgb(61, 28, 157);
/* oklch */ color: oklch(37.1% 0.189 284.1);
Tailwind
colors: {
  custom: {
    50: '#7f5ebb',
    500: '#3d1c9d',
    950: '#000000',
  },
}
SCSS
$custom: #3d1c9d;
$custom-light: #7f5ebb;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1c9d",
  "rgb": {
    "r": 61,
    "g": 28,
    "b": 157
  },
  "hsl": {
    "h": 255.349,
    "s": 69.73,
    "l": 36.275
  },
  "oklch": {
    "l": 0.37114,
    "c": 0.18877,
    "h": 284.1
  },
  "luminance": 0.04257
}

Semantic roles & 50–950 ramp

primary
#3D1C9D
secondary
#A6C351
accent
#ED3BBF
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #3D1C9D

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

Preview Lab → · Contrast checker → · Palette generator →

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