#3D2B87#3D2B87

#3D2B87 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 36.9% C 0.146 H 285.8°. Best body text is #FFFFFF at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#3D2B87
RGBrgb(61, 43, 135)
HSLhsl(252, 52%, 35%)
HSVhsv(252, 68%, 53%)
CMYKcmyk(54.8%, 68.1%, 0%, 47.1%)
CIE-LABlab(25.16, 33.74, -48.83)
CIE-LCHlch(25.16, 59.35, 304.64°)
OKLaboklab(36.93% 0.0397 -0.1402)
OKLCHoklch(36.93% 0.146 285.8)
XYZxyz(7.1602, 4.4687, 23.4022)
Luminance0.0447 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2B87 #75872B
analogous
#2B4787 #3D2B87 #6B2B87
triadic
#3D2B87 #873D2B #2B873D
tetradic
#3D2B87 #872B47 #75872B #2B876B
square
#3D2B87 #872B47 #75872B #2B876B
split-complementary
#3D2B87 #876B2B #47872B
monochromatic
#130D2A #281C59 #3D2B87 #523AB5 #7560CC

Accessibility & contrast

On white

11.09
#3D2B87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#3D2B87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2B87
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2B87#FFFFFF#000000##FFFFFF
##3D2B871.0011.091.8911.09
#FFFFFF11.091.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8A
Deuteranopia (green-blind)
#003985
Tritanopia (blue-blind)
#1F4255
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #3d2b87;
/* rgb */ color: rgb(61, 43, 135);
/* oklch */ color: oklch(36.9% 0.146 285.8);
Tailwind
colors: {
  custom: {
    50: '#7a66ab',
    500: '#3d2b87',
    950: '#000000',
  },
}
SCSS
$custom: #3d2b87;
$custom-light: #7a66ab;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2b87",
  "rgb": {
    "r": 61,
    "g": 43,
    "b": 135
  },
  "hsl": {
    "h": 251.739,
    "s": 51.685,
    "l": 34.902
  },
  "oklch": {
    "l": 0.36933,
    "c": 0.14573,
    "h": 285.8
  },
  "luminance": 0.04469
}

Semantic roles & 50–950 ramp

primary
#3D2B87
secondary
#A1B25B
accent
#DB4DBF
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #3D2B87

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

Preview Lab → · Contrast checker → · Palette generator →

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