#3E1666#3E1666

#3E1666 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.1% C 0.131 H 301.9°. Best body text is #FFFFFF at 13.89:1 contrast (WCAG AA passes).

Color values

HEX#3E1666
RGBrgb(62, 22, 102)
HSLhsl(270, 65%, 24%)
HSVhsv(270, 78%, 40%)
CMYKcmyk(39.2%, 78.4%, 0%, 60%)
CIE-LABlab(18.18, 35.84, -39.09)
CIE-LCHlch(18.18, 53.03, 312.52°)
OKLaboklab(31.07% 0.0693 -0.1115)
OKLCHoklch(31.07% 0.131 301.9)
XYZxyz(4.6712, 2.5572, 12.8153)
Luminance0.0256 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1666 #3E6616
analogous
#161666 #3E1666 #661666
triadic
#3E1666 #663E16 #16663E
tetradic
#3E1666 #661616 #3E6616 #166666
square
#3E1666 #661616 #3E6616 #166666
split-complementary
#3E1666 #666616 #166616
monochromatic
#0F0519 #1F0B34 #3E1666 #5D2198 #7B2CCB

Accessibility & contrast

On white

13.89
#3E1666 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#3E1666 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1666
13.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1666#FFFFFF#000000##FFFFFF
##3E16661.0013.891.5113.89
#FFFFFF13.891.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C68
Deuteranopia (green-blind)
#002C64
Tritanopia (blue-blind)
#352A3D
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #3e1666;
/* rgb */ color: rgb(62, 22, 102);
/* oklch */ color: oklch(31.1% 0.131 301.9);
Tailwind
colors: {
  custom: {
    50: '#785892',
    500: '#3e1666',
    950: '#000000',
  },
}
SCSS
$custom: #3e1666;
$custom-light: #785892;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1666",
  "rgb": {
    "r": 62,
    "g": 22,
    "b": 102
  },
  "hsl": {
    "h": 270,
    "s": 64.516,
    "l": 24.314
  },
  "oklch": {
    "l": 0.31071,
    "c": 0.13129,
    "h": 301.9
  },
  "luminance": 0.02557
}

Semantic roles & 50–950 ramp

primary
#3E1666
secondary
#6C9D3B
accent
#E84094
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #3E1666

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

Preview Lab → · Contrast checker → · Palette generator →

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