#3D2A95#3D2A95

#3D2A95 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.1% C 0.165 H 283.4°. Best body text is #FFFFFF at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#3D2A95
RGBrgb(61, 42, 149)
HSLhsl(251, 56%, 37%)
HSVhsv(251, 72%, 58%)
CMYKcmyk(59.1%, 71.8%, 0%, 41.6%)
CIE-LABlab(26.21, 38.78, -55.80)
CIE-LCHlch(26.21, 67.95, 304.80°)
OKLaboklab(38.07% 0.0382 -0.1607)
OKLCHoklch(38.07% 0.165 283.4)
XYZxyz(8.1756, 4.8174, 28.9270)
Luminance0.0482 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2A95 #82952A
analogous
#2A4D95 #3D2A95 #722A95
triadic
#3D2A95 #953D2A #2A953D
tetradic
#3D2A95 #952A4D #82952A #2A9572
square
#3D2A95 #952A4D #82952A #2A9572
split-complementary
#3D2A95 #95722A #4D952A
monochromatic
#160F36 #291D65 #3D2A95 #5137C5 #7966D4

Accessibility & contrast

On white

10.69
#3D2A95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#3D2A95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2A95
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2A95#FFFFFF#000000##FFFFFF
##3D2A951.0010.691.9610.69
#FFFFFF10.691.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004198
Deuteranopia (green-blind)
#003A93
Tritanopia (blue-blind)
#0A475C
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3d2a95;
/* rgb */ color: rgb(61, 42, 149);
/* oklch */ color: oklch(38.1% 0.165 283.4);
Tailwind
colors: {
  custom: {
    50: '#7d65b5',
    500: '#3d2a95',
    950: '#000000',
  },
}
SCSS
$custom: #3d2a95;
$custom-light: #7d65b5;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2a95",
  "rgb": {
    "r": 61,
    "g": 42,
    "b": 149
  },
  "hsl": {
    "h": 250.654,
    "s": 56.021,
    "l": 37.451
  },
  "oklch": {
    "l": 0.3807,
    "c": 0.16516,
    "h": 283.4
  },
  "luminance": 0.04818
}

Semantic roles & 50–950 ramp

primary
#3D2A95
secondary
#AABA61
accent
#DF48C5
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #3D2A95

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

Preview Lab → · Contrast checker → · Palette generator →

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