#3D2E85#3D2E85

#3D2E85 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.3% C 0.139 H 285.3°. Best body text is #FFFFFF at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#3D2E85
RGBrgb(61, 46, 133)
HSLhsl(250, 49%, 35%)
HSVhsv(250, 65%, 52%)
CMYKcmyk(54.1%, 65.4%, 0%, 47.8%)
CIE-LABlab(25.68, 31.25, -46.74)
CIE-LCHlch(25.68, 56.22, 303.77°)
OKLaboklab(37.25% 0.0368 -0.1341)
OKLCHoklch(37.25% 0.139 285.3)
XYZxyz(7.1338, 4.6392, 22.7053)
Luminance0.0464 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2E85 #76852E
analogous
#2E4A85 #3D2E85 #692E85
triadic
#3D2E85 #853D2E #2E853D
tetradic
#3D2E85 #852E4A #76852E #2E8569
square
#3D2E85 #852E4A #76852E #2E8569
split-complementary
#3D2E85 #85692E #4A852E
monochromatic
#130F2A #281E58 #3D2E85 #523EB2 #7564C9

Accessibility & contrast

On white

10.89
#3D2E85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#3D2E85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2E85
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2E85#FFFFFF#000000##FFFFFF
##3D2E851.0010.891.9310.89
#FFFFFF10.891.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3d2e85;
/* rgb */ color: rgb(61, 46, 133);
/* oklch */ color: oklch(37.3% 0.139 285.3);
Tailwind
colors: {
  custom: {
    50: '#7a67a9',
    500: '#3d2e85',
    950: '#000000',
  },
}
SCSS
$custom: #3d2e85;
$custom-light: #7a67a9;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2e85",
  "rgb": {
    "r": 61,
    "g": 46,
    "b": 133
  },
  "hsl": {
    "h": 250.345,
    "s": 48.603,
    "l": 35.098
  },
  "oklch": {
    "l": 0.37254,
    "c": 0.13904,
    "h": 285.3
  },
  "luminance": 0.0464
}

Semantic roles & 50–950 ramp

primary
#3D2E85
secondary
#A2B05F
accent
#D850C1
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #3D2E85

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

Preview Lab → · Contrast checker → · Palette generator →

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