#3D2A71#3D2A71

#3D2A71 is a dark, moderate violet. Relative luminance 0.038; OKLCH L 34.9% C 0.117 H 291.5°. Best body text is #FFFFFF at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#3D2A71
RGBrgb(61, 42, 113)
HSLhsl(256, 46%, 30%)
HSVhsv(256, 63%, 44%)
CMYKcmyk(46%, 62.8%, 0%, 55.7%)
CIE-LABlab(23.14, 27.39, -38.19)
CIE-LCHlch(23.14, 47.00, 305.65°)
OKLaboklab(34.89% 0.0429 -0.109)
OKLCHoklch(34.89% 0.117 291.5)
XYZxyz(5.7322, 3.8401, 16.0588)
Luminance0.0384 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2A71 #5E712A
analogous
#2A3B71 #3D2A71 #602A71
triadic
#3D2A71 #713D2A #2A713D
tetradic
#3D2A71 #712A3B #5E712A #2A7160
square
#3D2A71 #712A3B #5E712A #2A7160
split-complementary
#3D2A71 #71602A #3B712A
monochromatic
#0D0918 #251944 #3D2A71 #553B9E #7255C0

Accessibility & contrast

On white

11.88
#3D2A71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#3D2A71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2A71
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2A71#FFFFFF#000000##FFFFFF
##3D2A711.0011.881.7711.88
#FFFFFF11.881.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003873
Deuteranopia (green-blind)
#00366F
Tritanopia (blue-blind)
#2E3A49
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #3d2a71;
/* rgb */ color: rgb(61, 42, 113);
/* oklch */ color: oklch(34.9% 0.117 291.5);
Tailwind
colors: {
  custom: {
    50: '#77649a',
    500: '#3d2a71',
    950: '#000000',
  },
}
SCSS
$custom: #3d2a71;
$custom-light: #77649a;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2a71",
  "rgb": {
    "r": 61,
    "g": 42,
    "b": 113
  },
  "hsl": {
    "h": 256.056,
    "s": 45.806,
    "l": 30.392
  },
  "oklch": {
    "l": 0.34895,
    "c": 0.11709,
    "h": 291.5
  },
  "luminance": 0.0384
}

Semantic roles & 50–950 ramp

primary
#3D2A71
secondary
#8EA354
accent
#D552B2
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#09050E
muted
#7B7A7E

Preview Lab

Preview with #3D2A71

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

Preview Lab → · Contrast checker → · Palette generator →

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