#3B219D#3B219D

#3B219D is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.5% C 0.185 H 282.5°. Best body text is #FFFFFF at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#3B219D
RGBrgb(59, 33, 157)
HSLhsl(253, 65%, 37%)
HSVhsv(253, 79%, 62%)
CMYKcmyk(62.4%, 79%, 0%, 38.4%)
CIE-LABlab(25.11, 45.79, -62.52)
CIE-LCHlch(25.11, 77.49, 306.22°)
OKLaboklab(37.49% 0.0398 -0.1803)
OKLCHoklch(37.49% 0.185 282.5)
XYZxyz(8.4314, 4.4512, 32.3066)
Luminance0.0445 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B219D #839D21
analogous
#21459D #3B219D #79219D
triadic
#3B219D #9D3B21 #219D3B
tetradic
#3B219D #9D2145 #839D21 #219D79
square
#3B219D #9D2145 #839D21 #219D79
split-complementary
#3B219D #9D7921 #459D21
monochromatic
#150C38 #28166A #3B219D #4E2CD0 #775CDD

Accessibility & contrast

On white

11.11
#3B219D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#3B219D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B219D
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B219D#FFFFFF#000000##FFFFFF
##3B219D1.0011.111.8911.11
#FFFFFF11.111.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FA0
Deuteranopia (green-blind)
#00379B
Tritanopia (blue-blind)
#00465F
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #3b219d;
/* rgb */ color: rgb(59, 33, 157);
/* oklch */ color: oklch(37.5% 0.185 282.5);
Tailwind
colors: {
  custom: {
    50: '#7e60bb',
    500: '#3b219d',
    950: '#000000',
  },
}
SCSS
$custom: #3b219d;
$custom-light: #7e60bb;
$custom-dark: #000000;
JSON
{
  "hex": "#3b219d",
  "rgb": {
    "r": 59,
    "g": 33,
    "b": 157
  },
  "hsl": {
    "h": 252.581,
    "s": 65.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.37489,
    "c": 0.18465,
    "h": 282.5
  },
  "luminance": 0.04452
}

Semantic roles & 50–950 ramp

primary
#3B219D
secondary
#ABC159
accent
#E840C5
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #3B219D

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

Preview Lab → · Contrast checker → · Palette generator →

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