#3E1EC2#3E1EC2

#3E1EC2 is a dark, highly saturated violet. Relative luminance 0.058; OKLCH L 41.5% C 0.228 H 278.6°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#3E1EC2
RGBrgb(62, 30, 194)
HSLhsl(252, 73%, 44%)
HSVhsv(252, 85%, 76%)
CMYKcmyk(68%, 84.5%, 0%, 23.9%)
CIE-LABlab(29.02, 58.06, -78.22)
CIE-LCHlch(29.02, 97.41, 306.58°)
OKLaboklab(41.46% 0.034 -0.2259)
OKLCHoklch(41.46% 0.228 278.6)
XYZxyz(12.1854, 5.8467, 51.5148)
Luminance0.0585 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1EC2 #A2C21E
analogous
#1E50C2 #3E1EC2 #901EC2
triadic
#3E1EC2 #C23E1E #1EC23E
tetradic
#3E1EC2 #C21E50 #A2C21E #1EC290
square
#3E1EC2 #C21E50 #A2C21E #1EC290
split-complementary
#3E1EC2 #C2901E #50C21E
monochromatic
#1C0E58 #2D168D #3E1EC2 #5C3CE1 #8971E9

Accessibility & contrast

On white

9.68
#3E1EC2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#3E1EC2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1EC2
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1EC2#FFFFFF#000000##FFFFFF
##3E1EC21.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AC6
Deuteranopia (green-blind)
#003EBF
Tritanopia (blue-blind)
#005474
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3e1ec2;
/* rgb */ color: rgb(62, 30, 194);
/* oklch */ color: oklch(41.5% 0.228 278.6);
Tailwind
colors: {
  custom: {
    50: '#8762d6',
    500: '#3e1ec2',
    950: '#000000',
  },
}
SCSS
$custom: #3e1ec2;
$custom-light: #8762d6;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1ec2",
  "rgb": {
    "r": 62,
    "g": 30,
    "b": 194
  },
  "hsl": {
    "h": 251.707,
    "s": 73.214,
    "l": 43.922
  },
  "oklch": {
    "l": 0.41457,
    "c": 0.22842,
    "h": 278.6
  },
  "luminance": 0.05848
}

Semantic roles & 50–950 ramp

primary
#3E1EC2
secondary
#BCD06C
accent
#F038CC
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0515
muted
#7E7A83

Preview Lab

Preview with #3E1EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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