#3D1EA4#3D1EA4

#3D1EA4 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 38.1% C 0.195 H 282.6°. Best body text is #FFFFFF at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#3D1EA4
RGBrgb(61, 30, 164)
HSLhsl(254, 69%, 38%)
HSVhsv(254, 82%, 64%)
CMYKcmyk(62.8%, 81.7%, 0%, 35.7%)
CIE-LABlab(25.56, 49.48, -66.02)
CIE-LCHlch(25.56, 82.50, 306.85°)
OKLaboklab(38.07% 0.0425 -0.1904)
OKLCHoklch(38.07% 0.195 282.6)
XYZxyz(9.0875, 4.6003, 35.5238)
Luminance0.0460 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1EA4 #85A41E
analogous
#1E42A4 #3D1EA4 #801EA4
triadic
#3D1EA4 #A43D1E #1EA43D
tetradic
#3D1EA4 #A41E42 #85A41E #1EA480
square
#3D1EA4 #A41E42 #85A41E #1EA480
split-complementary
#3D1EA4 #A4801E #42A41E
monochromatic
#170B3D #2A1570 #3D1EA4 #5028D8 #7A5BE1

Accessibility & contrast

On white

10.94
#3D1EA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#3D1EA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1EA4
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1EA4#FFFFFF#000000##FFFFFF
##3D1EA41.0010.941.9210.94
#FFFFFF10.941.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A8
Deuteranopia (green-blind)
#0038A2
Tritanopia (blue-blind)
#004762
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3d1ea4;
/* rgb */ color: rgb(61, 30, 164);
/* oklch */ color: oklch(38.1% 0.195 282.6);
Tailwind
colors: {
  custom: {
    50: '#815fc0',
    500: '#3d1ea4',
    950: '#000000',
  },
}
SCSS
$custom: #3d1ea4;
$custom-light: #815fc0;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1ea4",
  "rgb": {
    "r": 61,
    "g": 30,
    "b": 164
  },
  "hsl": {
    "h": 253.881,
    "s": 69.072,
    "l": 38.039
  },
  "oklch": {
    "l": 0.38073,
    "c": 0.19511,
    "h": 282.6
  },
  "luminance": 0.04601
}

Semantic roles & 50–950 ramp

primary
#3D1EA4
secondary
#ACC559
accent
#EC3CC3
background
#F8F5FC
surface
#F0EAF8
border
#CBC6D1
text
#0C0512
muted
#7D7981

Preview Lab

Preview with #3D1EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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