#3D1E9A#3D1E9A

#3D1E9A is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.0% C 0.184 H 284.4°. Best body text is #FFFFFF at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#3D1E9A
RGBrgb(61, 30, 154)
HSLhsl(255, 67%, 36%)
HSVhsv(255, 81%, 60%)
CMYKcmyk(60.4%, 80.5%, 0%, 39.6%)
CIE-LABlab(24.49, 46.58, -61.69)
CIE-LCHlch(24.49, 77.30, 307.05°)
OKLaboklab(37.01% 0.0457 -0.1778)
OKLCHoklch(37.01% 0.184 284.4)
XYZxyz(8.2197, 4.2532, 30.9534)
Luminance0.0425 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1E9A #7B9A1E
analogous
#1E3D9A #3D1E9A #7B1E9A
triadic
#3D1E9A #9A3D1E #1E9A3D
tetradic
#3D1E9A #9A1E3D #7B9A1E #1E9A7B
square
#3D1E9A #9A1E3D #7B9A1E #1E9A7B
split-complementary
#3D1E9A #9A7B1E #3D9A1E
monochromatic
#140A34 #291467 #3D1E9A #5128CD #7755DE

Accessibility & contrast

On white

11.35
#3D1E9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D1E9A
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1E9A#FFFFFF#000000##FFFFFF
##3D1E9A1.0011.351.8511.35
#FFFFFF11.351.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E9D
Deuteranopia (green-blind)
#003698
Tritanopia (blue-blind)
#00435C
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #3d1e9a;
/* rgb */ color: rgb(61, 30, 154);
/* oklch */ color: oklch(37.0% 0.184 284.4);
Tailwind
colors: {
  custom: {
    50: '#7f5fb9',
    500: '#3d1e9a',
    950: '#000000',
  },
}
SCSS
$custom: #3d1e9a;
$custom-light: #7f5fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1e9a",
  "rgb": {
    "r": 61,
    "g": 30,
    "b": 154
  },
  "hsl": {
    "h": 255,
    "s": 67.391,
    "l": 36.078
  },
  "oklch": {
    "l": 0.37011,
    "c": 0.18359,
    "h": 284.4
  },
  "luminance": 0.04254
}

Semantic roles & 50–950 ramp

primary
#3D1E9A
secondary
#A6C153
accent
#EA3EBF
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #3D1E9A

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

Preview Lab → · Contrast checker → · Palette generator →

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