#3B1E91#3B1E91

#3B1E91 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.9% C 0.173 H 285.2°. Best body text is #FFFFFF at 11.79:1 contrast (WCAG AA passes).

Color values

HEX#3B1E91
RGBrgb(59, 30, 145)
HSLhsl(255, 66%, 34%)
HSVhsv(255, 79%, 57%)
CMYKcmyk(59.3%, 79.3%, 0%, 43.1%)
CIE-LABlab(23.35, 43.69, -58.04)
CIE-LCHlch(23.35, 72.65, 306.97°)
OKLaboklab(35.88% 0.0454 -0.1672)
OKLCHoklch(35.88% 0.173 285.2)
XYZxyz(7.3772, 3.9022, 27.1470)
Luminance0.0390 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B1E91 #74911E
analogous
#1E3B91 #3B1E91 #741E91
triadic
#3B1E91 #913B1E #1E913B
tetradic
#3B1E91 #911E3B #74911E #1E9174
square
#3B1E91 #911E3B #74911E #1E9174
split-complementary
#3B1E91 #91741E #3B911E
monochromatic
#12092C #26145E #3B1E91 #5028C4 #724FDB

Accessibility & contrast

On white

11.79
#3B1E91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#3B1E91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B1E91
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B1E91#FFFFFF#000000##FFFFFF
##3B1E911.0011.791.7811.79
#FFFFFF11.791.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B94
Deuteranopia (green-blind)
#00348F
Tritanopia (blue-blind)
#0B3F57
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #3b1e91;
/* rgb */ color: rgb(59, 30, 145);
/* oklch */ color: oklch(35.9% 0.173 285.2);
Tailwind
colors: {
  custom: {
    50: '#7c5eb2',
    500: '#3b1e91',
    950: '#000000',
  },
}
SCSS
$custom: #3b1e91;
$custom-light: #7c5eb2;
$custom-dark: #000000;
JSON
{
  "hex": "#3b1e91",
  "rgb": {
    "r": 59,
    "g": 30,
    "b": 145
  },
  "hsl": {
    "h": 255.13,
    "s": 65.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.35883,
    "c": 0.17326,
    "h": 285.2
  },
  "luminance": 0.03903
}

Semantic roles & 50–950 ramp

primary
#3B1E91
secondary
#A1BD4D
accent
#E93FBE
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #3B1E91

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

Preview Lab → · Contrast checker → · Palette generator →

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