#3B2196#3B2196

#3B2196 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.8% C 0.176 H 283.7°. Best body text is #FFFFFF at 11.39:1 contrast (WCAG AA passes).

Color values

HEX#3B2196
RGBrgb(59, 33, 150)
HSLhsl(253, 64%, 36%)
HSVhsv(253, 78%, 59%)
CMYKcmyk(60.7%, 78%, 0%, 41.2%)
CIE-LABlab(24.38, 43.69, -59.42)
CIE-LCHlch(24.38, 73.75, 306.32°)
OKLaboklab(36.76% 0.0419 -0.1713)
OKLCHoklch(36.76% 0.176 283.7)
XYZxyz(7.8508, 4.2190, 29.2489)
Luminance0.0422 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B2196 #7C9621
analogous
#214296 #3B2196 #752196
triadic
#3B2196 #963B21 #21963B
tetradic
#3B2196 #962142 #7C9621 #219675
square
#3B2196 #962142 #7C9621 #219675
split-complementary
#3B2196 #967521 #429621
monochromatic
#140B32 #271664 #3B2196 #4F2CC8 #7457DA

Accessibility & contrast

On white

11.39
#3B2196 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#3B2196 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B2196
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B2196#FFFFFF#000000##FFFFFF
##3B21961.0011.391.8411.39
#FFFFFF11.391.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.391.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3b2196;
/* rgb */ color: rgb(59, 33, 150);
/* oklch */ color: oklch(36.8% 0.176 283.7);
Tailwind
colors: {
  custom: {
    50: '#7d60b6',
    500: '#3b2196',
    950: '#000000',
  },
}
SCSS
$custom: #3b2196;
$custom-light: #7d60b6;
$custom-dark: #000000;
JSON
{
  "hex": "#3b2196",
  "rgb": {
    "r": 59,
    "g": 33,
    "b": 150
  },
  "hsl": {
    "h": 253.333,
    "s": 63.934,
    "l": 35.882
  },
  "oklch": {
    "l": 0.36763,
    "c": 0.17631,
    "h": 283.7
  },
  "luminance": 0.0422
}

Semantic roles & 50–950 ramp

primary
#3B2196
secondary
#A7BE55
accent
#E741C2
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #3B2196

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

Preview Lab → · Contrast checker → · Palette generator →

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