#3D1EAD#3D1EAD

#3D1EAD is a dark, highly saturated violet. Relative luminance 0.049; OKLCH L 39.0% C 0.205 H 281.1°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#3D1EAD
RGBrgb(61, 30, 173)
HSLhsl(253, 70%, 40%)
HSVhsv(253, 83%, 68%)
CMYKcmyk(64.7%, 82.7%, 0%, 32.2%)
CIE-LABlab(26.55, 52.06, -69.82)
CIE-LCHlch(26.55, 87.09, 306.71°)
OKLaboklab(39.05% 0.0395 -0.2015)
OKLCHoklch(39.05% 0.205 281.1)
XYZxyz(9.9292, 4.9370, 39.9568)
Luminance0.0494 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1EAD #8EAD1E
analogous
#1E47AD #3D1EAD #851EAD
triadic
#3D1EAD #AD3D1E #1EAD3D
tetradic
#3D1EAD #AD1E47 #8EAD1E #1EAD85
square
#3D1EAD #AD1E47 #8EAD1E #1EAD85
split-complementary
#3D1EAD #AD851E #47AD1E
monochromatic
#180C45 #2B1579 #3D1EAD #532EDB #7E62E4

Accessibility & contrast

On white

10.57
#3D1EAD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#3D1EAD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1EAD
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1EAD#FFFFFF#000000##FFFFFF
##3D1EAD1.0010.571.9910.57
#FFFFFF10.571.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044B1
Deuteranopia (green-blind)
#003AAB
Tritanopia (blue-blind)
#004B67
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3d1ead;
/* rgb */ color: rgb(61, 30, 173);
/* oklch */ color: oklch(39.0% 0.205 281.1);
Tailwind
colors: {
  custom: {
    50: '#8260c7',
    500: '#3d1ead',
    950: '#000000',
  },
}
SCSS
$custom: #3d1ead;
$custom-light: #8260c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1ead",
  "rgb": {
    "r": 61,
    "g": 30,
    "b": 173
  },
  "hsl": {
    "h": 253.007,
    "s": 70.443,
    "l": 39.804
  },
  "oklch": {
    "l": 0.39048,
    "c": 0.20532,
    "h": 281.1
  },
  "luminance": 0.04938
}

Semantic roles & 50–950 ramp

primary
#3D1EAD
secondary
#B1C85E
accent
#ED3BC6
background
#F8F5FC
surface
#F0EAF8
border
#CBC6D1
text
#0C0513
muted
#7D7982

Preview Lab

Preview with #3D1EAD

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

Preview Lab → · Contrast checker → · Palette generator →

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