#3D1390#3D1390

#3D1390 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.9% C 0.181 H 287.9°. Best body text is #FFFFFF at 12.40:1 contrast (WCAG AA passes).

Color values

HEX#3D1390
RGBrgb(61, 19, 144)
HSLhsl(260, 77%, 32%)
HSVhsv(260, 87%, 56%)
CMYKcmyk(57.6%, 86.8%, 0%, 43.5%)
CIE-LABlab(21.84, 48.36, -59.90)
CIE-LCHlch(21.84, 76.98, 308.92°)
OKLaboklab(34.86% 0.0556 -0.1724)
OKLCHoklch(34.86% 0.181 287.9)
XYZxyz(7.1899, 3.4711, 26.6713)
Luminance0.0347 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1390 #669013
analogous
#132890 #3D1390 #7C1390
triadic
#3D1390 #903D13 #13903D
tetradic
#3D1390 #901328 #669013 #13907C
square
#3D1390 #901328 #669013 #13907C
split-complementary
#3D1390 #907C13 #289013
monochromatic
#0F0524 #260C5A #3D1390 #541AC6 #7239E5

Accessibility & contrast

On white

12.40
#3D1390 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#3D1390 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1390
12.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1390#FFFFFF#000000##FFFFFF
##3D13901.0012.401.6912.40
#FFFFFF12.401.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003793
Deuteranopia (green-blind)
#00318E
Tritanopia (blue-blind)
#163B54
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #3d1390;
/* rgb */ color: rgb(61, 19, 144);
/* oklch */ color: oklch(34.9% 0.181 287.9);
Tailwind
colors: {
  custom: {
    50: '#7e59b2',
    500: '#3d1390',
    950: '#000000',
  },
}
SCSS
$custom: #3d1390;
$custom-light: #7e59b2;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1390",
  "rgb": {
    "r": 61,
    "g": 19,
    "b": 144
  },
  "hsl": {
    "h": 260.16,
    "s": 76.687,
    "l": 31.961
  },
  "oklch": {
    "l": 0.34862,
    "c": 0.18118,
    "h": 287.9
  },
  "luminance": 0.03471
}

Semantic roles & 50–950 ramp

primary
#3D1390
secondary
#96C43B
accent
#F335B3
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0411
muted
#7C7980

Preview Lab

Preview with #3D1390

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

Preview Lab → · Contrast checker → · Palette generator →

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