#3B1EA1#3B1EA1

#3B1EA1 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.6% C 0.192 H 282.1°. Best body text is #FFFFFF at 11.13:1 contrast (WCAG AA passes).

Color values

HEX#3B1EA1
RGBrgb(59, 30, 161)
HSLhsl(253, 69%, 37%)
HSVhsv(253, 81%, 63%)
CMYKcmyk(63.4%, 81.4%, 0%, 36.9%)
CIE-LABlab(25.05, 48.40, -65.06)
CIE-LCHlch(25.05, 81.09, 306.65°)
OKLaboklab(37.57% 0.0404 -0.1877)
OKLCHoklch(37.57% 0.192 282.1)
XYZxyz(8.6989, 4.4309, 34.1082)
Luminance0.0443 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B1EA1 #84A11E
analogous
#1E43A1 #3B1EA1 #7C1EA1
triadic
#3B1EA1 #A13B1E #1EA13B
tetradic
#3B1EA1 #A11E43 #84A11E #1EA17C
square
#3B1EA1 #A11E43 #84A11E #1EA17C
split-complementary
#3B1EA1 #A17C1E #43A11E
monochromatic
#150B3A #28146D #3B1EA1 #4E28D5 #7759E0

Accessibility & contrast

On white

11.13
#3B1EA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#3B1EA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B1EA1
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B1EA1#FFFFFF#000000##FFFFFF
##3B1EA11.0011.131.8911.13
#FFFFFF11.131.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A5
Deuteranopia (green-blind)
#00379F
Tritanopia (blue-blind)
#004660
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #3b1ea1;
/* rgb */ color: rgb(59, 30, 161);
/* oklch */ color: oklch(37.6% 0.192 282.1);
Tailwind
colors: {
  custom: {
    50: '#7f5fbe',
    500: '#3b1ea1',
    950: '#000000',
  },
}
SCSS
$custom: #3b1ea1;
$custom-light: #7f5fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#3b1ea1",
  "rgb": {
    "r": 59,
    "g": 30,
    "b": 161
  },
  "hsl": {
    "h": 253.282,
    "s": 68.586,
    "l": 37.451
  },
  "oklch": {
    "l": 0.37573,
    "c": 0.19197,
    "h": 282.1
  },
  "luminance": 0.04432
}

Semantic roles & 50–950 ramp

primary
#3B1EA1
secondary
#ACC457
accent
#EB3CC5
background
#F8F5FB
surface
#F0EAF7
border
#CBC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #3B1EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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