#3D2C71#3D2C71

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

Color values

HEX#3D2C71
RGBrgb(61, 44, 113)
HSLhsl(255, 44%, 31%)
HSVhsv(255, 61%, 44%)
CMYKcmyk(46%, 61.1%, 0%, 55.7%)
CIE-LABlab(23.62, 26.11, -37.41)
CIE-LCHlch(23.62, 45.62, 304.92°)
OKLaboklab(35.25% 0.0403 -0.1066)
OKLCHoklch(35.25% 0.114 290.7)
XYZxyz(5.8050, 3.9855, 16.0830)
Luminance0.0399 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2C71 #60712C
analogous
#2C3D71 #3D2C71 #5F2C71
triadic
#3D2C71 #713D2C #2C713D
tetradic
#3D2C71 #712C3D #60712C #2C715F
square
#3D2C71 #712C3D #60712C #2C715F
split-complementary
#3D2C71 #715F2C #3D712C
monochromatic
#0D0A19 #251B45 #3D2C71 #553D9D #7259BE

Accessibility & contrast

On white

11.68
#3D2C71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D2C71
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2C71#FFFFFF#000000##FFFFFF
##3D2C711.0011.681.8011.68
#FFFFFF11.681.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003973
Deuteranopia (green-blind)
#043770
Tritanopia (blue-blind)
#2E3B4A
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #3d2c71;
/* rgb */ color: rgb(61, 44, 113);
/* oklch */ color: oklch(35.3% 0.114 290.7);
Tailwind
colors: {
  custom: {
    50: '#77669a',
    500: '#3d2c71',
    950: '#000000',
  },
}
SCSS
$custom: #3d2c71;
$custom-light: #77669a;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2c71",
  "rgb": {
    "r": 61,
    "g": 44,
    "b": 113
  },
  "hsl": {
    "h": 254.783,
    "s": 43.949,
    "l": 30.784
  },
  "oklch": {
    "l": 0.35252,
    "c": 0.11401,
    "h": 290.7
  },
  "luminance": 0.03986
}

Semantic roles & 50–950 ramp

primary
#3D2C71
secondary
#90A356
accent
#D454B4
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#09060E
muted
#7B7A7E

Preview Lab

Preview with #3D2C71

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

Preview Lab → · Contrast checker → · Palette generator →

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