#3E1660#3E1660

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

Color values

HEX#3E1660
RGBrgb(62, 22, 96)
HSLhsl(272, 63%, 23%)
HSVhsv(272, 77%, 38%)
CMYKcmyk(35.4%, 77.1%, 0%, 62.4%)
CIE-LABlab(17.66, 34.25, -35.97)
CIE-LCHlch(17.66, 49.67, 313.59°)
OKLaboklab(30.54% 0.0707 -0.1023)
OKLCHoklch(30.54% 0.124 304.6)
XYZxyz(4.3844, 2.4425, 11.3045)
Luminance0.0244 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1660 #386016
analogous
#191660 #3E1660 #60165D
triadic
#3E1660 #603E16 #16603E
tetradic
#3E1660 #601916 #386016 #165D60
square
#3E1660 #601916 #386016 #165D60
split-complementary
#3E1660 #5D6016 #166019
monochromatic
#100619 #1E0B2E #3E1660 #5E2192 #7E2DC4

Accessibility & contrast

On white

14.11
#3E1660 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E1660
14.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1660#FFFFFF#000000##FFFFFF
##3E16601.0014.111.4914.11
#FFFFFF14.111.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3e1660;
/* rgb */ color: rgb(62, 22, 96);
/* oklch */ color: oklch(30.5% 0.124 304.6);
Tailwind
colors: {
  custom: {
    50: '#77578e',
    500: '#3e1660',
    950: '#000000',
  },
}
SCSS
$custom: #3e1660;
$custom-light: #77578e;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1660",
  "rgb": {
    "r": 62,
    "g": 22,
    "b": 96
  },
  "hsl": {
    "h": 272.432,
    "s": 62.712,
    "l": 23.137
  },
  "oklch": {
    "l": 0.30542,
    "c": 0.12435,
    "h": 304.6
  },
  "luminance": 0.02442
}

Semantic roles & 50–950 ramp

primary
#3E1660
secondary
#65973B
accent
#E6428D
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3E1660

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

Preview Lab → · Contrast checker → · Palette generator →

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