#3D2D72#3D2D72

#3D2D72 is a dark, moderate violet. Relative luminance 0.041; OKLCH L 35.5% C 0.114 H 290.0°. Best body text is #FFFFFF at 11.56:1 contrast (WCAG AA passes).

Color values

HEX#3D2D72
RGBrgb(61, 45, 114)
HSLhsl(254, 43%, 31%)
HSVhsv(254, 61%, 45%)
CMYKcmyk(46.5%, 60.5%, 0%, 55.3%)
CIE-LABlab(23.95, 25.79, -37.53)
CIE-LCHlch(23.95, 45.53, 304.49°)
OKLaboklab(35.51% 0.039 -0.107)
OKLCHoklch(35.51% 0.114 290)
XYZxyz(5.8993, 4.0836, 16.3937)
Luminance0.0408 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2D72 #62722D
analogous
#2D3F72 #3D2D72 #5F2D72
triadic
#3D2D72 #723D2D #2D723D
tetradic
#3D2D72 #722D3F #62722D #2D725F
square
#3D2D72 #722D3F #62722D #2D725F
split-complementary
#3D2D72 #725F2D #3F722D
monochromatic
#0E0A1A #261C46 #3D2D72 #543E9E #725BBE

Accessibility & contrast

On white

11.56
#3D2D72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#3D2D72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2D72
11.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2D72#FFFFFF#000000##FFFFFF
##3D2D721.0011.561.8211.56
#FFFFFF11.561.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#013A74
Deuteranopia (green-blind)
#043771
Tritanopia (blue-blind)
#2D3C4B
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #3d2d72;
/* rgb */ color: rgb(61, 45, 114);
/* oklch */ color: oklch(35.5% 0.114 290.0);
Tailwind
colors: {
  custom: {
    50: '#77669b',
    500: '#3d2d72',
    950: '#000000',
  },
}
SCSS
$custom: #3d2d72;
$custom-light: #77669b;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2d72",
  "rgb": {
    "r": 61,
    "g": 45,
    "b": 114
  },
  "hsl": {
    "h": 253.913,
    "s": 43.396,
    "l": 31.176
  },
  "oklch": {
    "l": 0.35513,
    "c": 0.11389,
    "h": 290
  },
  "luminance": 0.04084
}

Semantic roles & 50–950 ramp

primary
#3D2D72
secondary
#92A357
accent
#D355B6
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#09060E
muted
#7B7A7E

Preview Lab

Preview with #3D2D72

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

Preview Lab → · Contrast checker → · Palette generator →

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