#3D2A86#3D2A86

#3D2A86 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 36.7% C 0.146 H 286.3°. Best body text is #FFFFFF at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#3D2A86
RGBrgb(61, 42, 134)
HSLhsl(252, 52%, 35%)
HSVhsv(252, 69%, 53%)
CMYKcmyk(54.5%, 68.7%, 0%, 47.5%)
CIE-LABlab(24.86, 34.02, -48.71)
CIE-LCHlch(24.86, 59.41, 304.93°)
OKLaboklab(36.68% 0.0408 -0.1399)
OKLCHoklch(36.68% 0.146 286.3)
XYZxyz(7.0542, 4.3689, 23.0212)
Luminance0.0437 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2A86 #73862A
analogous
#2A4586 #3D2A86 #6B2A86
triadic
#3D2A86 #863D2A #2A863D
tetradic
#3D2A86 #862A45 #73862A #2A866B
square
#3D2A86 #862A45 #73862A #2A866B
split-complementary
#3D2A86 #866B2A #45862A
monochromatic
#130D29 #281B57 #3D2A86 #5239B5 #755ECD

Accessibility & contrast

On white

11.21
#3D2A86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#3D2A86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2A86
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2A86#FFFFFF#000000##FFFFFF
##3D2A861.0011.211.8711.21
#FFFFFF11.211.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D89
Deuteranopia (green-blind)
#003884
Tritanopia (blue-blind)
#204154
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #3d2a86;
/* rgb */ color: rgb(61, 42, 134);
/* oklch */ color: oklch(36.7% 0.146 286.3);
Tailwind
colors: {
  custom: {
    50: '#7a65aa',
    500: '#3d2a86',
    950: '#000000',
  },
}
SCSS
$custom: #3d2a86;
$custom-light: #7a65aa;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2a86",
  "rgb": {
    "r": 61,
    "g": 42,
    "b": 134
  },
  "hsl": {
    "h": 252.391,
    "s": 52.273,
    "l": 34.51
  },
  "oklch": {
    "l": 0.36683,
    "c": 0.1457,
    "h": 286.3
  },
  "luminance": 0.04369
}

Semantic roles & 50–950 ramp

primary
#3D2A86
secondary
#A0B25A
accent
#DC4CBE
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #3D2A86

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

Preview Lab → · Contrast checker → · Palette generator →

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