#3D2A85#3D2A85

#3D2A85 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.6% C 0.144 H 286.5°. Best body text is #FFFFFF at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#3D2A85
RGBrgb(61, 42, 133)
HSLhsl(253, 52%, 34%)
HSVhsv(253, 68%, 52%)
CMYKcmyk(54.1%, 68.4%, 0%, 47.8%)
CIE-LABlab(24.77, 33.71, -48.22)
CIE-LCHlch(24.77, 58.83, 304.95°)
OKLaboklab(36.59% 0.041 -0.1384)
OKLCHoklch(36.59% 0.144 286.5)
XYZxyz(6.9848, 4.3411, 22.6556)
Luminance0.0434 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2A85 #72852A
analogous
#2A4585 #3D2A85 #6B2A85
triadic
#3D2A85 #853D2A #2A853D
tetradic
#3D2A85 #852A45 #72852A #2A856B
square
#3D2A85 #852A45 #72852A #2A856B
split-complementary
#3D2A85 #856B2A #45852A
monochromatic
#120D28 #281B56 #3D2A85 #5239B4 #755DCC

Accessibility & contrast

On white

11.24
#3D2A85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#3D2A85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2A85
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2A85#FFFFFF#000000##FFFFFF
##3D2A851.0011.241.8711.24
#FFFFFF11.241.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D88
Deuteranopia (green-blind)
#003883
Tritanopia (blue-blind)
#214153
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #3d2a85;
/* rgb */ color: rgb(61, 42, 133);
/* oklch */ color: oklch(36.6% 0.144 286.5);
Tailwind
colors: {
  custom: {
    50: '#7a65a9',
    500: '#3d2a85',
    950: '#000000',
  },
}
SCSS
$custom: #3d2a85;
$custom-light: #7a65a9;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2a85",
  "rgb": {
    "r": 61,
    "g": 42,
    "b": 133
  },
  "hsl": {
    "h": 252.527,
    "s": 52,
    "l": 34.314
  },
  "oklch": {
    "l": 0.36593,
    "c": 0.14438,
    "h": 286.5
  },
  "luminance": 0.04341
}

Semantic roles & 50–950 ramp

primary
#3D2A85
secondary
#9FB259
accent
#DB4CBE
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0510
muted
#7C7A7F

Preview Lab

Preview with #3D2A85

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

Preview Lab → · Contrast checker → · Palette generator →

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