#3E1564#3E1564

#3E1564 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.8% C 0.130 H 303.0°. Best body text is #FFFFFF at 14.04:1 contrast (WCAG AA passes).

Color values

HEX#3E1564
RGBrgb(62, 21, 100)
HSLhsl(271, 65%, 24%)
HSVhsv(271, 79%, 39%)
CMYKcmyk(38%, 79%, 0%, 60.8%)
CIE-LABlab(17.83, 35.79, -38.33)
CIE-LCHlch(17.83, 52.44, 313.03°)
OKLaboklab(30.77% 0.0708 -0.1093)
OKLCHoklch(30.77% 0.13 303)
XYZxyz(4.5545, 2.4806, 12.2930)
Luminance0.0248 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1564 #3B6415
analogous
#161564 #3E1564 #641562
triadic
#3E1564 #643E15 #15643E
tetradic
#3E1564 #641615 #3B6415 #156264
square
#3E1564 #641615 #3B6415 #156264
split-complementary
#3E1564 #626415 #156416
monochromatic
#100519 #1F0A31 #3E1564 #5D2097 #7D2AC9

Accessibility & contrast

On white

14.04
#3E1564 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#3E1564 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1564
14.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1564#FFFFFF#000000##FFFFFF
##3E15641.0014.041.5014.04
#FFFFFF14.041.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B66
Deuteranopia (green-blind)
#002B62
Tritanopia (blue-blind)
#36293B
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #3e1564;
/* rgb */ color: rgb(62, 21, 100);
/* oklch */ color: oklch(30.8% 0.130 303.0);
Tailwind
colors: {
  custom: {
    50: '#785791',
    500: '#3e1564',
    950: '#000000',
  },
}
SCSS
$custom: #3e1564;
$custom-light: #785791;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1564",
  "rgb": {
    "r": 62,
    "g": 21,
    "b": 100
  },
  "hsl": {
    "h": 271.139,
    "s": 65.289,
    "l": 23.725
  },
  "oklch": {
    "l": 0.30773,
    "c": 0.13022,
    "h": 303
  },
  "luminance": 0.02481
}

Semantic roles & 50–950 ramp

primary
#3E1564
secondary
#699B3A
accent
#E84091
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #3E1564

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

Preview Lab → · Contrast checker → · Palette generator →

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