#3B2195#3B2195

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

Color values

HEX#3B2195
RGBrgb(59, 33, 149)
HSLhsl(253, 64%, 36%)
HSVhsv(253, 78%, 58%)
CMYKcmyk(60.4%, 77.9%, 0%, 41.6%)
CIE-LABlab(24.28, 43.39, -58.97)
CIE-LCHlch(24.28, 73.22, 306.34°)
OKLaboklab(36.66% 0.0422 -0.17)
OKLCHoklch(36.66% 0.175 283.9)
XYZxyz(7.7706, 4.1869, 28.8266)
Luminance0.0419 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B2195 #7B9521
analogous
#214195 #3B2195 #752195
triadic
#3B2195 #953B21 #21953B
tetradic
#3B2195 #952141 #7B9521 #219575
square
#3B2195 #952141 #7B9521 #219575
split-complementary
#3B2195 #957521 #419521
monochromatic
#130B31 #271663 #3B2195 #4F2CC7 #7457DA

Accessibility & contrast

On white

11.43
#3B2195 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3B2195
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B2195#FFFFFF#000000##FFFFFF
##3B21951.0011.431.8411.43
#FFFFFF11.431.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3b2195;
/* rgb */ color: rgb(59, 33, 149);
/* oklch */ color: oklch(36.7% 0.175 283.9);
Tailwind
colors: {
  custom: {
    50: '#7c60b5',
    500: '#3b2195',
    950: '#000000',
  },
}
SCSS
$custom: #3b2195;
$custom-light: #7c60b5;
$custom-dark: #000000;
JSON
{
  "hex": "#3b2195",
  "rgb": {
    "r": 59,
    "g": 33,
    "b": 149
  },
  "hsl": {
    "h": 253.448,
    "s": 63.736,
    "l": 35.686
  },
  "oklch": {
    "l": 0.3666,
    "c": 0.17512,
    "h": 283.9
  },
  "luminance": 0.04187
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3B2195

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

Preview Lab → · Contrast checker → · Palette generator →

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