#3B2096#3B2096

#3B2096 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.6% C 0.177 H 283.9°. Best body text is #FFFFFF at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#3B2096
RGBrgb(59, 32, 150)
HSLhsl(254, 65%, 36%)
HSVhsv(254, 79%, 59%)
CMYKcmyk(60.7%, 78.7%, 0%, 41.2%)
CIE-LABlab(24.21, 44.19, -59.71)
CIE-LCHlch(24.21, 74.28, 306.51°)
OKLaboklab(36.64% 0.0425 -0.1721)
OKLCHoklch(36.64% 0.177 283.9)
XYZxyz(7.8235, 4.1643, 29.2398)
Luminance0.0416 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B2096 #7B9620
analogous
#204096 #3B2096 #762096
triadic
#3B2096 #963B20 #20963B
tetradic
#3B2096 #962040 #7B9620 #209676
square
#3B2096 #962040 #7B9620 #209676
split-complementary
#3B2096 #967620 #409620
monochromatic
#130A31 #271564 #3B2096 #4F2BC8 #7456DB

Accessibility & contrast

On white

11.46
#3B2096 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3B2096
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B2096#FFFFFF#000000##FFFFFF
##3B20961.0011.461.8311.46
#FFFFFF11.461.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D99
Deuteranopia (green-blind)
#003694
Tritanopia (blue-blind)
#00425A
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #3b2096;
/* rgb */ color: rgb(59, 32, 150);
/* oklch */ color: oklch(36.6% 0.177 283.9);
Tailwind
colors: {
  custom: {
    50: '#7d5fb6',
    500: '#3b2096',
    950: '#000000',
  },
}
SCSS
$custom: #3b2096;
$custom-light: #7d5fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#3b2096",
  "rgb": {
    "r": 59,
    "g": 32,
    "b": 150
  },
  "hsl": {
    "h": 253.729,
    "s": 64.835,
    "l": 35.686
  },
  "oklch": {
    "l": 0.3664,
    "c": 0.17729,
    "h": 283.9
  },
  "luminance": 0.04165
}

Semantic roles & 50–950 ramp

primary
#3B2096
secondary
#A6BE53
accent
#E840C1
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #3B2096

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

Preview Lab → · Contrast checker → · Palette generator →

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