#3D2A76#3D2A76

#3D2A76 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 35.3% C 0.124 H 290.1°. Best body text is #FFFFFF at 11.72:1 contrast (WCAG AA passes).

Color values

HEX#3D2A76
RGBrgb(61, 42, 118)
HSLhsl(255, 48%, 31%)
HSVhsv(255, 64%, 46%)
CMYKcmyk(48.3%, 64.4%, 0%, 53.7%)
CIE-LABlab(23.52, 28.96, -40.76)
CIE-LCHlch(23.52, 50.00, 305.39°)
OKLaboklab(35.3% 0.0426 -0.1165)
OKLCHoklch(35.3% 0.124 290.1)
XYZxyz(6.0215, 3.9558, 17.5823)
Luminance0.0396 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2A76 #63762A
analogous
#2A3D76 #3D2A76 #632A76
triadic
#3D2A76 #763D2A #2A763D
tetradic
#3D2A76 #762A3D #63762A #2A7663
square
#3D2A76 #762A3D #63762A #2A7663
split-complementary
#3D2A76 #76632A #3D762A
monochromatic
#0E0A1C #261A49 #3D2A76 #543AA3 #7257C3

Accessibility & contrast

On white

11.72
#3D2A76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#3D2A76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2A76
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2A76#FFFFFF#000000##FFFFFF
##3D2A761.0011.721.7911.72
#FFFFFF11.721.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003978
Deuteranopia (green-blind)
#003674
Tritanopia (blue-blind)
#2B3C4B
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #3d2a76;
/* rgb */ color: rgb(61, 42, 118);
/* oklch */ color: oklch(35.3% 0.124 290.1);
Tailwind
colors: {
  custom: {
    50: '#78649e',
    500: '#3d2a76',
    950: '#000000',
  },
}
SCSS
$custom: #3d2a76;
$custom-light: #78649e;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2a76",
  "rgb": {
    "r": 61,
    "g": 42,
    "b": 118
  },
  "hsl": {
    "h": 255,
    "s": 47.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.35302,
    "c": 0.12406,
    "h": 290.1
  },
  "luminance": 0.03956
}

Semantic roles & 50–950 ramp

primary
#3D2A76
secondary
#93A854
accent
#D751B6
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#09050E
muted
#7B7A7E

Preview Lab

Preview with #3D2A76

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

Preview Lab → · Contrast checker → · Palette generator →

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