#3B219A#3B219A

#3B219A is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.2% C 0.181 H 283.0°. Best body text is #FFFFFF at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#3B219A
RGBrgb(59, 33, 154)
HSLhsl(253, 65%, 37%)
HSVhsv(253, 79%, 60%)
CMYKcmyk(61.7%, 78.6%, 0%, 39.6%)
CIE-LABlab(24.80, 44.89, -61.20)
CIE-LCHlch(24.80, 75.90, 306.26°)
OKLaboklab(37.18% 0.0407 -0.1765)
OKLCHoklch(37.18% 0.181 283)
XYZxyz(8.1784, 4.3501, 30.9743)
Luminance0.0435 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B219A #809A21
analogous
#21439A #3B219A #78219A
triadic
#3B219A #9A3B21 #219A3B
tetradic
#3B219A #9A2143 #809A21 #219A78
square
#3B219A #9A2143 #809A21 #219A78
split-complementary
#3B219A #9A7821 #439A21
monochromatic
#140B35 #281668 #3B219A #4E2CCC #765ADC

Accessibility & contrast

On white

11.23
#3B219A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#3B219A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B219A
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B219A#FFFFFF#000000##FFFFFF
##3B219A1.0011.231.8711.23
#FFFFFF11.231.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9D
Deuteranopia (green-blind)
#003798
Tritanopia (blue-blind)
#00445D
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #3b219a;
/* rgb */ color: rgb(59, 33, 154);
/* oklch */ color: oklch(37.2% 0.181 283.0);
Tailwind
colors: {
  custom: {
    50: '#7d60b9',
    500: '#3b219a',
    950: '#000000',
  },
}
SCSS
$custom: #3b219a;
$custom-light: #7d60b9;
$custom-dark: #000000;
JSON
{
  "hex": "#3b219a",
  "rgb": {
    "r": 59,
    "g": 33,
    "b": 154
  },
  "hsl": {
    "h": 252.893,
    "s": 64.706,
    "l": 36.667
  },
  "oklch": {
    "l": 0.37176,
    "c": 0.1811,
    "h": 283
  },
  "luminance": 0.04351
}

Semantic roles & 50–950 ramp

primary
#3B219A
secondary
#A9C057
accent
#E840C4
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #3B219A

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

Preview Lab → · Contrast checker → · Palette generator →

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