#3D1E9D#3D1E9D

#3D1E9D is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.3% C 0.187 H 283.8°. Best body text is #FFFFFF at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#3D1E9D
RGBrgb(61, 30, 157)
HSLhsl(255, 68%, 37%)
HSVhsv(255, 81%, 62%)
CMYKcmyk(61.1%, 80.9%, 0%, 38.4%)
CIE-LABlab(24.81, 47.45, -63.00)
CIE-LCHlch(24.81, 78.87, 306.98°)
OKLaboklab(37.33% 0.0448 -0.1816)
OKLCHoklch(37.33% 0.187 283.8)
XYZxyz(8.4727, 4.3544, 32.2858)
Luminance0.0435 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1E9D #7E9D1E
analogous
#1E3F9D #3D1E9D #7D1E9D
triadic
#3D1E9D #9D3D1E #1E9D3D
tetradic
#3D1E9D #9D1E3F #7E9D1E #1E9D7D
square
#3D1E9D #9D1E3F #7E9D1E #1E9D7D
split-complementary
#3D1E9D #9D7D1E #3F9D1E
monochromatic
#150A36 #29146A #3D1E9D #5128D0 #7857DF

Accessibility & contrast

On white

11.22
#3D1E9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#3D1E9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1E9D
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1E9D#FFFFFF#000000##FFFFFF
##3D1E9D1.0011.221.8711.22
#FFFFFF11.221.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FA0
Deuteranopia (green-blind)
#00379B
Tritanopia (blue-blind)
#00445E
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #3d1e9d;
/* rgb */ color: rgb(61, 30, 157);
/* oklch */ color: oklch(37.3% 0.187 283.8);
Tailwind
colors: {
  custom: {
    50: '#7f5fbb',
    500: '#3d1e9d',
    950: '#000000',
  },
}
SCSS
$custom: #3d1e9d;
$custom-light: #7f5fbb;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1e9d",
  "rgb": {
    "r": 61,
    "g": 30,
    "b": 157
  },
  "hsl": {
    "h": 254.646,
    "s": 67.914,
    "l": 36.667
  },
  "oklch": {
    "l": 0.37327,
    "c": 0.18707,
    "h": 283.8
  },
  "luminance": 0.04355
}

Semantic roles & 50–950 ramp

primary
#3D1E9D
secondary
#A8C254
accent
#EB3DC0
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #3D1E9D

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

Preview Lab → · Contrast checker → · Palette generator →

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