#3E1ABB#3E1ABB

#3E1ABB is a dark, highly saturated violet. Relative luminance 0.054; OKLCH L 40.3% C 0.223 H 279.8°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#3E1ABB
RGBrgb(62, 26, 187)
HSLhsl(253, 76%, 42%)
HSVhsv(253, 86%, 73%)
CMYKcmyk(66.8%, 86.1%, 0%, 26.7%)
CIE-LABlab(27.71, 57.62, -76.26)
CIE-LCHlch(27.71, 95.58, 307.07°)
OKLaboklab(40.33% 0.0378 -0.2201)
OKLCHoklch(40.33% 0.223 279.8)
XYZxyz(11.3228, 5.3498, 47.4400)
Luminance0.0535 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1ABB #97BB1A
analogous
#1A47BB #3E1ABB #8F1ABB
triadic
#3E1ABB #BB3E1A #1ABB3E
tetradic
#3E1ABB #BB1A47 #97BB1A #1ABB8F
square
#3E1ABB #BB1A47 #97BB1A #1ABB8F
split-complementary
#3E1ABB #BB8F1A #47BB1A
monochromatic
#1A0B50 #2C1385 #3E1ABB #5830E2 #8366EA

Accessibility & contrast

On white

10.14
#3E1ABB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#3E1ABB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1ABB
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1ABB#FFFFFF#000000##FFFFFF
##3E1ABB1.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047BF
Deuteranopia (green-blind)
#003BB8
Tritanopia (blue-blind)
#004F6F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #3e1abb;
/* rgb */ color: rgb(62, 26, 187);
/* oklch */ color: oklch(40.3% 0.223 279.8);
Tailwind
colors: {
  custom: {
    50: '#865fd1',
    500: '#3e1abb',
    950: '#000000',
  },
}
SCSS
$custom: #3e1abb;
$custom-light: #865fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1abb",
  "rgb": {
    "r": 62,
    "g": 26,
    "b": 187
  },
  "hsl": {
    "h": 253.416,
    "s": 75.587,
    "l": 41.765
  },
  "oklch": {
    "l": 0.40326,
    "c": 0.22335,
    "h": 279.8
  },
  "luminance": 0.05351
}

Semantic roles & 50–950 ramp

primary
#3E1ABB
secondary
#B6CF62
accent
#F236C8
background
#F9F5FD
surface
#F1EAFA
border
#CBC6D3
text
#0D0514
muted
#7E7983

Preview Lab

Preview with #3E1ABB

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

Preview Lab → · Contrast checker → · Palette generator →

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