#3D2576#3D2576

#3D2576 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.5% C 0.131 H 291.6°. Best body text is #FFFFFF at 12.18:1 contrast (WCAG AA passes).

Color values

HEX#3D2576
RGBrgb(61, 37, 118)
HSLhsl(258, 52%, 30%)
HSVhsv(258, 69%, 46%)
CMYKcmyk(48.3%, 68.6%, 0%, 53.7%)
CIE-LABlab(22.38, 32.02, -42.62)
CIE-LCHlch(22.38, 53.31, 306.92°)
OKLaboklab(34.48% 0.0484 -0.122)
OKLCHoklch(34.48% 0.131 291.6)
XYZxyz(5.8551, 3.6230, 17.5268)
Luminance0.0362 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2576 #5E7625
analogous
#253576 #3D2576 #652576
triadic
#3D2576 #763D25 #25763D
tetradic
#3D2576 #762535 #5E7625 #257665
square
#3D2576 #762535 #5E7625 #257665
split-complementary
#3D2576 #766525 #357625
monochromatic
#0D0819 #251647 #3D2576 #5534A5 #724EC7

Accessibility & contrast

On white

12.18
#3D2576 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#3D2576 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2576
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2576#FFFFFF#000000##FFFFFF
##3D25761.0012.181.7212.18
#FFFFFF12.181.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003779
Deuteranopia (green-blind)
#003474
Tritanopia (blue-blind)
#2C394A
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #3d2576;
/* rgb */ color: rgb(61, 37, 118);
/* oklch */ color: oklch(34.5% 0.131 291.6);
Tailwind
colors: {
  custom: {
    50: '#78619e',
    500: '#3d2576',
    950: '#000000',
  },
}
SCSS
$custom: #3d2576;
$custom-light: #78619e;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2576",
  "rgb": {
    "r": 61,
    "g": 37,
    "b": 118
  },
  "hsl": {
    "h": 257.778,
    "s": 52.258,
    "l": 30.392
  },
  "oklch": {
    "l": 0.34475,
    "c": 0.13121,
    "h": 291.6
  },
  "luminance": 0.03623
}

Semantic roles & 50–950 ramp

primary
#3D2576
secondary
#8EA94E
accent
#DC4CB1
background
#F7F5F9
surface
#EEEAF2
border
#C9C6CC
text
#09050E
muted
#7B797E

Preview Lab

Preview with #3D2576

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

Preview Lab → · Contrast checker → · Palette generator →

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