#3D1E89#3D1E89

#3D1E89 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.3% C 0.164 H 288.1°. Best body text is #FFFFFF at 12.03:1 contrast (WCAG AA passes).

Color values

HEX#3D1E89
RGBrgb(61, 30, 137)
HSLhsl(257, 64%, 33%)
HSVhsv(257, 78%, 54%)
CMYKcmyk(55.5%, 78.1%, 0%, 46.3%)
CIE-LABlab(22.75, 41.60, -54.04)
CIE-LCHlch(22.75, 68.20, 307.59°)
OKLaboklab(35.27% 0.0509 -0.1554)
OKLCHoklch(35.27% 0.164 288.1)
XYZxyz(6.9028, 3.7264, 24.0176)
Luminance0.0373 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1E89 #6A891E
analogous
#1E3589 #3D1E89 #721E89
triadic
#3D1E89 #893D1E #1E893D
tetradic
#3D1E89 #891E35 #6A891E #1E8972
square
#3D1E89 #891E35 #6A891E #1E8972
split-complementary
#3D1E89 #89721E #35891E
monochromatic
#100825 #271357 #3D1E89 #5329BB #734AD7

Accessibility & contrast

On white

12.03
#3D1E89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#3D1E89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1E89
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1E89#FFFFFF#000000##FFFFFF
##3D1E891.0012.031.7512.03
#FFFFFF12.031.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00398C
Deuteranopia (green-blind)
#003387
Tritanopia (blue-blind)
#1E3C52
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #3d1e89;
/* rgb */ color: rgb(61, 30, 137);
/* oklch */ color: oklch(35.3% 0.164 288.1);
Tailwind
colors: {
  custom: {
    50: '#7c5eac',
    500: '#3d1e89',
    950: '#000000',
  },
}
SCSS
$custom: #3d1e89;
$custom-light: #7c5eac;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1e89",
  "rgb": {
    "r": 61,
    "g": 30,
    "b": 137
  },
  "hsl": {
    "h": 257.383,
    "s": 64.072,
    "l": 32.745
  },
  "oklch": {
    "l": 0.35269,
    "c": 0.16357,
    "h": 288.1
  },
  "luminance": 0.03727
}

Semantic roles & 50–950 ramp

primary
#3D1E89
secondary
#99BA49
accent
#E741B7
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #3D1E89

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

Preview Lab → · Contrast checker → · Palette generator →

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