#3D2578#3D2578

#3D2578 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 34.6% C 0.134 H 291.1°. Best body text is #FFFFFF at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#3D2578
RGBrgb(61, 37, 120)
HSLhsl(257, 53%, 31%)
HSVhsv(257, 69%, 47%)
CMYKcmyk(49.2%, 69.2%, 0%, 52.9%)
CIE-LABlab(22.55, 32.64, -43.62)
CIE-LCHlch(22.55, 54.48, 306.80°)
OKLaboklab(34.65% 0.0481 -0.1249)
OKLCHoklch(34.65% 0.134 291.1)
XYZxyz(5.9752, 3.6711, 18.1594)
Luminance0.0367 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2578 #607825
analogous
#253778 #3D2578 #662578
triadic
#3D2578 #783D25 #25783D
tetradic
#3D2578 #782537 #607825 #257866
square
#3D2578 #782537 #607825 #257866
split-complementary
#3D2578 #786625 #377825
monochromatic
#0D081A #251749 #3D2578 #5533A7 #724FC9

Accessibility & contrast

On white

12.11
#3D2578 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#3D2578 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2578
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2578#FFFFFF#000000##FFFFFF
##3D25781.0012.111.7312.11
#FFFFFF12.111.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377B
Deuteranopia (green-blind)
#003476
Tritanopia (blue-blind)
#2A394B
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #3d2578;
/* rgb */ color: rgb(61, 37, 120);
/* oklch */ color: oklch(34.6% 0.134 291.1);
Tailwind
colors: {
  custom: {
    50: '#7861a0',
    500: '#3d2578',
    950: '#000000',
  },
}
SCSS
$custom: #3d2578;
$custom-light: #7861a0;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2578",
  "rgb": {
    "r": 61,
    "g": 37,
    "b": 120
  },
  "hsl": {
    "h": 257.349,
    "s": 52.866,
    "l": 30.784
  },
  "oklch": {
    "l": 0.3465,
    "c": 0.13385,
    "h": 291.1
  },
  "luminance": 0.03671
}

Semantic roles & 50–950 ramp

primary
#3D2578
secondary
#90AA4E
accent
#DC4CB2
background
#F7F5F9
surface
#EEEAF2
border
#C9C6CC
text
#09050F
muted
#7B797E

Preview Lab

Preview with #3D2578

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

Preview Lab → · Contrast checker → · Palette generator →

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