#3D2D87#3D2D87

#3D2D87 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.3% C 0.143 H 285.2°. Best body text is #FFFFFF at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#3D2D87
RGBrgb(61, 45, 135)
HSLhsl(251, 50%, 35%)
HSVhsv(251, 67%, 53%)
CMYKcmyk(54.8%, 66.7%, 0%, 47.1%)
CIE-LABlab(25.62, 32.52, -48.09)
CIE-LCHlch(25.62, 58.05, 304.06°)
OKLaboklab(37.26% 0.0376 -0.1381)
OKLCHoklch(37.26% 0.143 285.2)
XYZxyz(7.2347, 4.6178, 23.4271)
Luminance0.0462 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2D87 #77872D
analogous
#2D4A87 #3D2D87 #6A2D87
triadic
#3D2D87 #873D2D #2D873D
tetradic
#3D2D87 #872D4A #77872D #2D876A
square
#3D2D87 #872D4A #77872D #2D876A
split-complementary
#3D2D87 #876A2D #4A872D
monochromatic
#140E2B #281E59 #3D2D87 #523CB5 #7663CB

Accessibility & contrast

On white

10.92
#3D2D87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D2D87
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2D87#FFFFFF#000000##FFFFFF
##3D2D871.0010.921.9210.92
#FFFFFF10.921.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8A
Deuteranopia (green-blind)
#003A85
Tritanopia (blue-blind)
#1E4356
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3d2d87;
/* rgb */ color: rgb(61, 45, 135);
/* oklch */ color: oklch(37.3% 0.143 285.2);
Tailwind
colors: {
  custom: {
    50: '#7a67ab',
    500: '#3d2d87',
    950: '#000000',
  },
}
SCSS
$custom: #3d2d87;
$custom-light: #7a67ab;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2d87",
  "rgb": {
    "r": 61,
    "g": 45,
    "b": 135
  },
  "hsl": {
    "h": 250.667,
    "s": 50,
    "l": 35.294
  },
  "oklch": {
    "l": 0.3726,
    "c": 0.1431,
    "h": 285.2
  },
  "luminance": 0.04618
}

Semantic roles & 50–950 ramp

primary
#3D2D87
secondary
#A3B25E
accent
#DA4EC1
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #3D2D87

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

Preview Lab → · Contrast checker → · Palette generator →

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