#3E1EA0#3E1EA0

#3E1EA0 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.7% C 0.190 H 283.8°. Best body text is #FFFFFF at 11.06:1 contrast (WCAG AA passes).

Color values

HEX#3E1EA0
RGBrgb(62, 30, 160)
HSLhsl(255, 68%, 37%)
HSVhsv(255, 81%, 63%)
CMYKcmyk(61.2%, 81.3%, 0%, 37.3%)
CIE-LABlab(25.23, 48.43, -64.14)
CIE-LCHlch(25.23, 80.37, 307.06°)
OKLaboklab(37.74% 0.0453 -0.1849)
OKLCHoklch(37.74% 0.19 283.8)
XYZxyz(8.7941, 4.4902, 33.6542)
Luminance0.0449 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1EA0 #80A01E
analogous
#1E3FA0 #3E1EA0 #7F1EA0
triadic
#3E1EA0 #A03E1E #1EA03E
tetradic
#3E1EA0 #A01E3F #80A01E #1EA07F
square
#3E1EA0 #A01E3F #80A01E #1EA07F
split-complementary
#3E1EA0 #A07F1E #3FA01E
monochromatic
#160B39 #2A146C #3E1EA0 #5228D4 #7A59E0

Accessibility & contrast

On white

11.06
#3E1EA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#3E1EA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1EA0
11.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1EA0#FFFFFF#000000##FFFFFF
##3E1EA01.0011.061.9011.06
#FFFFFF11.061.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A4
Deuteranopia (green-blind)
#00389E
Tritanopia (blue-blind)
#004560
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #3e1ea0;
/* rgb */ color: rgb(62, 30, 160);
/* oklch */ color: oklch(37.7% 0.190 283.8);
Tailwind
colors: {
  custom: {
    50: '#805fbd',
    500: '#3e1ea0',
    950: '#000000',
  },
}
SCSS
$custom: #3e1ea0;
$custom-light: #805fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1ea0",
  "rgb": {
    "r": 62,
    "g": 30,
    "b": 160
  },
  "hsl": {
    "h": 254.769,
    "s": 68.421,
    "l": 37.255
  },
  "oklch": {
    "l": 0.37738,
    "c": 0.19039,
    "h": 283.8
  },
  "luminance": 0.04491
}

Semantic roles & 50–950 ramp

primary
#3E1EA0
secondary
#A9C456
accent
#EB3DC0
background
#F8F5FB
surface
#F0EAF7
border
#CBC6D0
text
#0C0512
muted
#7D7981

Preview Lab

Preview with #3E1EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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