#3D1560#3D1560

#3D1560 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.3% C 0.125 H 304.0°. Best body text is #FFFFFF at 14.24:1 contrast (WCAG AA passes).

Color values

HEX#3D1560
RGBrgb(61, 21, 96)
HSLhsl(272, 64%, 23%)
HSVhsv(272, 78%, 38%)
CMYKcmyk(36.5%, 78.1%, 0%, 62.4%)
CIE-LABlab(17.33, 34.53, -36.50)
CIE-LCHlch(17.33, 50.24, 313.41°)
OKLaboklab(30.28% 0.0702 -0.1039)
OKLCHoklch(30.28% 0.125 304)
XYZxyz(4.3035, 2.3730, 11.2954)
Luminance0.0237 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1560 #386015
analogous
#171560 #3D1560 #60155D
triadic
#3D1560 #603D15 #15603D
tetradic
#3D1560 #601715 #386015 #155D60
square
#3D1560 #601715 #386015 #155D60
split-complementary
#3D1560 #5D6015 #156017
monochromatic
#100519 #1D0A2E #3D1560 #5D2092 #7D2BC4

Accessibility & contrast

On white

14.24
#3D1560 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#3D1560 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1560
14.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1560#FFFFFF#000000##FFFFFF
##3D15601.0014.241.4714.24
#FFFFFF14.241.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A62
Deuteranopia (green-blind)
#002B5E
Tritanopia (blue-blind)
#362739
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #3d1560;
/* rgb */ color: rgb(61, 21, 96);
/* oklch */ color: oklch(30.3% 0.125 304.0);
Tailwind
colors: {
  custom: {
    50: '#76578e',
    500: '#3d1560',
    950: '#000000',
  },
}
SCSS
$custom: #3d1560;
$custom-light: #76578e;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1560",
  "rgb": {
    "r": 61,
    "g": 21,
    "b": 96
  },
  "hsl": {
    "h": 272,
    "s": 64.103,
    "l": 22.941
  },
  "oklch": {
    "l": 0.30282,
    "c": 0.1254,
    "h": 304
  },
  "luminance": 0.02373
}

Semantic roles & 50–950 ramp

primary
#3D1560
secondary
#65973A
accent
#E7418E
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3D1560

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

Preview Lab → · Contrast checker → · Palette generator →

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