#3D2D85#3D2D85

#3D2D85 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.1% C 0.140 H 285.6°. Best body text is #FFFFFF at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#3D2D85
RGBrgb(61, 45, 133)
HSLhsl(251, 49%, 35%)
HSVhsv(251, 66%, 52%)
CMYKcmyk(54.1%, 66.2%, 0%, 47.8%)
CIE-LABlab(25.45, 31.87, -47.11)
CIE-LCHlch(25.45, 56.88, 304.08°)
OKLaboklab(37.09% 0.0379 -0.1352)
OKLCHoklch(37.09% 0.14 285.6)
XYZxyz(7.0952, 4.5620, 22.6924)
Luminance0.0456 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2D85 #75852D
analogous
#2D4985 #3D2D85 #692D85
triadic
#3D2D85 #853D2D #2D853D
tetradic
#3D2D85 #852D49 #75852D #2D8569
square
#3D2D85 #852D49 #75852D #2D8569
split-complementary
#3D2D85 #85692D #49852D
monochromatic
#130E2A #281E57 #3D2D85 #523CB3 #7562CA

Accessibility & contrast

On white

10.98
#3D2D85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D2D85
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2D85#FFFFFF#000000##FFFFFF
##3D2D851.0010.981.9110.98
#FFFFFF10.981.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F88
Deuteranopia (green-blind)
#003A83
Tritanopia (blue-blind)
#204354
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #3d2d85;
/* rgb */ color: rgb(61, 45, 133);
/* oklch */ color: oklch(37.1% 0.140 285.6);
Tailwind
colors: {
  custom: {
    50: '#7a67a9',
    500: '#3d2d85',
    950: '#000000',
  },
}
SCSS
$custom: #3d2d85;
$custom-light: #7a67a9;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2d85",
  "rgb": {
    "r": 61,
    "g": 45,
    "b": 133
  },
  "hsl": {
    "h": 250.909,
    "s": 49.438,
    "l": 34.902
  },
  "oklch": {
    "l": 0.37085,
    "c": 0.14039,
    "h": 285.6
  },
  "luminance": 0.04562
}

Semantic roles & 50–950 ramp

primary
#3D2D85
secondary
#A1B05D
accent
#D94FC0
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #3D2D85

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

Preview Lab → · Contrast checker → · Palette generator →

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