#3D2986#3D2986

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

Color values

HEX#3D2986
RGBrgb(61, 41, 134)
HSLhsl(253, 53%, 34%)
HSVhsv(253, 69%, 53%)
CMYKcmyk(54.5%, 69.4%, 0%, 47.5%)
CIE-LABlab(24.64, 34.62, -49.07)
CIE-LCHlch(24.64, 60.05, 305.21°)
OKLaboklab(36.53% 0.0418 -0.1409)
OKLCHoklch(36.53% 0.147 286.5)
XYZxyz(7.0192, 4.2988, 23.0095)
Luminance0.0430 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2986 #728629
analogous
#294486 #3D2986 #6C2986
triadic
#3D2986 #863D29 #29863D
tetradic
#3D2986 #862944 #728629 #29866C
square
#3D2986 #862944 #728629 #29866C
split-complementary
#3D2986 #866C29 #448629
monochromatic
#120C28 #281B57 #3D2986 #5237B5 #755CCD

Accessibility & contrast

On white

11.29
#3D2986 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#3D2986 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2986
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2986#FFFFFF#000000##FFFFFF
##3D29861.0011.291.8611.29
#FFFFFF11.291.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D89
Deuteranopia (green-blind)
#003884
Tritanopia (blue-blind)
#204154
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #3d2986;
/* rgb */ color: rgb(61, 41, 134);
/* oklch */ color: oklch(36.5% 0.147 286.5);
Tailwind
colors: {
  custom: {
    50: '#7a64aa',
    500: '#3d2986',
    950: '#000000',
  },
}
SCSS
$custom: #3d2986;
$custom-light: #7a64aa;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2986",
  "rgb": {
    "r": 61,
    "g": 41,
    "b": 134
  },
  "hsl": {
    "h": 252.903,
    "s": 53.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.36525,
    "c": 0.14699,
    "h": 286.5
  },
  "luminance": 0.04299
}

Semantic roles & 50–950 ramp

primary
#3D2986
secondary
#9FB358
accent
#DD4BBD
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0510
muted
#7C7A7F

Preview Lab

Preview with #3D2986

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

Preview Lab → · Contrast checker → · Palette generator →

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