#3B1AA1#3B1AA1

#3B1AA1 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 37.2% C 0.195 H 282.6°. Best body text is #FFFFFF at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#3B1AA1
RGBrgb(59, 26, 161)
HSLhsl(255, 72%, 37%)
HSVhsv(255, 84%, 63%)
CMYKcmyk(63.4%, 83.9%, 0%, 36.9%)
CIE-LABlab(24.45, 50.14, -66.04)
CIE-LCHlch(24.45, 82.92, 307.20°)
OKLaboklab(37.16% 0.0424 -0.1905)
OKLCHoklch(37.16% 0.195 282.6)
XYZxyz(8.6040, 4.2412, 34.0765)
Luminance0.0424 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B1AA1 #80A11A
analogous
#1A3CA1 #3B1AA1 #7F1AA1
triadic
#3B1AA1 #A13B1A #1AA13B
tetradic
#3B1AA1 #A11A3C #80A11A #1AA17F
square
#3B1AA1 #A11A3C #80A11A #1AA17F
split-complementary
#3B1AA1 #A17F1A #3CA11A
monochromatic
#140938 #28116C #3B1AA1 #4E23D6 #7652E3

Accessibility & contrast

On white

11.36
#3B1AA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#3B1AA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B1AA1
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B1AA1#FFFFFF#000000##FFFFFF
##3B1AA11.0011.361.8511.36
#FFFFFF11.361.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003EA5
Deuteranopia (green-blind)
#00359F
Tritanopia (blue-blind)
#00455F
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #3b1aa1;
/* rgb */ color: rgb(59, 26, 161);
/* oklch */ color: oklch(37.2% 0.195 282.6);
Tailwind
colors: {
  custom: {
    50: '#7f5dbe',
    500: '#3b1aa1',
    950: '#000000',
  },
}
SCSS
$custom: #3b1aa1;
$custom-light: #7f5dbe;
$custom-dark: #000000;
JSON
{
  "hex": "#3b1aa1",
  "rgb": {
    "r": 59,
    "g": 26,
    "b": 161
  },
  "hsl": {
    "h": 254.667,
    "s": 72.193,
    "l": 36.667
  },
  "oklch": {
    "l": 0.37163,
    "c": 0.19516,
    "h": 282.6
  },
  "luminance": 0.04242
}

Semantic roles & 50–950 ramp

primary
#3B1AA1
secondary
#A9C651
accent
#EF39C2
background
#F8F5FB
surface
#F0E9F7
border
#CBC5D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #3B1AA1

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

Preview Lab → · Contrast checker → · Palette generator →

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