#3D2B86#3D2B86

#3D2B86 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 36.8% C 0.144 H 286.0°. Best body text is #FFFFFF at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#3D2B86
RGBrgb(61, 43, 134)
HSLhsl(252, 51%, 35%)
HSVhsv(252, 68%, 53%)
CMYKcmyk(54.5%, 67.9%, 0%, 47.5%)
CIE-LABlab(25.08, 33.42, -48.34)
CIE-LCHlch(25.08, 58.77, 304.65°)
OKLaboklab(36.84% 0.0398 -0.1388)
OKLCHoklch(36.84% 0.144 286)
XYZxyz(7.0901, 4.4407, 23.0332)
Luminance0.0444 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2B86 #74862B
analogous
#2B4786 #3D2B86 #6B2B86
triadic
#3D2B86 #863D2B #2B863D
tetradic
#3D2B86 #862B47 #74862B #2B866B
square
#3D2B86 #862B47 #74862B #2B866B
split-complementary
#3D2B86 #866B2B #47862B
monochromatic
#130D29 #281C58 #3D2B86 #523AB4 #7560CC

Accessibility & contrast

On white

11.12
#3D2B86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#3D2B86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2B86
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2B86#FFFFFF#000000##FFFFFF
##3D2B861.0011.121.8911.12
#FFFFFF11.121.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E89
Deuteranopia (green-blind)
#003984
Tritanopia (blue-blind)
#204254
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #3d2b86;
/* rgb */ color: rgb(61, 43, 134);
/* oklch */ color: oklch(36.8% 0.144 286.0);
Tailwind
colors: {
  custom: {
    50: '#7a65aa',
    500: '#3d2b86',
    950: '#000000',
  },
}
SCSS
$custom: #3d2b86;
$custom-light: #7a65aa;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2b86",
  "rgb": {
    "r": 61,
    "g": 43,
    "b": 134
  },
  "hsl": {
    "h": 251.868,
    "s": 51.412,
    "l": 34.706
  },
  "oklch": {
    "l": 0.36844,
    "c": 0.14439,
    "h": 286
  },
  "luminance": 0.04441
}

Semantic roles & 50–950 ramp

primary
#3D2B86
secondary
#A1B25B
accent
#DB4DBF
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #3D2B86

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

Preview Lab → · Contrast checker → · Palette generator →

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