#3D1561#3D1561

#3D1561 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.4% C 0.127 H 303.6°. Best body text is #FFFFFF at 14.21:1 contrast (WCAG AA passes).

Color values

HEX#3D1561
RGBrgb(61, 21, 97)
HSLhsl(272, 64%, 23%)
HSVhsv(272, 78%, 38%)
CMYKcmyk(37.1%, 78.4%, 0%, 62%)
CIE-LABlab(17.42, 34.79, -37.02)
CIE-LCHlch(17.42, 50.81, 313.22°)
OKLaboklab(30.37% 0.07 -0.1055)
OKLCHoklch(30.37% 0.127 303.6)
XYZxyz(4.3498, 2.3915, 11.5394)
Luminance0.0239 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1561 #396115
analogous
#171561 #3D1561 #61155F
triadic
#3D1561 #613D15 #15613D
tetradic
#3D1561 #611715 #396115 #155F61
square
#3D1561 #611715 #396115 #155F61
split-complementary
#3D1561 #5F6115 #156117
monochromatic
#100519 #1D0A2F #3D1561 #5D2093 #7C2BC6

Accessibility & contrast

On white

14.21
#3D1561 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#3D1561 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1561
14.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1561#FFFFFF#000000##FFFFFF
##3D15611.0014.211.4814.21
#FFFFFF14.211.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A63
Deuteranopia (green-blind)
#002B5F
Tritanopia (blue-blind)
#36283A
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #3d1561;
/* rgb */ color: rgb(61, 21, 97);
/* oklch */ color: oklch(30.4% 0.127 303.6);
Tailwind
colors: {
  custom: {
    50: '#77578f',
    500: '#3d1561',
    950: '#000000',
  },
}
SCSS
$custom: #3d1561;
$custom-light: #77578f;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1561",
  "rgb": {
    "r": 61,
    "g": 21,
    "b": 97
  },
  "hsl": {
    "h": 271.579,
    "s": 64.407,
    "l": 23.137
  },
  "oklch": {
    "l": 0.3037,
    "c": 0.12656,
    "h": 303.6
  },
  "luminance": 0.02391
}

Semantic roles & 50–950 ramp

primary
#3D1561
secondary
#66983A
accent
#E74090
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3D1561

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

Preview Lab → · Contrast checker → · Palette generator →

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