#3D2687#3D2687

#3D2687 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.2% C 0.152 H 287.0°. Best body text is #FFFFFF at 11.50:1 contrast (WCAG AA passes).

Color values

HEX#3D2687
RGBrgb(61, 38, 135)
HSLhsl(254, 56%, 34%)
HSVhsv(254, 72%, 53%)
CMYKcmyk(54.8%, 71.9%, 0%, 47.1%)
CIE-LABlab(24.09, 36.69, -50.59)
CIE-LCHlch(24.09, 62.49, 305.95°)
OKLaboklab(36.16% 0.0445 -0.1454)
OKLCHoklch(36.16% 0.152 287)
XYZxyz(6.9895, 4.1272, 23.3453)
Luminance0.0413 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2687 #708726
analogous
#264087 #3D2687 #6E2687
triadic
#3D2687 #873D26 #26873D
tetradic
#3D2687 #872640 #708726 #26876E
square
#3D2687 #872640 #708726 #26876E
split-complementary
#3D2687 #876E26 #408726
monochromatic
#120B27 #271957 #3D2687 #5333B7 #7458D0

Accessibility & contrast

On white

11.50
#3D2687 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#3D2687 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2687
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2687#FFFFFF#000000##FFFFFF
##3D26871.0011.501.8311.50
#FFFFFF11.501.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8A
Deuteranopia (green-blind)
#003785
Tritanopia (blue-blind)
#1F3F53
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #3d2687;
/* rgb */ color: rgb(61, 38, 135);
/* oklch */ color: oklch(36.2% 0.152 287.0);
Tailwind
colors: {
  custom: {
    50: '#7b62ab',
    500: '#3d2687',
    950: '#000000',
  },
}
SCSS
$custom: #3d2687;
$custom-light: #7b62ab;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2687",
  "rgb": {
    "r": 61,
    "g": 38,
    "b": 135
  },
  "hsl": {
    "h": 254.227,
    "s": 56.069,
    "l": 33.922
  },
  "oklch": {
    "l": 0.3616,
    "c": 0.15204,
    "h": 287
  },
  "luminance": 0.04128
}

Semantic roles & 50–950 ramp

primary
#3D2687
secondary
#9EB554
accent
#DF48BC
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #3D2687

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

Preview Lab → · Contrast checker → · Palette generator →

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