#3B1EAE#3B1EAE

#3B1EAE is a dark, highly saturated violet. Relative luminance 0.049; OKLCH L 39.0% C 0.207 H 280.1°. Best body text is #FFFFFF at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#3B1EAE
RGBrgb(59, 30, 174)
HSLhsl(252, 71%, 40%)
HSVhsv(252, 83%, 68%)
CMYKcmyk(66.1%, 82.8%, 0%, 31.8%)
CIE-LABlab(26.49, 52.16, -70.54)
CIE-LCHlch(26.49, 87.73, 306.48°)
OKLaboklab(38.99% 0.0362 -0.2036)
OKLCHoklch(38.99% 0.207 280.1)
XYZxyz(9.9055, 4.9135, 40.4626)
Luminance0.0491 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B1EAE #91AE1E
analogous
#1E49AE #3B1EAE #831EAE
triadic
#3B1EAE #AE3B1E #1EAE3B
tetradic
#3B1EAE #AE1E49 #91AE1E #1EAE83
square
#3B1EAE #AE1E49 #91AE1E #1EAE83
split-complementary
#3B1EAE #AE831E #49AE1E
monochromatic
#180C46 #29157A #3B1EAE #512EDB #7C62E4

Accessibility & contrast

On white

10.59
#3B1EAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#3B1EAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B1EAE
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B1EAE#FFFFFF#000000##FFFFFF
##3B1EAE1.0010.591.9810.59
#FFFFFF10.591.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044B2
Deuteranopia (green-blind)
#0039AC
Tritanopia (blue-blind)
#004B68
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3b1eae;
/* rgb */ color: rgb(59, 30, 174);
/* oklch */ color: oklch(39.0% 0.207 280.1);
Tailwind
colors: {
  custom: {
    50: '#8260c8',
    500: '#3b1eae',
    950: '#000000',
  },
}
SCSS
$custom: #3b1eae;
$custom-light: #8260c8;
$custom-dark: #000000;
JSON
{
  "hex": "#3b1eae",
  "rgb": {
    "r": 59,
    "g": 30,
    "b": 174
  },
  "hsl": {
    "h": 252.083,
    "s": 70.588,
    "l": 40
  },
  "oklch": {
    "l": 0.3899,
    "c": 0.2068,
    "h": 280.1
  },
  "luminance": 0.04914
}

Semantic roles & 50–950 ramp

primary
#3B1EAE
secondary
#B4C95F
accent
#ED3AC9
background
#F8F5FC
surface
#F0EAF8
border
#CBC6D1
text
#0C0513
muted
#7D7982

Preview Lab

Preview with #3B1EAE

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

Preview Lab → · Contrast checker → · Palette generator →

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