#3D2C72#3D2C72

#3D2C72 is a dark, moderate violet. Relative luminance 0.040; OKLCH L 35.3% C 0.115 H 290.4°. Best body text is #FFFFFF at 11.66:1 contrast (WCAG AA passes).

Color values

HEX#3D2C72
RGBrgb(61, 44, 114)
HSLhsl(255, 44%, 31%)
HSVhsv(255, 61%, 45%)
CMYKcmyk(46.5%, 61.4%, 0%, 55.3%)
CIE-LABlab(23.70, 26.43, -37.93)
CIE-LCHlch(23.70, 46.23, 304.87°)
OKLaboklab(35.33% 0.0403 -0.1082)
OKLCHoklch(35.33% 0.115 290.4)
XYZxyz(5.8616, 4.0082, 16.3811)
Luminance0.0401 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2C72 #61722C
analogous
#2C3E72 #3D2C72 #602C72
triadic
#3D2C72 #723D2C #2C723D
tetradic
#3D2C72 #722C3E #61722C #2C7260
square
#3D2C72 #722C3E #61722C #2C7260
split-complementary
#3D2C72 #72602C #3E722C
monochromatic
#0E0A1A #251B46 #3D2C72 #553D9E #7259BF

Accessibility & contrast

On white

11.66
#3D2C72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#3D2C72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2C72
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2C72#FFFFFF#000000##FFFFFF
##3D2C721.0011.661.8011.66
#FFFFFF11.661.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A74
Deuteranopia (green-blind)
#023770
Tritanopia (blue-blind)
#2D3C4A
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #3d2c72;
/* rgb */ color: rgb(61, 44, 114);
/* oklch */ color: oklch(35.3% 0.115 290.4);
Tailwind
colors: {
  custom: {
    50: '#77669b',
    500: '#3d2c72',
    950: '#000000',
  },
}
SCSS
$custom: #3d2c72;
$custom-light: #77669b;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2c72",
  "rgb": {
    "r": 61,
    "g": 44,
    "b": 114
  },
  "hsl": {
    "h": 254.571,
    "s": 44.304,
    "l": 30.98
  },
  "oklch": {
    "l": 0.35331,
    "c": 0.11544,
    "h": 290.4
  },
  "luminance": 0.04008
}

Semantic roles & 50–950 ramp

primary
#3D2C72
secondary
#91A456
accent
#D454B5
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#09060E
muted
#7B7A7E

Preview Lab

Preview with #3D2C72

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

Preview Lab → · Contrast checker → · Palette generator →

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