#3D2A89#3D2A89

#3D2A89 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.0% C 0.150 H 285.6°. Best body text is #FFFFFF at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#3D2A89
RGBrgb(61, 42, 137)
HSLhsl(252, 53%, 35%)
HSVhsv(252, 69%, 54%)
CMYKcmyk(55.5%, 69.3%, 0%, 46.3%)
CIE-LABlab(25.12, 34.98, -50.15)
CIE-LCHlch(25.12, 61.14, 304.89°)
OKLaboklab(36.95% 0.0403 -0.1441)
OKLCHoklch(36.95% 0.15 285.6)
XYZxyz(7.2664, 4.4538, 24.1388)
Luminance0.0445 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2A89 #76892A
analogous
#2A4689 #3D2A89 #6D2A89
triadic
#3D2A89 #893D2A #2A893D
tetradic
#3D2A89 #892A46 #76892A #2A896D
square
#3D2A89 #892A46 #76892A #2A896D
split-complementary
#3D2A89 #896D2A #46892A
monochromatic
#130D2B #281C5A #3D2A89 #5238B8 #755FCE

Accessibility & contrast

On white

11.11
#3D2A89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D2A89
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2A89#FFFFFF#000000##FFFFFF
##3D2A891.0011.111.8911.11
#FFFFFF11.111.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8C
Deuteranopia (green-blind)
#003987
Tritanopia (blue-blind)
#1D4256
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #3d2a89;
/* rgb */ color: rgb(61, 42, 137);
/* oklch */ color: oklch(37.0% 0.150 285.6);
Tailwind
colors: {
  custom: {
    50: '#7b65ac',
    500: '#3d2a89',
    950: '#000000',
  },
}
SCSS
$custom: #3d2a89;
$custom-light: #7b65ac;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2a89",
  "rgb": {
    "r": 61,
    "g": 42,
    "b": 137
  },
  "hsl": {
    "h": 252,
    "s": 53.073,
    "l": 35.098
  },
  "oklch": {
    "l": 0.36954,
    "c": 0.14965,
    "h": 285.6
  },
  "luminance": 0.04454
}

Semantic roles & 50–950 ramp

primary
#3D2A89
secondary
#A2B45B
accent
#DC4BBF
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #3D2A89

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

Preview Lab → · Contrast checker → · Palette generator →

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