#3D1E9C#3D1E9C

#3D1E9C is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.2% C 0.186 H 284.0°. Best body text is #FFFFFF at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#3D1E9C
RGBrgb(61, 30, 156)
HSLhsl(255, 68%, 36%)
HSVhsv(255, 81%, 61%)
CMYKcmyk(60.9%, 80.8%, 0%, 38.8%)
CIE-LABlab(24.70, 47.16, -62.57)
CIE-LCHlch(24.70, 78.35, 307.01°)
OKLaboklab(37.22% 0.0451 -0.1804)
OKLCHoklch(37.22% 0.186 284)
XYZxyz(8.3876, 4.3204, 31.8380)
Luminance0.0432 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1E9C #7D9C1E
analogous
#1E3E9C #3D1E9C #7C1E9C
triadic
#3D1E9C #9C3D1E #1E9C3D
tetradic
#3D1E9C #9C1E3E #7D9C1E #1E9C7C
square
#3D1E9C #9C1E3E #7D9C1E #1E9C7C
split-complementary
#3D1E9C #9C7C1E #3E9C1E
monochromatic
#150A35 #291469 #3D1E9C #5128CF #7856DE

Accessibility & contrast

On white

11.26
#3D1E9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#3D1E9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1E9C
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1E9C#FFFFFF#000000##FFFFFF
##3D1E9C1.0011.261.8611.26
#FFFFFF11.261.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E9F
Deuteranopia (green-blind)
#00379A
Tritanopia (blue-blind)
#00445D
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #3d1e9c;
/* rgb */ color: rgb(61, 30, 156);
/* oklch */ color: oklch(37.2% 0.186 284.0);
Tailwind
colors: {
  custom: {
    50: '#7f5fba',
    500: '#3d1e9c',
    950: '#000000',
  },
}
SCSS
$custom: #3d1e9c;
$custom-light: #7f5fba;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1e9c",
  "rgb": {
    "r": 61,
    "g": 30,
    "b": 156
  },
  "hsl": {
    "h": 254.762,
    "s": 67.742,
    "l": 36.471
  },
  "oklch": {
    "l": 0.37222,
    "c": 0.18591,
    "h": 284
  },
  "luminance": 0.04321
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3D1E9C

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

Preview Lab → · Contrast checker → · Palette generator →

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