#3D2491#3D2491

#3D2491 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.8% C 0.167 H 285.3°. Best body text is #FFFFFF at 11.29:1 contrast (WCAG AA passes).

Color values

HEX#3D2491
RGBrgb(61, 36, 145)
HSLhsl(254, 60%, 35%)
HSVhsv(254, 75%, 57%)
CMYKcmyk(57.9%, 75.2%, 0%, 43.1%)
CIE-LABlab(24.63, 40.88, -55.92)
CIE-LCHlch(24.63, 69.27, 306.17°)
OKLaboklab(36.84% 0.044 -0.161)
OKLCHoklch(36.84% 0.167 285.3)
XYZxyz(7.6646, 4.2977, 27.2082)
Luminance0.0430 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2491 #789124
analogous
#244291 #3D2491 #732491
triadic
#3D2491 #913D24 #24913D
tetradic
#3D2491 #912442 #789124 #249173
square
#3D2491 #912442 #789124 #249173
split-complementary
#3D2491 #917324 #429124
monochromatic
#140C2F #281860 #3D2491 #5230C2 #7659D6

Accessibility & contrast

On white

11.29
#3D2491 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#3D2491 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2491
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2491#FFFFFF#000000##FFFFFF
##3D24911.0011.291.8611.29
#FFFFFF11.291.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D94
Deuteranopia (green-blind)
#00378F
Tritanopia (blue-blind)
#134258
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #3d2491;
/* rgb */ color: rgb(61, 36, 145);
/* oklch */ color: oklch(36.8% 0.167 285.3);
Tailwind
colors: {
  custom: {
    50: '#7d62b2',
    500: '#3d2491',
    950: '#000000',
  },
}
SCSS
$custom: #3d2491;
$custom-light: #7d62b2;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2491",
  "rgb": {
    "r": 61,
    "g": 36,
    "b": 145
  },
  "hsl": {
    "h": 253.761,
    "s": 60.221,
    "l": 35.49
  },
  "oklch": {
    "l": 0.36835,
    "c": 0.1669,
    "h": 285.3
  },
  "luminance": 0.04298
}

Semantic roles & 50–950 ramp

primary
#3D2491
secondary
#A3BA56
accent
#E344BF
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #3D2491

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

Preview Lab → · Contrast checker → · Palette generator →

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