#3E1EB4#3E1EB4

#3E1EB4 is a dark, highly saturated violet. Relative luminance 0.052; OKLCH L 39.9% C 0.213 H 280.5°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#3E1EB4
RGBrgb(62, 30, 180)
HSLhsl(253, 71%, 41%)
HSVhsv(253, 83%, 71%)
CMYKcmyk(65.6%, 83.3%, 0%, 29.4%)
CIE-LABlab(27.43, 54.14, -72.56)
CIE-LCHlch(27.43, 90.53, 306.73°)
OKLaboklab(39.9% 0.0387 -0.2094)
OKLCHoklch(39.9% 0.213 280.5)
XYZxyz(10.6865, 5.2471, 43.6208)
Luminance0.0525 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1EB4 #94B41E
analogous
#1E49B4 #3E1EB4 #891EB4
triadic
#3E1EB4 #B43E1E #1EB43E
tetradic
#3E1EB4 #B41E49 #94B41E #1EB489
square
#3E1EB4 #B41E49 #94B41E #1EB489
split-complementary
#3E1EB4 #B4891E #49B41E
monochromatic
#1A0D4B #2C1580 #3E1EB4 #5732DD #8267E6

Accessibility & contrast

On white

10.25
#3E1EB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#3E1EB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1EB4
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1EB4#FFFFFF#000000##FFFFFF
##3E1EB41.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046B8
Deuteranopia (green-blind)
#003BB1
Tritanopia (blue-blind)
#004E6B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #3e1eb4;
/* rgb */ color: rgb(62, 30, 180);
/* oklch */ color: oklch(39.9% 0.213 280.5);
Tailwind
colors: {
  custom: {
    50: '#8461cc',
    500: '#3e1eb4',
    950: '#000000',
  },
}
SCSS
$custom: #3e1eb4;
$custom-light: #8461cc;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1eb4",
  "rgb": {
    "r": 62,
    "g": 30,
    "b": 180
  },
  "hsl": {
    "h": 252.8,
    "s": 71.429,
    "l": 41.176
  },
  "oklch": {
    "l": 0.399,
    "c": 0.21299,
    "h": 280.5
  },
  "luminance": 0.05248
}

Semantic roles & 50–950 ramp

primary
#3E1EB4
secondary
#B5CB63
accent
#EE3AC8
background
#F8F5FC
surface
#F0EAF9
border
#CBC6D2
text
#0C0514
muted
#7D7982

Preview Lab

Preview with #3E1EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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