#3B1BAA#3B1BAA

#3B1BAA is a dark, highly saturated violet. Relative luminance 0.046; OKLCH L 38.3% C 0.205 H 280.9°. Best body text is #FFFFFF at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#3B1BAA
RGBrgb(59, 27, 170)
HSLhsl(253, 73%, 39%)
HSVhsv(253, 84%, 67%)
CMYKcmyk(65.3%, 84.1%, 0%, 33.3%)
CIE-LABlab(25.61, 52.28, -69.58)
CIE-LCHlch(25.61, 87.03, 306.92°)
OKLaboklab(38.25% 0.0388 -0.2008)
OKLCHoklch(38.25% 0.205 280.9)
XYZxyz(9.4490, 4.6152, 38.4153)
Luminance0.0462 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B1BAA #8AAA1B
analogous
#1B42AA #3B1BAA #821BAA
triadic
#3B1BAA #AA3B1B #1BAA3B
tetradic
#3B1BAA #AA1B42 #8AAA1B #1BAA82
square
#3B1BAA #AA1B42 #8AAA1B #1BAA82
split-complementary
#3B1BAA #AA821B #42AA1B
monochromatic
#160A40 #291375 #3B1BAA #4F26DC #795BE5

Accessibility & contrast

On white

10.92
#3B1BAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#3B1BAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B1BAA
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B1BAA#FFFFFF#000000##FFFFFF
##3B1BAA1.0010.921.9210.92
#FFFFFF10.921.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041AE
Deuteranopia (green-blind)
#0037A8
Tritanopia (blue-blind)
#004965
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3b1baa;
/* rgb */ color: rgb(59, 27, 170);
/* oklch */ color: oklch(38.3% 0.205 280.9);
Tailwind
colors: {
  custom: {
    50: '#815ec5',
    500: '#3b1baa',
    950: '#000000',
  },
}
SCSS
$custom: #3b1baa;
$custom-light: #815ec5;
$custom-dark: #000000;
JSON
{
  "hex": "#3b1baa",
  "rgb": {
    "r": 59,
    "g": 27,
    "b": 170
  },
  "hsl": {
    "h": 253.427,
    "s": 72.589,
    "l": 38.627
  },
  "oklch": {
    "l": 0.38254,
    "c": 0.20452,
    "h": 280.9
  },
  "luminance": 0.04616
}

Semantic roles & 50–950 ramp

primary
#3B1BAA
secondary
#AFC958
accent
#EF39C6
background
#F8F5FC
surface
#F0E9F8
border
#CBC5D1
text
#0C0513
muted
#7D7982

Preview Lab

Preview with #3B1BAA

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

Preview Lab → · Contrast checker → · Palette generator →

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