#3D2E87#3D2E87

#3D2E87 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 37.4% C 0.142 H 285.0°. Best body text is #FFFFFF at 10.83:1 contrast (WCAG AA passes).

Color values

HEX#3D2E87
RGBrgb(61, 46, 135)
HSLhsl(250, 49%, 35%)
HSVhsv(250, 66%, 53%)
CMYKcmyk(54.8%, 65.9%, 0%, 47.1%)
CIE-LABlab(25.85, 31.90, -47.71)
CIE-LCHlch(25.85, 57.40, 303.76°)
OKLaboklab(37.43% 0.0366 -0.1369)
OKLCHoklch(37.43% 0.142 285)
XYZxyz(7.2733, 4.6950, 23.4399)
Luminance0.0469 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2E87 #78872E
analogous
#2E4C87 #3D2E87 #692E87
triadic
#3D2E87 #873D2E #2E873D
tetradic
#3D2E87 #872E4C #78872E #2E8769
square
#3D2E87 #872E4C #78872E #2E8769
split-complementary
#3D2E87 #87692E #4C872E
monochromatic
#140F2C #281E59 #3D2E87 #523EB5 #7665CA

Accessibility & contrast

On white

10.83
#3D2E87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#3D2E87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2E87
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2E87#FFFFFF#000000##FFFFFF
##3D2E871.0010.831.9410.83
#FFFFFF10.831.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408A
Deuteranopia (green-blind)
#003A85
Tritanopia (blue-blind)
#1E4456
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3d2e87;
/* rgb */ color: rgb(61, 46, 135);
/* oklch */ color: oklch(37.4% 0.142 285.0);
Tailwind
colors: {
  custom: {
    50: '#7a68ab',
    500: '#3d2e87',
    950: '#000000',
  },
}
SCSS
$custom: #3d2e87;
$custom-light: #7a68ab;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2e87",
  "rgb": {
    "r": 61,
    "g": 46,
    "b": 135
  },
  "hsl": {
    "h": 250.112,
    "s": 49.171,
    "l": 35.49
  },
  "oklch": {
    "l": 0.37427,
    "c": 0.14176,
    "h": 285
  },
  "luminance": 0.04695
}

Semantic roles & 50–950 ramp

primary
#3D2E87
secondary
#A3B160
accent
#D94FC2
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #3D2E87

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

Preview Lab → · Contrast checker → · Palette generator →

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