#3E1565#3E1565

#3E1565 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.9% C 0.131 H 302.5°. Best body text is #FFFFFF at 14.00:1 contrast (WCAG AA passes).

Color values

HEX#3E1565
RGBrgb(62, 21, 101)
HSLhsl(271, 66%, 24%)
HSVhsv(271, 79%, 40%)
CMYKcmyk(38.6%, 79.2%, 0%, 60.4%)
CIE-LABlab(17.92, 36.05, -38.85)
CIE-LCHlch(17.92, 53.00, 312.86°)
OKLaboklab(30.86% 0.0706 -0.1108)
OKLCHoklch(30.86% 0.131 302.5)
XYZxyz(4.6032, 2.5000, 12.5494)
Luminance0.0250 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1565 #3C6515
analogous
#161565 #3E1565 #651564
triadic
#3E1565 #653E15 #15653E
tetradic
#3E1565 #651615 #3C6515 #156465
square
#3E1565 #651615 #3C6515 #156465
split-complementary
#3E1565 #646515 #156516
monochromatic
#100519 #1F0A32 #3E1565 #5D2098 #7C2ACA

Accessibility & contrast

On white

14.00
#3E1565 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E1565
14.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1565#FFFFFF#000000##FFFFFF
##3E15651.0014.001.5014.00
#FFFFFF14.001.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B67
Deuteranopia (green-blind)
#002C63
Tritanopia (blue-blind)
#36293C
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #3e1565;
/* rgb */ color: rgb(62, 21, 101);
/* oklch */ color: oklch(30.9% 0.131 302.5);
Tailwind
colors: {
  custom: {
    50: '#785792',
    500: '#3e1565',
    950: '#000000',
  },
}
SCSS
$custom: #3e1565;
$custom-light: #785792;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1565",
  "rgb": {
    "r": 62,
    "g": 21,
    "b": 101
  },
  "hsl": {
    "h": 270.75,
    "s": 65.574,
    "l": 23.922
  },
  "oklch": {
    "l": 0.30862,
    "c": 0.13136,
    "h": 302.5
  },
  "luminance": 0.025
}

Semantic roles & 50–950 ramp

primary
#3E1565
secondary
#6A9C3A
accent
#E93F92
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #3E1565

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

Preview Lab → · Contrast checker → · Palette generator →

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