#3E1563#3E1563

#3E1563 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.7% C 0.129 H 303.4°. Best body text is #FFFFFF at 14.07:1 contrast (WCAG AA passes).

Color values

HEX#3E1563
RGBrgb(62, 21, 99)
HSLhsl(272, 65%, 24%)
HSVhsv(272, 79%, 39%)
CMYKcmyk(37.4%, 78.8%, 0%, 61.2%)
CIE-LABlab(17.74, 35.52, -37.82)
CIE-LCHlch(17.74, 51.89, 313.21°)
OKLaboklab(30.68% 0.0711 -0.1077)
OKLCHoklch(30.68% 0.129 303.4)
XYZxyz(4.5064, 2.4613, 12.0396)
Luminance0.0246 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1563 #3A6315
analogous
#171563 #3E1563 #631561
triadic
#3E1563 #633E15 #15633E
tetradic
#3E1563 #631715 #3A6315 #156163
square
#3E1563 #631715 #3A6315 #156163
split-complementary
#3E1563 #616315 #156317
monochromatic
#100519 #1E0A31 #3E1563 #5E2095 #7D2AC8

Accessibility & contrast

On white

14.07
#3E1563 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#3E1563 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1563
14.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1563#FFFFFF#000000##FFFFFF
##3E15631.0014.071.4914.07
#FFFFFF14.071.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B65
Deuteranopia (green-blind)
#002B61
Tritanopia (blue-blind)
#37283B
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #3e1563;
/* rgb */ color: rgb(62, 21, 99);
/* oklch */ color: oklch(30.7% 0.129 303.4);
Tailwind
colors: {
  custom: {
    50: '#775790',
    500: '#3e1563',
    950: '#000000',
  },
}
SCSS
$custom: #3e1563;
$custom-light: #775790;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1563",
  "rgb": {
    "r": 62,
    "g": 21,
    "b": 99
  },
  "hsl": {
    "h": 271.538,
    "s": 65,
    "l": 23.529
  },
  "oklch": {
    "l": 0.30684,
    "c": 0.12908,
    "h": 303.4
  },
  "luminance": 0.02461
}

Semantic roles & 50–950 ramp

primary
#3E1563
secondary
#679A3A
accent
#E84090
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3E1563

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

Preview Lab → · Contrast checker → · Palette generator →

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