#3B2091#3B2091

#3B2091 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.1% C 0.171 H 284.9°. Best body text is #FFFFFF at 11.66:1 contrast (WCAG AA passes).

Color values

HEX#3B2091
RGBrgb(59, 32, 145)
HSLhsl(254, 64%, 35%)
HSVhsv(254, 78%, 57%)
CMYKcmyk(59.3%, 77.9%, 0%, 43.1%)
CIE-LABlab(23.69, 42.69, -57.47)
CIE-LCHlch(23.69, 71.59, 306.61°)
OKLaboklab(36.13% 0.044 -0.1656)
OKLCHoklch(36.13% 0.171 284.9)
XYZxyz(7.4294, 4.0067, 27.1645)
Luminance0.0401 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B2091 #769120
analogous
#203E91 #3B2091 #732091
triadic
#3B2091 #913B20 #20913B
tetradic
#3B2091 #91203E #769120 #209173
square
#3B2091 #91203E #769120 #209173
split-complementary
#3B2091 #917320 #3E9120
monochromatic
#120A2D #27155F #3B2091 #4F2BC3 #7352D9

Accessibility & contrast

On white

11.66
#3B2091 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#3B2091 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B2091
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B2091#FFFFFF#000000##FFFFFF
##3B20911.0011.661.8011.66
#FFFFFF11.661.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C94
Deuteranopia (green-blind)
#00358F
Tritanopia (blue-blind)
#0A4057
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #3b2091;
/* rgb */ color: rgb(59, 32, 145);
/* oklch */ color: oklch(36.1% 0.171 284.9);
Tailwind
colors: {
  custom: {
    50: '#7c5fb2',
    500: '#3b2091',
    950: '#000000',
  },
}
SCSS
$custom: #3b2091;
$custom-light: #7c5fb2;
$custom-dark: #000000;
JSON
{
  "hex": "#3b2091",
  "rgb": {
    "r": 59,
    "g": 32,
    "b": 145
  },
  "hsl": {
    "h": 254.336,
    "s": 63.842,
    "l": 34.706
  },
  "oklch": {
    "l": 0.36126,
    "c": 0.1713,
    "h": 284.9
  },
  "luminance": 0.04007
}

Semantic roles & 50–950 ramp

primary
#3B2091
secondary
#A3BC51
accent
#E741BF
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #3B2091

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

Preview Lab → · Contrast checker → · Palette generator →

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