#3E1561#3E1561

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

Color values

HEX#3E1561
RGBrgb(62, 21, 97)
HSLhsl(272, 64%, 23%)
HSVhsv(272, 78%, 38%)
CMYKcmyk(36.1%, 78.4%, 0%, 62%)
CIE-LABlab(17.57, 35.00, -36.78)
CIE-LCHlch(17.57, 50.77, 313.58°)
OKLaboklab(30.51% 0.0715 -0.1047)
OKLCHoklch(30.51% 0.127 304.3)
XYZxyz(4.4119, 2.4235, 11.5423)
Luminance0.0242 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1561 #386115
analogous
#181561 #3E1561 #61155E
triadic
#3E1561 #613E15 #15613E
tetradic
#3E1561 #611815 #386115 #155E61
square
#3E1561 #611815 #386115 #155E61
split-complementary
#3E1561 #5E6115 #156118
monochromatic
#100519 #1E0A2F #3E1561 #5E2093 #7E2BC6

Accessibility & contrast

On white

14.14
#3E1561 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E1561
14.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1561#FFFFFF#000000##FFFFFF
##3E15611.0014.141.4814.14
#FFFFFF14.141.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3e1561;
/* rgb */ color: rgb(62, 21, 97);
/* oklch */ color: oklch(30.5% 0.127 304.3);
Tailwind
colors: {
  custom: {
    50: '#77578f',
    500: '#3e1561',
    950: '#000000',
  },
}
SCSS
$custom: #3e1561;
$custom-light: #77578f;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1561",
  "rgb": {
    "r": 62,
    "g": 21,
    "b": 97
  },
  "hsl": {
    "h": 272.368,
    "s": 64.407,
    "l": 23.137
  },
  "oklch": {
    "l": 0.30507,
    "c": 0.12679,
    "h": 304.3
  },
  "luminance": 0.02424
}

Semantic roles & 50–950 ramp

primary
#3E1561
secondary
#65983A
accent
#E7408D
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3E1561

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

Preview Lab → · Contrast checker → · Palette generator →

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