#3D2C84#3D2C84

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

Color values

HEX#3D2C84
RGBrgb(61, 44, 132)
HSLhsl(252, 50%, 35%)
HSVhsv(252, 67%, 52%)
CMYKcmyk(53.8%, 66.7%, 0%, 48.2%)
CIE-LABlab(25.13, 32.17, -47.00)
CIE-LCHlch(25.13, 56.95, 304.39°)
OKLaboklab(36.83% 0.039 -0.1348)
OKLCHoklch(36.83% 0.14 286.1)
XYZxyz(6.9888, 4.4591, 22.3178)
Luminance0.0446 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2C84 #73842C
analogous
#2C4784 #3D2C84 #692C84
triadic
#3D2C84 #843D2C #2C843D
tetradic
#3D2C84 #842C47 #73842C #2C8469
square
#3D2C84 #842C47 #73842C #2C8469
split-complementary
#3D2C84 #84692C #47842C
monochromatic
#130D28 #281D56 #3D2C84 #523BB2 #7560CA

Accessibility & contrast

On white

11.10
#3D2C84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D2C84
11.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2C84#FFFFFF#000000##FFFFFF
##3D2C841.0011.101.8911.10
#FFFFFF11.101.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E87
Deuteranopia (green-blind)
#003982
Tritanopia (blue-blind)
#214254
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #3d2c84;
/* rgb */ color: rgb(61, 44, 132);
/* oklch */ color: oklch(36.8% 0.140 286.1);
Tailwind
colors: {
  custom: {
    50: '#7a66a9',
    500: '#3d2c84',
    950: '#000000',
  },
}
SCSS
$custom: #3d2c84;
$custom-light: #7a66a9;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2c84",
  "rgb": {
    "r": 61,
    "g": 44,
    "b": 132
  },
  "hsl": {
    "h": 251.591,
    "s": 50,
    "l": 34.51
  },
  "oklch": {
    "l": 0.36831,
    "c": 0.14038,
    "h": 286.1
  },
  "luminance": 0.04459
}

Semantic roles & 50–950 ramp

primary
#3D2C84
secondary
#A0B05C
accent
#DA4EBF
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #3D2C84

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

Preview Lab → · Contrast checker → · Palette generator →

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