#3E1EBB#3E1EBB

#3E1EBB is a dark, highly saturated violet. Relative luminance 0.055; OKLCH L 40.7% C 0.221 H 279.5°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#3E1EBB
RGBrgb(62, 30, 187)
HSLhsl(252, 72%, 43%)
HSVhsv(252, 84%, 73%)
CMYKcmyk(66.8%, 84%, 0%, 26.7%)
CIE-LABlab(28.22, 56.11, -75.41)
CIE-LCHlch(28.22, 93.99, 306.65°)
OKLaboklab(40.67% 0.0364 -0.2177)
OKLCHoklch(40.67% 0.221 279.5)
XYZxyz(11.4177, 5.5396, 47.4716)
Luminance0.0554 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1EBB #9BBB1E
analogous
#1E4DBB #3E1EBB #8C1EBB
triadic
#3E1EBB #BB3E1E #1EBB3E
tetradic
#3E1EBB #BB1E4D #9BBB1E #1EBB8C
square
#3E1EBB #BB1E4D #9BBB1E #1EBB8C
split-complementary
#3E1EBB #BB8C1E #4DBB1E
monochromatic
#1B0D52 #2D1686 #3E1EBB #5937DF #856CE7

Accessibility & contrast

On white

9.96
#3E1EBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#3E1EBB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1EBB
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1EBB#FFFFFF#000000##FFFFFF
##3E1EBB1.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048BF
Deuteranopia (green-blind)
#003CB8
Tritanopia (blue-blind)
#00516F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3e1ebb;
/* rgb */ color: rgb(62, 30, 187);
/* oklch */ color: oklch(40.7% 0.221 279.5);
Tailwind
colors: {
  custom: {
    50: '#8661d1',
    500: '#3e1ebb',
    950: '#000000',
  },
}
SCSS
$custom: #3e1ebb;
$custom-light: #8661d1;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1ebb",
  "rgb": {
    "r": 62,
    "g": 30,
    "b": 187
  },
  "hsl": {
    "h": 252.229,
    "s": 72.35,
    "l": 42.549
  },
  "oklch": {
    "l": 0.40675,
    "c": 0.22073,
    "h": 279.5
  },
  "luminance": 0.05541
}

Semantic roles & 50–950 ramp

primary
#3E1EBB
secondary
#B9CD67
accent
#EF39CA
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0514
muted
#7E7A83

Preview Lab

Preview with #3E1EBB

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

Preview Lab → · Contrast checker → · Palette generator →

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