#3B1EAD#3B1EAD

#3B1EAD is a dark, highly saturated violet. Relative luminance 0.049; OKLCH L 38.9% C 0.206 H 280.2°. Best body text is #FFFFFF at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#3B1EAD
RGBrgb(59, 30, 173)
HSLhsl(252, 70%, 40%)
HSVhsv(252, 83%, 68%)
CMYKcmyk(65.9%, 82.7%, 0%, 32.2%)
CIE-LABlab(26.37, 51.87, -70.12)
CIE-LCHlch(26.37, 87.22, 306.49°)
OKLaboklab(38.88% 0.0365 -0.2024)
OKLCHoklch(38.88% 0.206 280.2)
XYZxyz(9.8083, 4.8747, 39.9511)
Luminance0.0488 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B1EAD #90AD1E
analogous
#1E48AD #3B1EAD #831EAD
triadic
#3B1EAD #AD3B1E #1EAD3B
tetradic
#3B1EAD #AD1E48 #90AD1E #1EAD83
square
#3B1EAD #AD1E48 #90AD1E #1EAD83
split-complementary
#3B1EAD #AD831E #48AD1E
monochromatic
#170C45 #291579 #3B1EAD #512EDB #7C62E4

Accessibility & contrast

On white

10.63
#3B1EAD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3B1EAD
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B1EAD#FFFFFF#000000##FFFFFF
##3B1EAD1.0010.631.9810.63
#FFFFFF10.631.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043B1
Deuteranopia (green-blind)
#0039AB
Tritanopia (blue-blind)
#004B67
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3b1ead;
/* rgb */ color: rgb(59, 30, 173);
/* oklch */ color: oklch(38.9% 0.206 280.2);
Tailwind
colors: {
  custom: {
    50: '#8160c7',
    500: '#3b1ead',
    950: '#000000',
  },
}
SCSS
$custom: #3b1ead;
$custom-light: #8160c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3b1ead",
  "rgb": {
    "r": 59,
    "g": 30,
    "b": 173
  },
  "hsl": {
    "h": 252.168,
    "s": 70.443,
    "l": 39.804
  },
  "oklch": {
    "l": 0.3888,
    "c": 0.20567,
    "h": 280.2
  },
  "luminance": 0.04875
}

Semantic roles & 50–950 ramp

primary
#3B1EAD
secondary
#B3C85E
accent
#ED3BC9
background
#F8F5FC
surface
#F0EAF8
border
#CBC6D1
text
#0C0513
muted
#7D7982

Preview Lab

Preview with #3B1EAD

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

Preview Lab → · Contrast checker → · Palette generator →

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