#3D1E88#3D1E88

#3D1E88 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.2% C 0.162 H 288.4°. Best body text is #FFFFFF at 12.07:1 contrast (WCAG AA passes).

Color values

HEX#3D1E88
RGBrgb(61, 30, 136)
HSLhsl(258, 64%, 33%)
HSVhsv(258, 78%, 53%)
CMYKcmyk(55.1%, 77.9%, 0%, 46.7%)
CIE-LABlab(22.65, 41.31, -53.58)
CIE-LCHlch(22.65, 67.65, 307.63°)
OKLaboklab(35.17% 0.0512 -0.1541)
OKLCHoklch(35.17% 0.162 288.4)
XYZxyz(6.8314, 3.6979, 23.6416)
Luminance0.0370 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1E88 #69881E
analogous
#1E3488 #3D1E88 #721E88
triadic
#3D1E88 #883D1E #1E883D
tetradic
#3D1E88 #881E34 #69881E #1E8872
square
#3D1E88 #881E34 #69881E #1E8872
split-complementary
#3D1E88 #88721E #34881E
monochromatic
#100824 #271356 #3D1E88 #5329BA #7349D7

Accessibility & contrast

On white

12.07
#3D1E88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#3D1E88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1E88
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1E88#FFFFFF#000000##FFFFFF
##3D1E881.0012.071.7412.07
#FFFFFF12.071.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00388B
Deuteranopia (green-blind)
#003386
Tritanopia (blue-blind)
#1F3C52
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #3d1e88;
/* rgb */ color: rgb(61, 30, 136);
/* oklch */ color: oklch(35.2% 0.162 288.4);
Tailwind
colors: {
  custom: {
    50: '#7b5eac',
    500: '#3d1e88',
    950: '#000000',
  },
}
SCSS
$custom: #3d1e88;
$custom-light: #7b5eac;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1e88",
  "rgb": {
    "r": 61,
    "g": 30,
    "b": 136
  },
  "hsl": {
    "h": 257.547,
    "s": 63.855,
    "l": 32.549
  },
  "oklch": {
    "l": 0.35169,
    "c": 0.16237,
    "h": 288.4
  },
  "luminance": 0.03698
}

Semantic roles & 50–950 ramp

primary
#3D1E88
secondary
#98B949
accent
#E741B6
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #3D1E88

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

Preview Lab → · Contrast checker → · Palette generator →

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