#3B1A9E#3B1A9E

#3B1A9E is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.8% C 0.192 H 283.1°. Best body text is #FFFFFF at 11.49:1 contrast (WCAG AA passes).

Color values

HEX#3B1A9E
RGBrgb(59, 26, 158)
HSLhsl(255, 72%, 36%)
HSVhsv(255, 84%, 62%)
CMYKcmyk(62.7%, 83.5%, 0%, 38%)
CIE-LABlab(24.12, 49.29, -64.77)
CIE-LCHlch(24.12, 81.39, 307.27°)
OKLaboklab(36.83% 0.0435 -0.1868)
OKLCHoklch(36.83% 0.192 283.1)
XYZxyz(8.3427, 4.1366, 32.6999)
Luminance0.0414 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B1A9E #7D9E1A
analogous
#1A3B9E #3B1A9E #7D1A9E
triadic
#3B1A9E #9E3B1A #1A9E3B
tetradic
#3B1A9E #9E1A3B #7D9E1A #1A9E7D
square
#3B1A9E #9E1A3B #7D9E1A #1A9E7D
split-complementary
#3B1A9E #9E7D1A #3B9E1A
monochromatic
#140935 #271169 #3B1A9E #4F23D3 #7550E2

Accessibility & contrast

On white

11.49
#3B1A9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#3B1A9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B1A9E
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B1A9E#FFFFFF#000000##FFFFFF
##3B1A9E1.0011.491.8311.49
#FFFFFF11.491.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003DA2
Deuteranopia (green-blind)
#00359C
Tritanopia (blue-blind)
#00435E
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #3b1a9e;
/* rgb */ color: rgb(59, 26, 158);
/* oklch */ color: oklch(36.8% 0.192 283.1);
Tailwind
colors: {
  custom: {
    50: '#7f5dbc',
    500: '#3b1a9e',
    950: '#000000',
  },
}
SCSS
$custom: #3b1a9e;
$custom-light: #7f5dbc;
$custom-dark: #000000;
JSON
{
  "hex": "#3b1a9e",
  "rgb": {
    "r": 59,
    "g": 26,
    "b": 158
  },
  "hsl": {
    "h": 255,
    "s": 71.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.36834,
    "c": 0.19176,
    "h": 283.1
  },
  "luminance": 0.04137
}

Semantic roles & 50–950 ramp

primary
#3B1A9E
secondary
#A7C54F
accent
#EE39C1
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #3B1A9E

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

Preview Lab → · Contrast checker → · Palette generator →

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