#3D1E82#3D1E82

#3D1E82 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.6% C 0.155 H 289.9°. Best body text is #FFFFFF at 12.31:1 contrast (WCAG AA passes).

Color values

HEX#3D1E82
RGBrgb(61, 30, 130)
HSLhsl(259, 63%, 31%)
HSVhsv(259, 77%, 51%)
CMYKcmyk(53.1%, 76.9%, 0%, 49%)
CIE-LABlab(22.06, 39.54, -50.77)
CIE-LCHlch(22.06, 64.35, 307.91°)
OKLaboklab(34.58% 0.0529 -0.1459)
OKLCHoklch(34.58% 0.155 289.9)
XYZxyz(6.4168, 3.5321, 21.4584)
Luminance0.0353 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1E82 #63821E
analogous
#1E3182 #3D1E82 #6F1E82
triadic
#3D1E82 #823D1E #1E823D
tetradic
#3D1E82 #821E31 #63821E #1E826F
square
#3D1E82 #821E31 #63821E #1E826F
split-complementary
#3D1E82 #826F1E #31821E
monochromatic
#0E071F #261350 #3D1E82 #5429B4 #7246D4

Accessibility & contrast

On white

12.31
#3D1E82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#3D1E82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1E82
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1E82#FFFFFF#000000##FFFFFF
##3D1E821.0012.311.7112.31
#FFFFFF12.311.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003785
Deuteranopia (green-blind)
#003280
Tritanopia (blue-blind)
#24394E
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #3d1e82;
/* rgb */ color: rgb(61, 30, 130);
/* oklch */ color: oklch(34.6% 0.155 289.9);
Tailwind
colors: {
  custom: {
    50: '#7a5da7',
    500: '#3d1e82',
    950: '#000000',
  },
}
SCSS
$custom: #3d1e82;
$custom-light: #7a5da7;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1e82",
  "rgb": {
    "r": 61,
    "g": 30,
    "b": 130
  },
  "hsl": {
    "h": 258.6,
    "s": 62.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.34579,
    "c": 0.15515,
    "h": 289.9
  },
  "luminance": 0.03532
}

Semantic roles & 50–950 ramp

primary
#3D1E82
secondary
#93B547
accent
#E642B3
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #3D1E82

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

Preview Lab → · Contrast checker → · Palette generator →

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