#3D2C73#3D2C73

#3D2C73 is a dark, moderate violet. Relative luminance 0.040; OKLCH L 35.4% C 0.117 H 290.2°. Best body text is #FFFFFF at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#3D2C73
RGBrgb(61, 44, 115)
HSLhsl(254, 45%, 31%)
HSVhsv(254, 62%, 45%)
CMYKcmyk(47%, 61.7%, 0%, 54.9%)
CIE-LABlab(23.77, 26.74, -38.44)
CIE-LCHlch(23.77, 46.83, 304.83°)
OKLaboklab(35.41% 0.0403 -0.1097)
OKLCHoklch(35.41% 0.117 290.2)
XYZxyz(5.9188, 4.0311, 16.6825)
Luminance0.0403 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2C73 #62732C
analogous
#2C3E73 #3D2C73 #602C73
triadic
#3D2C73 #733D2C #2C733D
tetradic
#3D2C73 #732C3E #62732C #2C7360
square
#3D2C73 #732C3E #62732C #2C7360
split-complementary
#3D2C73 #73602C #3E732C
monochromatic
#0E0A1A #261B47 #3D2C73 #543D9F #725AC0

Accessibility & contrast

On white

11.63
#3D2C73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D2C73
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2C73#FFFFFF#000000##FFFFFF
##3D2C731.0011.631.8111.63
#FFFFFF11.631.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A75
Deuteranopia (green-blind)
#003771
Tritanopia (blue-blind)
#2D3C4B
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #3d2c73;
/* rgb */ color: rgb(61, 44, 115);
/* oklch */ color: oklch(35.4% 0.117 290.2);
Tailwind
colors: {
  custom: {
    50: '#77669c',
    500: '#3d2c73',
    950: '#000000',
  },
}
SCSS
$custom: #3d2c73;
$custom-light: #77669c;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2c73",
  "rgb": {
    "r": 61,
    "g": 44,
    "b": 115
  },
  "hsl": {
    "h": 254.366,
    "s": 44.654,
    "l": 31.176
  },
  "oklch": {
    "l": 0.35411,
    "c": 0.11686,
    "h": 290.2
  },
  "luminance": 0.04031
}

Semantic roles & 50–950 ramp

primary
#3D2C73
secondary
#92A556
accent
#D453B5
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#09060E
muted
#7B7A7E

Preview Lab

Preview with #3D2C73

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

Preview Lab → · Contrast checker → · Palette generator →

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