#3D1E83#3D1E83

#3D1E83 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.7% C 0.156 H 289.7°. Best body text is #FFFFFF at 12.27:1 contrast (WCAG AA passes).

Color values

HEX#3D1E83
RGBrgb(61, 30, 131)
HSLhsl(258, 63%, 32%)
HSVhsv(258, 77%, 51%)
CMYKcmyk(53.4%, 77.1%, 0%, 48.6%)
CIE-LABlab(22.16, 39.84, -51.24)
CIE-LCHlch(22.16, 64.90, 307.86°)
OKLaboklab(34.68% 0.0526 -0.1472)
OKLCHoklch(34.68% 0.156 289.7)
XYZxyz(6.4843, 3.5591, 21.8136)
Luminance0.0356 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1E83 #64831E
analogous
#1E3283 #3D1E83 #701E83
triadic
#3D1E83 #833D1E #1E833D
tetradic
#3D1E83 #831E32 #64831E #1E8370
square
#3D1E83 #831E32 #64831E #1E8370
split-complementary
#3D1E83 #83701E #32831E
monochromatic
#0F071F #261351 #3D1E83 #5429B5 #7247D5

Accessibility & contrast

On white

12.27
#3D1E83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D1E83
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1E83#FFFFFF#000000##FFFFFF
##3D1E831.0012.271.7112.27
#FFFFFF12.271.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003786
Deuteranopia (green-blind)
#003381
Tritanopia (blue-blind)
#233A4F
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #3d1e83;
/* rgb */ color: rgb(61, 30, 131);
/* oklch */ color: oklch(34.7% 0.156 289.7);
Tailwind
colors: {
  custom: {
    50: '#7b5da8',
    500: '#3d1e83',
    950: '#000000',
  },
}
SCSS
$custom: #3d1e83;
$custom-light: #7b5da8;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1e83",
  "rgb": {
    "r": 61,
    "g": 30,
    "b": 131
  },
  "hsl": {
    "h": 258.416,
    "s": 62.733,
    "l": 31.569
  },
  "oklch": {
    "l": 0.34676,
    "c": 0.15636,
    "h": 289.7
  },
  "luminance": 0.03559
}

Semantic roles & 50–950 ramp

primary
#3D1E83
secondary
#94B647
accent
#E642B4
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #3D1E83

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

Preview Lab → · Contrast checker → · Palette generator →

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