#3E1E9E#3E1E9E

#3E1E9E is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.5% C 0.188 H 284.2°. Best body text is #FFFFFF at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#3E1E9E
RGBrgb(62, 30, 158)
HSLhsl(255, 68%, 37%)
HSVhsv(255, 81%, 62%)
CMYKcmyk(60.8%, 81%, 0%, 38%)
CIE-LABlab(25.02, 47.85, -63.27)
CIE-LCHlch(25.02, 79.33, 307.10°)
OKLaboklab(37.53% 0.046 -0.1824)
OKLCHoklch(37.53% 0.188 284.2)
XYZxyz(8.6205, 4.4207, 32.7402)
Luminance0.0442 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1E9E #7E9E1E
analogous
#1E3E9E #3E1E9E #7E1E9E
triadic
#3E1E9E #9E3E1E #1E9E3E
tetradic
#3E1E9E #9E1E3E #7E9E1E #1E9E7E
square
#3E1E9E #9E1E3E #7E9E1E #1E9E7E
split-complementary
#3E1E9E #9E7E1E #3E9E1E
monochromatic
#160A37 #2A146B #3E1E9E #5228D1 #7957DF

Accessibility & contrast

On white

11.15
#3E1E9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#3E1E9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1E9E
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1E9E#FFFFFF#000000##FFFFFF
##3E1E9E1.0011.151.8811.15
#FFFFFF11.151.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FA2
Deuteranopia (green-blind)
#00379C
Tritanopia (blue-blind)
#00455E
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #3e1e9e;
/* rgb */ color: rgb(62, 30, 158);
/* oklch */ color: oklch(37.5% 0.188 284.2);
Tailwind
colors: {
  custom: {
    50: '#805fbc',
    500: '#3e1e9e',
    950: '#000000',
  },
}
SCSS
$custom: #3e1e9e;
$custom-light: #805fbc;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1e9e",
  "rgb": {
    "r": 62,
    "g": 30,
    "b": 158
  },
  "hsl": {
    "h": 255,
    "s": 68.085,
    "l": 36.863
  },
  "oklch": {
    "l": 0.37526,
    "c": 0.1881,
    "h": 284.2
  },
  "luminance": 0.04421
}

Semantic roles & 50–950 ramp

primary
#3E1E9E
secondary
#A7C355
accent
#EB3DBF
background
#F8F5FB
surface
#F0EAF7
border
#CBC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #3E1E9E

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

Preview Lab → · Contrast checker → · Palette generator →

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