#3D1E9E#3D1E9E

#3D1E9E is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.4% C 0.188 H 283.7°. Best body text is #FFFFFF at 11.18:1 contrast (WCAG AA passes).

Color values

HEX#3D1E9E
RGBrgb(61, 30, 158)
HSLhsl(255, 68%, 37%)
HSVhsv(255, 81%, 62%)
CMYKcmyk(61.4%, 81%, 0%, 38%)
CIE-LABlab(24.92, 47.74, -63.44)
CIE-LCHlch(24.92, 79.40, 306.96°)
OKLaboklab(37.43% 0.0444 -0.1829)
OKLCHoklch(37.43% 0.188 283.7)
XYZxyz(8.5584, 4.3887, 32.7372)
Luminance0.0439 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1E9E #7F9E1E
analogous
#1E3F9E #3D1E9E #7D1E9E
triadic
#3D1E9E #9E3D1E #1E9E3D
tetradic
#3D1E9E #9E1E3F #7F9E1E #1E9E7D
square
#3D1E9E #9E1E3F #7F9E1E #1E9E7D
split-complementary
#3D1E9E #9E7D1E #3F9E1E
monochromatic
#150A37 #29146B #3D1E9E #5128D1 #7857DF

Accessibility & contrast

On white

11.18
#3D1E9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#3D1E9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1E9E
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1E9E#FFFFFF#000000##FFFFFF
##3D1E9E1.0011.181.8811.18
#FFFFFF11.181.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FA2
Deuteranopia (green-blind)
#00379C
Tritanopia (blue-blind)
#00455E
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #3d1e9e;
/* rgb */ color: rgb(61, 30, 158);
/* oklch */ color: oklch(37.4% 0.188 283.7);
Tailwind
colors: {
  custom: {
    50: '#7f5fbc',
    500: '#3d1e9e',
    950: '#000000',
  },
}
SCSS
$custom: #3d1e9e;
$custom-light: #7f5fbc;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1e9e",
  "rgb": {
    "r": 61,
    "g": 30,
    "b": 158
  },
  "hsl": {
    "h": 254.531,
    "s": 68.085,
    "l": 36.863
  },
  "oklch": {
    "l": 0.37433,
    "c": 0.18822,
    "h": 283.7
  },
  "luminance": 0.04389
}

Semantic roles & 50–950 ramp

primary
#3D1E9E
secondary
#A8C355
accent
#EB3DC1
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #3D1E9E

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

Preview Lab → · Contrast checker → · Palette generator →

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