#3D2C87#3D2C87

#3D2C87 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.1% C 0.144 H 285.5°. Best body text is #FFFFFF at 11.00:1 contrast (WCAG AA passes).

Color values

HEX#3D2C87
RGBrgb(61, 44, 135)
HSLhsl(251, 51%, 35%)
HSVhsv(251, 67%, 53%)
CMYKcmyk(54.8%, 67.4%, 0%, 47.1%)
CIE-LABlab(25.39, 33.13, -48.46)
CIE-LCHlch(25.39, 58.70, 304.36°)
OKLaboklab(37.1% 0.0386 -0.1391)
OKLCHoklch(37.1% 0.144 285.5)
XYZxyz(7.1970, 4.5423, 23.4145)
Luminance0.0454 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2C87 #76872C
analogous
#2C4887 #3D2C87 #6B2C87
triadic
#3D2C87 #873D2C #2C873D
tetradic
#3D2C87 #872C48 #76872C #2C876B
square
#3D2C87 #872C48 #76872C #2C876B
split-complementary
#3D2C87 #876B2C #48872C
monochromatic
#130E2B #281D59 #3D2C87 #523BB5 #7562CC

Accessibility & contrast

On white

11.00
#3D2C87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#3D2C87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2C87
11.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2C87#FFFFFF#000000##FFFFFF
##3D2C871.0011.001.9111.00
#FFFFFF11.001.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3d2c87;
/* rgb */ color: rgb(61, 44, 135);
/* oklch */ color: oklch(37.1% 0.144 285.5);
Tailwind
colors: {
  custom: {
    50: '#7a66ab',
    500: '#3d2c87',
    950: '#000000',
  },
}
SCSS
$custom: #3d2c87;
$custom-light: #7a66ab;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2c87",
  "rgb": {
    "r": 61,
    "g": 44,
    "b": 135
  },
  "hsl": {
    "h": 251.209,
    "s": 50.838,
    "l": 35.098
  },
  "oklch": {
    "l": 0.37095,
    "c": 0.14442,
    "h": 285.5
  },
  "luminance": 0.04543
}

Semantic roles & 50–950 ramp

primary
#3D2C87
secondary
#A2B25D
accent
#DA4DC0
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #3D2C87

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

Preview Lab → · Contrast checker → · Palette generator →

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