#3B2176#3B2176

#3B2176 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 33.6% C 0.137 H 291.3°. Best body text is #FFFFFF at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#3B2176
RGBrgb(59, 33, 118)
HSLhsl(258, 56%, 30%)
HSVhsv(258, 72%, 46%)
CMYKcmyk(50%, 72%, 0%, 53.7%)
CIE-LABlab(21.30, 33.97, -44.39)
CIE-LCHlch(21.30, 55.89, 307.42°)
OKLaboklab(33.65% 0.0496 -0.1272)
OKLCHoklch(33.65% 0.137 291.3)
XYZxyz(5.6166, 3.3253, 17.4819)
Luminance0.0333 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B2176 #5C7621
analogous
#213276 #3B2176 #662176
triadic
#3B2176 #763B21 #21763B
tetradic
#3B2176 #762132 #5C7621 #217666
square
#3B2176 #762132 #5C7621 #217666
split-complementary
#3B2176 #766621 #327621
monochromatic
#0C0718 #231446 #3B2176 #532EA6 #6F46CB

Accessibility & contrast

On white

12.61
#3B2176 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#3B2176 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B2176
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B2176#FFFFFF#000000##FFFFFF
##3B21761.0012.611.6712.61
#FFFFFF12.611.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003479
Deuteranopia (green-blind)
#003174
Tritanopia (blue-blind)
#283649
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #3b2176;
/* rgb */ color: rgb(59, 33, 118);
/* oklch */ color: oklch(33.6% 0.137 291.3);
Tailwind
colors: {
  custom: {
    50: '#775e9e',
    500: '#3b2176',
    950: '#000000',
  },
}
SCSS
$custom: #3b2176;
$custom-light: #775e9e;
$custom-dark: #000000;
JSON
{
  "hex": "#3b2176",
  "rgb": {
    "r": 59,
    "g": 33,
    "b": 118
  },
  "hsl": {
    "h": 258.353,
    "s": 56.291,
    "l": 29.608
  },
  "oklch": {
    "l": 0.33646,
    "c": 0.13658,
    "h": 291.3
  },
  "luminance": 0.03326
}

Semantic roles & 50–950 ramp

primary
#3B2176
secondary
#8CA94A
accent
#E048B1
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #3B2176

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

Preview Lab → · Contrast checker → · Palette generator →

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