#3E1DBB#3E1DBB

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

Color values

HEX#3E1DBB
RGBrgb(62, 29, 187)
HSLhsl(253, 73%, 42%)
HSVhsv(253, 84%, 73%)
CMYKcmyk(66.8%, 84.5%, 0%, 26.7%)
CIE-LABlab(28.09, 56.50, -75.63)
CIE-LCHlch(28.09, 94.41, 306.76°)
OKLaboklab(40.58% 0.0367 -0.2183)
OKLCHoklch(40.58% 0.221 279.6)
XYZxyz(11.3927, 5.4898, 47.4633)
Luminance0.0549 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1DBB #9ABB1D
analogous
#1D4BBB #3E1DBB #8D1DBB
triadic
#3E1DBB #BB3E1D #1DBB3E
tetradic
#3E1DBB #BB1D4B #9ABB1D #1DBB8D
square
#3E1DBB #BB1D4B #9ABB1D #1DBB8D
split-complementary
#3E1DBB #BB8D1D #4BBB1D
monochromatic
#1B0D51 #2C1586 #3E1DBB #5935E0 #856AE8

Accessibility & contrast

On white

10.01
#3E1DBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#3E1DBB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1DBB
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1DBB#FFFFFF#000000##FFFFFF
##3E1DBB1.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3e1dbb;
/* rgb */ color: rgb(62, 29, 187);
/* oklch */ color: oklch(40.6% 0.221 279.6);
Tailwind
colors: {
  custom: {
    50: '#8661d1',
    500: '#3e1dbb',
    950: '#000000',
  },
}
SCSS
$custom: #3e1dbb;
$custom-light: #8661d1;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1dbb",
  "rgb": {
    "r": 62,
    "g": 29,
    "b": 187
  },
  "hsl": {
    "h": 252.532,
    "s": 73.148,
    "l": 42.353
  },
  "oklch": {
    "l": 0.40584,
    "c": 0.22142,
    "h": 279.6
  },
  "luminance": 0.05491
}

Semantic roles & 50–950 ramp

primary
#3E1DBB
secondary
#B8CE66
accent
#F038C9
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0514
muted
#7E7A83

Preview Lab

Preview with #3E1DBB

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

Preview Lab → · Contrast checker → · Palette generator →

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