#3E1664#3E1664

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

Color values

HEX#3E1664
RGBrgb(62, 22, 100)
HSLhsl(271, 64%, 24%)
HSVhsv(271, 78%, 39%)
CMYKcmyk(38%, 78%, 0%, 60.8%)
CIE-LABlab(18.00, 35.31, -38.06)
CIE-LCHlch(18.00, 51.91, 312.85°)
OKLaboklab(30.89% 0.0698 -0.1085)
OKLCHoklch(30.89% 0.129 302.8)
XYZxyz(4.5732, 2.5180, 12.2992)
Luminance0.0252 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1664 #3C6416
analogous
#171664 #3E1664 #641663
triadic
#3E1664 #643E16 #16643E
tetradic
#3E1664 #641716 #3C6416 #166364
square
#3E1664 #641716 #3C6416 #166364
split-complementary
#3E1664 #636416 #166417
monochromatic
#100619 #1F0B32 #3E1664 #5D2196 #7C2CC8

Accessibility & contrast

On white

13.97
#3E1664 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E1664
13.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1664#FFFFFF#000000##FFFFFF
##3E16641.0013.971.5013.97
#FFFFFF13.971.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.971.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3e1664;
/* rgb */ color: rgb(62, 22, 100);
/* oklch */ color: oklch(30.9% 0.129 302.8);
Tailwind
colors: {
  custom: {
    50: '#775891',
    500: '#3e1664',
    950: '#000000',
  },
}
SCSS
$custom: #3e1664;
$custom-light: #775891;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1664",
  "rgb": {
    "r": 62,
    "g": 22,
    "b": 100
  },
  "hsl": {
    "h": 270.769,
    "s": 63.934,
    "l": 23.922
  },
  "oklch": {
    "l": 0.30892,
    "c": 0.12898,
    "h": 302.8
  },
  "luminance": 0.02518
}

Semantic roles & 50–950 ramp

primary
#3E1664
secondary
#6A9B3B
accent
#E74192
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030D
muted
#7B787D

Preview Lab

Preview with #3E1664

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

Preview Lab → · Contrast checker → · Palette generator →

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