#3D2D86#3D2D86

#3D2D86 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.2% C 0.142 H 285.4°. Best body text is #FFFFFF at 10.95:1 contrast (WCAG AA passes).

Color values

HEX#3D2D86
RGBrgb(61, 45, 134)
HSLhsl(251, 50%, 35%)
HSVhsv(251, 66%, 53%)
CMYKcmyk(54.5%, 66.4%, 0%, 47.5%)
CIE-LABlab(25.53, 32.19, -47.60)
CIE-LCHlch(25.53, 57.47, 304.07°)
OKLaboklab(37.17% 0.0377 -0.1366)
OKLCHoklch(37.17% 0.142 285.4)
XYZxyz(7.1646, 4.5897, 23.0580)
Luminance0.0459 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2D86 #76862D
analogous
#2D4986 #3D2D86 #6A2D86
triadic
#3D2D86 #863D2D #2D863D
tetradic
#3D2D86 #862D49 #76862D #2D866A
square
#3D2D86 #862D49 #76862D #2D866A
split-complementary
#3D2D86 #866A2D #49862D
monochromatic
#130E2A #281E58 #3D2D86 #523CB4 #7563CB

Accessibility & contrast

On white

10.95
#3D2D86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#3D2D86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2D86
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2D86#FFFFFF#000000##FFFFFF
##3D2D861.0010.951.9210.95
#FFFFFF10.951.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F89
Deuteranopia (green-blind)
#003A84
Tritanopia (blue-blind)
#1F4355
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #3d2d86;
/* rgb */ color: rgb(61, 45, 134);
/* oklch */ color: oklch(37.2% 0.142 285.4);
Tailwind
colors: {
  custom: {
    50: '#7a67aa',
    500: '#3d2d86',
    950: '#000000',
  },
}
SCSS
$custom: #3d2d86;
$custom-light: #7a67aa;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2d86",
  "rgb": {
    "r": 61,
    "g": 45,
    "b": 134
  },
  "hsl": {
    "h": 250.787,
    "s": 49.721,
    "l": 35.098
  },
  "oklch": {
    "l": 0.37172,
    "c": 0.14175,
    "h": 285.4
  },
  "luminance": 0.0459
}

Semantic roles & 50–950 ramp

primary
#3D2D86
secondary
#A2B15E
accent
#D94FC0
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #3D2D86

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

Preview Lab → · Contrast checker → · Palette generator →

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