#3B2199#3B2199

#3B2199 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.1% C 0.180 H 283.2°. Best body text is #FFFFFF at 11.27:1 contrast (WCAG AA passes).

Color values

HEX#3B2199
RGBrgb(59, 33, 153)
HSLhsl(253, 65%, 36%)
HSVhsv(253, 78%, 60%)
CMYKcmyk(61.4%, 78.4%, 0%, 40%)
CIE-LABlab(24.69, 44.59, -60.75)
CIE-LCHlch(24.69, 75.36, 306.28°)
OKLaboklab(37.07% 0.041 -0.1752)
OKLCHoklch(37.07% 0.18 283.2)
XYZxyz(8.0955, 4.3169, 30.5375)
Luminance0.0432 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B2199 #7F9921
analogous
#214399 #3B2199 #772199
triadic
#3B2199 #993B21 #21993B
tetradic
#3B2199 #992143 #7F9921 #219977
square
#3B2199 #992143 #7F9921 #219977
split-complementary
#3B2199 #997721 #439921
monochromatic
#140B34 #281667 #3B2199 #4E2CCB #7559DB

Accessibility & contrast

On white

11.27
#3B2199 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#3B2199 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B2199
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B2199#FFFFFF#000000##FFFFFF
##3B21991.0011.271.8611.27
#FFFFFF11.271.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E9C
Deuteranopia (green-blind)
#003797
Tritanopia (blue-blind)
#00445C
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #3b2199;
/* rgb */ color: rgb(59, 33, 153);
/* oklch */ color: oklch(37.1% 0.180 283.2);
Tailwind
colors: {
  custom: {
    50: '#7d60b8',
    500: '#3b2199',
    950: '#000000',
  },
}
SCSS
$custom: #3b2199;
$custom-light: #7d60b8;
$custom-dark: #000000;
JSON
{
  "hex": "#3b2199",
  "rgb": {
    "r": 59,
    "g": 33,
    "b": 153
  },
  "hsl": {
    "h": 253,
    "s": 64.516,
    "l": 36.471
  },
  "oklch": {
    "l": 0.37073,
    "c": 0.17991,
    "h": 283.2
  },
  "luminance": 0.04317
}

Semantic roles & 50–950 ramp

primary
#3B2199
secondary
#A9BF56
accent
#E840C3
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #3B2199

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

Preview Lab → · Contrast checker → · Palette generator →

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