#3D2D71#3D2D71

#3D2D71 is a dark, moderate violet. Relative luminance 0.041; OKLCH L 35.4% C 0.112 H 290.3°. Best body text is #FFFFFF at 11.59:1 contrast (WCAG AA passes).

Color values

HEX#3D2D71
RGBrgb(61, 45, 113)
HSLhsl(254, 43%, 31%)
HSVhsv(254, 60%, 44%)
CMYKcmyk(46%, 60.2%, 0%, 55.7%)
CIE-LABlab(23.87, 25.47, -37.01)
CIE-LCHlch(23.87, 44.92, 304.54°)
OKLaboklab(35.44% 0.039 -0.1055)
OKLCHoklch(35.44% 0.112 290.3)
XYZxyz(5.8427, 4.0609, 16.0956)
Luminance0.0406 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2D71 #61712D
analogous
#2D3F71 #3D2D71 #5F2D71
triadic
#3D2D71 #713D2D #2D713D
tetradic
#3D2D71 #712D3F #61712D #2D715F
square
#3D2D71 #712D3F #61712D #2D715F
split-complementary
#3D2D71 #715F2D #3F712D
monochromatic
#0E0A19 #251C45 #3D2D71 #553E9D #725BBE

Accessibility & contrast

On white

11.59
#3D2D71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#3D2D71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2D71
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2D71#FFFFFF#000000##FFFFFF
##3D2D711.0011.591.8111.59
#FFFFFF11.591.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#033A73
Deuteranopia (green-blind)
#073770
Tritanopia (blue-blind)
#2E3C4A
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #3d2d71;
/* rgb */ color: rgb(61, 45, 113);
/* oklch */ color: oklch(35.4% 0.112 290.3);
Tailwind
colors: {
  custom: {
    50: '#77669a',
    500: '#3d2d71',
    950: '#000000',
  },
}
SCSS
$custom: #3d2d71;
$custom-light: #77669a;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2d71",
  "rgb": {
    "r": 61,
    "g": 45,
    "b": 113
  },
  "hsl": {
    "h": 254.118,
    "s": 43.038,
    "l": 30.98
  },
  "oklch": {
    "l": 0.35435,
    "c": 0.11245,
    "h": 290.3
  },
  "luminance": 0.04061
}

Semantic roles & 50–950 ramp

primary
#3D2D71
secondary
#91A357
accent
#D355B5
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#09060E
muted
#7B7A7E

Preview Lab

Preview with #3D2D71

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

Preview Lab → · Contrast checker → · Palette generator →

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