#3D2973#3D2973

#3D2973 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 34.9% C 0.121 H 291.2°. Best body text is #FFFFFF at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#3D2973
RGBrgb(61, 41, 115)
HSLhsl(256, 47%, 31%)
HSVhsv(256, 64%, 45%)
CMYKcmyk(47%, 64.3%, 0%, 54.9%)
CIE-LABlab(23.05, 28.65, -39.61)
CIE-LCHlch(23.05, 48.88, 305.87°)
OKLaboklab(34.88% 0.044 -0.1131)
OKLCHoklch(34.88% 0.121 291.2)
XYZxyz(5.8111, 3.8156, 16.6466)
Luminance0.0382 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2973 #5F7329
analogous
#293A73 #3D2973 #622973
triadic
#3D2973 #733D29 #29733D
tetradic
#3D2973 #73293A #5F7329 #297362
square
#3D2973 #73293A #5F7329 #297362
split-complementary
#3D2973 #736229 #3A7329
monochromatic
#0D0919 #251946 #3D2973 #5539A0 #7254C2

Accessibility & contrast

On white

11.91
#3D2973 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#3D2973 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2973
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2973#FFFFFF#000000##FFFFFF
##3D29731.0011.911.7611.91
#FFFFFF11.911.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003875
Deuteranopia (green-blind)
#003571
Tritanopia (blue-blind)
#2D3A4A
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #3d2973;
/* rgb */ color: rgb(61, 41, 115);
/* oklch */ color: oklch(34.9% 0.121 291.2);
Tailwind
colors: {
  custom: {
    50: '#77649c',
    500: '#3d2973',
    950: '#000000',
  },
}
SCSS
$custom: #3d2973;
$custom-light: #77649c;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2973",
  "rgb": {
    "r": 61,
    "g": 41,
    "b": 115
  },
  "hsl": {
    "h": 256.216,
    "s": 47.436,
    "l": 30.588
  },
  "oklch": {
    "l": 0.34883,
    "c": 0.12138,
    "h": 291.2
  },
  "luminance": 0.03816
}

Semantic roles & 50–950 ramp

primary
#3D2973
secondary
#8FA553
accent
#D751B3
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#09050E
muted
#7B7A7E

Preview Lab

Preview with #3D2973

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

Preview Lab → · Contrast checker → · Palette generator →

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