#3D2A87#3D2A87

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

Color values

HEX#3D2A87
RGBrgb(61, 42, 135)
HSLhsl(252, 53%, 35%)
HSVhsv(252, 69%, 53%)
CMYKcmyk(54.8%, 68.9%, 0%, 47.1%)
CIE-LABlab(24.94, 34.34, -49.19)
CIE-LCHlch(24.94, 59.99, 304.92°)
OKLaboklab(36.77% 0.0407 -0.1413)
OKLCHoklch(36.77% 0.147 286.1)
XYZxyz(7.1243, 4.3969, 23.3903)
Luminance0.0440 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2A87 #74872A
analogous
#2A4687 #3D2A87 #6C2A87
triadic
#3D2A87 #873D2A #2A873D
tetradic
#3D2A87 #872A46 #74872A #2A876C
square
#3D2A87 #872A46 #74872A #2A876C
split-complementary
#3D2A87 #876C2A #46872A
monochromatic
#130D2A #281B58 #3D2A87 #5239B6 #755ECD

Accessibility & contrast

On white

11.17
#3D2A87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#3D2A87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2A87
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2A87#FFFFFF#000000##FFFFFF
##3D2A871.0011.171.8811.17
#FFFFFF11.171.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8A
Deuteranopia (green-blind)
#003885
Tritanopia (blue-blind)
#1F4155
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #3d2a87;
/* rgb */ color: rgb(61, 42, 135);
/* oklch */ color: oklch(36.8% 0.147 286.1);
Tailwind
colors: {
  custom: {
    50: '#7a65ab',
    500: '#3d2a87',
    950: '#000000',
  },
}
SCSS
$custom: #3d2a87;
$custom-light: #7a65ab;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2a87",
  "rgb": {
    "r": 61,
    "g": 42,
    "b": 135
  },
  "hsl": {
    "h": 252.258,
    "s": 52.542,
    "l": 34.706
  },
  "oklch": {
    "l": 0.36773,
    "c": 0.14702,
    "h": 286.1
  },
  "luminance": 0.04397
}

Semantic roles & 50–950 ramp

primary
#3D2A87
secondary
#A1B35A
accent
#DC4CBF
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #3D2A87

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

Preview Lab → · Contrast checker → · Palette generator →

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