#3B1BAE#3B1BAE

#3B1BAE is a dark, highly saturated violet. Relative luminance 0.048; OKLCH L 38.7% C 0.209 H 280.3°. Best body text is #FFFFFF at 10.75:1 contrast (WCAG AA passes).

Color values

HEX#3B1BAE
RGBrgb(59, 27, 174)
HSLhsl(253, 73%, 39%)
HSVhsv(253, 84%, 68%)
CMYKcmyk(66.1%, 84.5%, 0%, 31.8%)
CIE-LABlab(26.07, 53.40, -71.23)
CIE-LCHlch(26.07, 89.03, 306.86°)
OKLaboklab(38.7% 0.0374 -0.2056)
OKLCHoklch(38.7% 0.209 280.3)
XYZxyz(9.8331, 4.7689, 40.4385)
Luminance0.0477 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B1BAE #8EAE1B
analogous
#1B45AE #3B1BAE #851BAE
triadic
#3B1BAE #AE3B1B #1BAE3B
tetradic
#3B1BAE #AE1B45 #8EAE1B #1BAE85
square
#3B1BAE #AE1B45 #8EAE1B #1BAE85
split-complementary
#3B1BAE #AE851B #45AE1B
monochromatic
#170B44 #291379 #3B1BAE #5028DE #7B5DE6

Accessibility & contrast

On white

10.75
#3B1BAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#3B1BAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B1BAE
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B1BAE#FFFFFF#000000##FFFFFF
##3B1BAE1.0010.751.9510.75
#FFFFFF10.751.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043B2
Deuteranopia (green-blind)
#0038AC
Tritanopia (blue-blind)
#004A67
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3b1bae;
/* rgb */ color: rgb(59, 27, 174);
/* oklch */ color: oklch(38.7% 0.209 280.3);
Tailwind
colors: {
  custom: {
    50: '#825fc8',
    500: '#3b1bae',
    950: '#000000',
  },
}
SCSS
$custom: #3b1bae;
$custom-light: #825fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#3b1bae",
  "rgb": {
    "r": 59,
    "g": 27,
    "b": 174
  },
  "hsl": {
    "h": 253.061,
    "s": 73.134,
    "l": 39.412
  },
  "oklch": {
    "l": 0.38701,
    "c": 0.20898,
    "h": 280.3
  },
  "luminance": 0.0477
}

Semantic roles & 50–950 ramp

primary
#3B1BAE
secondary
#B2CA5B
accent
#F038C8
background
#F8F5FC
surface
#F0EAF8
border
#CBC6D1
text
#0C0513
muted
#7D7982

Preview Lab

Preview with #3B1BAE

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

Preview Lab → · Contrast checker → · Palette generator →

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