#3D1EA1#3D1EA1

#3D1EA1 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.8% C 0.192 H 283.1°. Best body text is #FFFFFF at 11.06:1 contrast (WCAG AA passes).

Color values

HEX#3D1EA1
RGBrgb(61, 30, 161)
HSLhsl(254, 69%, 37%)
HSVhsv(254, 81%, 63%)
CMYKcmyk(62.1%, 81.4%, 0%, 36.9%)
CIE-LABlab(25.24, 48.61, -64.74)
CIE-LCHlch(25.24, 80.95, 306.90°)
OKLaboklab(37.75% 0.0435 -0.1867)
OKLCHoklch(37.75% 0.192 283.1)
XYZxyz(8.8198, 4.4932, 34.1138)
Luminance0.0449 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1EA1 #82A11E
analogous
#1E41A1 #3D1EA1 #7E1EA1
triadic
#3D1EA1 #A13D1E #1EA13D
tetradic
#3D1EA1 #A11E41 #82A11E #1EA17E
square
#3D1EA1 #A11E41 #82A11E #1EA17E
split-complementary
#3D1EA1 #A17E1E #41A11E
monochromatic
#160B3A #29146D #3D1EA1 #5128D5 #7959E0

Accessibility & contrast

On white

11.06
#3D1EA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#3D1EA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1EA1
11.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1EA1#FFFFFF#000000##FFFFFF
##3D1EA11.0011.061.9011.06
#FFFFFF11.061.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A5
Deuteranopia (green-blind)
#00379F
Tritanopia (blue-blind)
#004660
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #3d1ea1;
/* rgb */ color: rgb(61, 30, 161);
/* oklch */ color: oklch(37.8% 0.192 283.1);
Tailwind
colors: {
  custom: {
    50: '#805fbe',
    500: '#3d1ea1',
    950: '#000000',
  },
}
SCSS
$custom: #3d1ea1;
$custom-light: #805fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1ea1",
  "rgb": {
    "r": 61,
    "g": 30,
    "b": 161
  },
  "hsl": {
    "h": 254.198,
    "s": 68.586,
    "l": 37.451
  },
  "oklch": {
    "l": 0.37752,
    "c": 0.19167,
    "h": 283.1
  },
  "luminance": 0.04494
}

Semantic roles & 50–950 ramp

primary
#3D1EA1
secondary
#AAC457
accent
#EB3CC2
background
#F8F5FB
surface
#F0EAF7
border
#CBC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #3D1EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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