#3E1560#3E1560

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

Color values

HEX#3E1560
RGBrgb(62, 21, 96)
HSLhsl(273, 64%, 23%)
HSVhsv(273, 78%, 38%)
CMYKcmyk(35.4%, 78.1%, 0%, 62.4%)
CIE-LABlab(17.48, 34.74, -36.25)
CIE-LCHlch(17.48, 50.21, 313.78°)
OKLaboklab(30.42% 0.0717 -0.1031)
OKLCHoklch(30.42% 0.126 304.8)
XYZxyz(4.3656, 2.4050, 11.2983)
Luminance0.0240 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1560 #376015
analogous
#181560 #3E1560 #60155C
triadic
#3E1560 #603E15 #15603E
tetradic
#3E1560 #601815 #376015 #155C60
square
#3E1560 #601815 #376015 #155C60
split-complementary
#3E1560 #5C6015 #156018
monochromatic
#100519 #1E0A2E #3E1560 #5E2092 #7F2BC4

Accessibility & contrast

On white

14.18
#3E1560 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E1560
14.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1560#FFFFFF#000000##FFFFFF
##3E15601.0014.181.4814.18
#FFFFFF14.181.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3e1560;
/* rgb */ color: rgb(62, 21, 96);
/* oklch */ color: oklch(30.4% 0.126 304.8);
Tailwind
colors: {
  custom: {
    50: '#77578e',
    500: '#3e1560',
    950: '#000000',
  },
}
SCSS
$custom: #3e1560;
$custom-light: #77578e;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1560",
  "rgb": {
    "r": 62,
    "g": 21,
    "b": 96
  },
  "hsl": {
    "h": 272.8,
    "s": 64.103,
    "l": 22.941
  },
  "oklch": {
    "l": 0.30419,
    "c": 0.12564,
    "h": 304.8
  },
  "luminance": 0.02405
}

Semantic roles & 50–950 ramp

primary
#3E1560
secondary
#64973A
accent
#E7418C
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3E1560

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

Preview Lab → · Contrast checker → · Palette generator →

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