#3D2D79#3D2D79

#3D2D79 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.1% C 0.124 H 288.3°. Best body text is #FFFFFF at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#3D2D79
RGBrgb(61, 45, 121)
HSLhsl(253, 46%, 33%)
HSVhsv(253, 63%, 47%)
CMYKcmyk(49.6%, 62.8%, 0%, 52.5%)
CIE-LABlab(24.48, 28.01, -41.13)
CIE-LCHlch(24.48, 49.76, 304.26°)
OKLaboklab(36.07% 0.0388 -0.1176)
OKLCHoklch(36.07% 0.124 288.3)
XYZxyz(6.3131, 4.2491, 18.5730)
Luminance0.0425 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2D79 #69792D
analogous
#2D4379 #3D2D79 #632D79
triadic
#3D2D79 #793D2D #2D793D
tetradic
#3D2D79 #792D43 #69792D #2D7963
square
#3D2D79 #792D43 #69792D #2D7963
split-complementary
#3D2D79 #79632D #43792D
monochromatic
#100C20 #271C4C #3D2D79 #533EA6 #735DC3

Accessibility & contrast

On white

11.35
#3D2D79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#3D2D79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2D79
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2D79#FFFFFF#000000##FFFFFF
##3D2D791.0011.351.8511.35
#FFFFFF11.351.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7B
Deuteranopia (green-blind)
#003877
Tritanopia (blue-blind)
#293F4E
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #3d2d79;
/* rgb */ color: rgb(61, 45, 121);
/* oklch */ color: oklch(36.1% 0.124 288.3);
Tailwind
colors: {
  custom: {
    50: '#7866a0',
    500: '#3d2d79',
    950: '#000000',
  },
}
SCSS
$custom: #3d2d79;
$custom-light: #7866a0;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2d79",
  "rgb": {
    "r": 61,
    "g": 45,
    "b": 121
  },
  "hsl": {
    "h": 252.632,
    "s": 45.783,
    "l": 32.549
  },
  "oklch": {
    "l": 0.36073,
    "c": 0.12383,
    "h": 288.3
  },
  "luminance": 0.04249
}

Semantic roles & 50–950 ramp

primary
#3D2D79
secondary
#98A958
accent
#D552BA
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#09060F
muted
#7B7A7E

Preview Lab

Preview with #3D2D79

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

Preview Lab → · Contrast checker → · Palette generator →

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