#3B1AB4#3B1AB4

#3B1AB4 is a dark, highly saturated violet. Relative luminance 0.050; OKLCH L 39.3% C 0.216 H 279.5°. Best body text is #FFFFFF at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#3B1AB4
RGBrgb(59, 26, 180)
HSLhsl(253, 75%, 40%)
HSVhsv(253, 86%, 71%)
CMYKcmyk(67.2%, 85.6%, 0%, 29.4%)
CIE-LABlab(26.63, 55.47, -73.89)
CIE-LCHlch(26.63, 92.40, 306.89°)
OKLaboklab(39.29% 0.0357 -0.2133)
OKLCHoklch(39.29% 0.216 279.5)
XYZxyz(10.4086, 4.9630, 43.5806)
Luminance0.0496 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B1AB4 #93B41A
analogous
#1A46B4 #3B1AB4 #881AB4
triadic
#3B1AB4 #B43B1A #1AB43B
tetradic
#3B1AB4 #B41A46 #93B41A #1AB488
square
#3B1AB4 #B41A46 #93B41A #1AB488
split-complementary
#3B1AB4 #B4881A #46B41A
monochromatic
#180B49 #29127F #3B1AB4 #522BE0 #7D60E8

Accessibility & contrast

On white

10.54
#3B1AB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#3B1AB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B1AB4
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B1AB4#FFFFFF#000000##FFFFFF
##3B1AB41.0010.541.9910.54
#FFFFFF10.541.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044B8
Deuteranopia (green-blind)
#0039B1
Tritanopia (blue-blind)
#004D6B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3b1ab4;
/* rgb */ color: rgb(59, 26, 180);
/* oklch */ color: oklch(39.3% 0.216 279.5);
Tailwind
colors: {
  custom: {
    50: '#835fcc',
    500: '#3b1ab4',
    950: '#000000',
  },
}
SCSS
$custom: #3b1ab4;
$custom-light: #835fcc;
$custom-dark: #000000;
JSON
{
  "hex": "#3b1ab4",
  "rgb": {
    "r": 59,
    "g": 26,
    "b": 180
  },
  "hsl": {
    "h": 252.857,
    "s": 74.757,
    "l": 40.392
  },
  "oklch": {
    "l": 0.39288,
    "c": 0.21628,
    "h": 279.5
  },
  "luminance": 0.04964
}

Semantic roles & 50–950 ramp

primary
#3B1AB4
secondary
#B5CC5D
accent
#F136C9
background
#F8F5FC
surface
#F0EAF9
border
#CBC6D2
text
#0C0514
muted
#7D7982

Preview Lab

Preview with #3B1AB4

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

Preview Lab → · Contrast checker → · Palette generator →

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