#3E1BBB#3E1BBB

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

Color values

HEX#3E1BBB
RGBrgb(62, 27, 187)
HSLhsl(253, 75%, 42%)
HSVhsv(253, 86%, 73%)
CMYKcmyk(66.8%, 85.6%, 0%, 26.7%)
CIE-LABlab(27.83, 57.26, -76.06)
CIE-LCHlch(27.83, 95.20, 306.97°)
OKLaboklab(40.41% 0.0375 -0.2195)
OKLCHoklch(40.41% 0.223 279.7)
XYZxyz(11.3453, 5.3949, 47.4475)
Luminance0.0540 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1BBB #98BB1B
analogous
#1B48BB #3E1BBB #8E1BBB
triadic
#3E1BBB #BB3E1B #1BBB3E
tetradic
#3E1BBB #BB1B48 #98BB1B #1BBB8E
square
#3E1BBB #BB1B48 #98BB1B #1BBB8E
split-complementary
#3E1BBB #BB8E1B #48BB1B
monochromatic
#1B0C50 #2C1386 #3E1BBB #5832E1 #8467E9

Accessibility & contrast

On white

10.10
#3E1BBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#3E1BBB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1BBB
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1BBB#FFFFFF#000000##FFFFFF
##3E1BBB1.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047BF
Deuteranopia (green-blind)
#003BB8
Tritanopia (blue-blind)
#00506F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3e1bbb;
/* rgb */ color: rgb(62, 27, 187);
/* oklch */ color: oklch(40.4% 0.223 279.7);
Tailwind
colors: {
  custom: {
    50: '#8660d1',
    500: '#3e1bbb',
    950: '#000000',
  },
}
SCSS
$custom: #3e1bbb;
$custom-light: #8660d1;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1bbb",
  "rgb": {
    "r": 62,
    "g": 27,
    "b": 187
  },
  "hsl": {
    "h": 253.125,
    "s": 74.766,
    "l": 41.961
  },
  "oklch": {
    "l": 0.40409,
    "c": 0.22272,
    "h": 279.7
  },
  "luminance": 0.05396
}

Semantic roles & 50–950 ramp

primary
#3E1BBB
secondary
#B7CE63
accent
#F136C8
background
#F9F5FD
surface
#F1EAFA
border
#CBC6D3
text
#0D0514
muted
#7E7983

Preview Lab

Preview with #3E1BBB

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

Preview Lab → · Contrast checker → · Palette generator →

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