#3B1A85#3B1A85

#3B1A85 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.2% C 0.163 H 288.6°. Best body text is #FFFFFF at 12.56:1 contrast (WCAG AA passes).

Color values

HEX#3B1A85
RGBrgb(59, 26, 133)
HSLhsl(259, 67%, 31%)
HSVhsv(259, 80%, 52%)
CMYKcmyk(55.6%, 80.5%, 0%, 47.8%)
CIE-LABlab(21.44, 42.10, -53.69)
CIE-LCHlch(21.44, 68.23, 308.10°)
OKLaboklab(34.18% 0.052 -0.1544)
OKLCHoklch(34.18% 0.163 288.6)
XYZxyz(6.4054, 3.3617, 22.4971)
Luminance0.0336 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B1A85 #64851A
analogous
#1A2E85 #3B1A85 #701A85
triadic
#3B1A85 #853B1A #1A853B
tetradic
#3B1A85 #851A2E #64851A #1A8570
square
#3B1A85 #851A2E #64851A #1A8570
split-complementary
#3B1A85 #85701A #2E851A
monochromatic
#0E061F #241052 #3B1A85 #5224B8 #6F40DA

Accessibility & contrast

On white

12.56
#3B1A85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#3B1A85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B1A85
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B1A85#FFFFFF#000000##FFFFFF
##3B1A851.0012.561.6712.56
#FFFFFF12.561.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003688
Deuteranopia (green-blind)
#003183
Tritanopia (blue-blind)
#1D394F
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #3b1a85;
/* rgb */ color: rgb(59, 26, 133);
/* oklch */ color: oklch(34.2% 0.163 288.6);
Tailwind
colors: {
  custom: {
    50: '#7a5baa',
    500: '#3b1a85',
    950: '#000000',
  },
}
SCSS
$custom: #3b1a85;
$custom-light: #7a5baa;
$custom-dark: #000000;
JSON
{
  "hex": "#3b1a85",
  "rgb": {
    "r": 59,
    "g": 26,
    "b": 133
  },
  "hsl": {
    "h": 258.505,
    "s": 67.296,
    "l": 31.176
  },
  "oklch": {
    "l": 0.34181,
    "c": 0.16296,
    "h": 288.6
  },
  "luminance": 0.03362
}

Semantic roles & 50–950 ramp

primary
#3B1A85
secondary
#94B842
accent
#EA3EB5
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #3B1A85

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

Preview Lab → · Contrast checker → · Palette generator →

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