#3E1E6E#3E1E6E

#3E1E6E is a dark, vivid violet. Relative luminance 0.031; OKLCH L 32.8% C 0.131 H 296.9°. Best body text is #FFFFFF at 13.00:1 contrast (WCAG AA passes).

Color values

HEX#3E1E6E
RGBrgb(62, 30, 110)
HSLhsl(264, 57%, 27%)
HSVhsv(264, 73%, 43%)
CMYKcmyk(43.6%, 72.7%, 0%, 56.9%)
CIE-LABlab(20.36, 33.89, -40.76)
CIE-LCHlch(20.36, 53.01, 309.74°)
OKLaboklab(32.84% 0.059 -0.1165)
OKLCHoklch(32.84% 0.131 296.9)
XYZxyz(5.2646, 3.0784, 15.0656)
Luminance0.0308 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1E6E #4E6E1E
analogous
#1E266E #3E1E6E #661E6E
triadic
#3E1E6E #6E3E1E #1E6E3E
tetradic
#3E1E6E #6E1E26 #4E6E1E #1E6E66
square
#3E1E6E #6E1E26 #4E6E1E #1E6E66
split-complementary
#3E1E6E #6E661E #266E1E
monochromatic
#0E0718 #23113E #3E1E6E #592B9E #753CCA

Accessibility & contrast

On white

13.00
#3E1E6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#3E1E6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1E6E
13.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1E6E#FFFFFF#000000##FFFFFF
##3E1E6E1.0013.001.6213.00
#FFFFFF13.001.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF13.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003170
Deuteranopia (green-blind)
#00306C
Tritanopia (blue-blind)
#323243
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #3e1e6e;
/* rgb */ color: rgb(62, 30, 110);
/* oklch */ color: oklch(32.8% 0.131 296.9);
Tailwind
colors: {
  custom: {
    50: '#785c98',
    500: '#3e1e6e',
    950: '#000000',
  },
}
SCSS
$custom: #3e1e6e;
$custom-light: #785c98;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1e6e",
  "rgb": {
    "r": 62,
    "g": 30,
    "b": 110
  },
  "hsl": {
    "h": 264,
    "s": 57.143,
    "l": 27.451
  },
  "oklch": {
    "l": 0.32835,
    "c": 0.13057,
    "h": 296.9
  },
  "luminance": 0.03078
}

Semantic roles & 50–950 ramp

primary
#3E1E6E
secondary
#7DA246
accent
#E047A3
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #3E1E6E

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

Preview Lab → · Contrast checker → · Palette generator →

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