#3B2399#3B2399

#3B2399 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.3% C 0.178 H 282.9°. Best body text is #FFFFFF at 11.13:1 contrast (WCAG AA passes).

Color values

HEX#3B2399
RGBrgb(59, 35, 153)
HSLhsl(252, 63%, 37%)
HSVhsv(252, 77%, 60%)
CMYKcmyk(61.4%, 77.1%, 0%, 40%)
CIE-LABlab(25.05, 43.57, -60.17)
CIE-LCHlch(25.05, 74.29, 305.91°)
OKLaboklab(37.32% 0.0397 -0.1735)
OKLCHoklch(37.32% 0.178 282.9)
XYZxyz(8.1526, 4.4312, 30.5565)
Luminance0.0443 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B2399 #819923
analogous
#234699 #3B2399 #762399
triadic
#3B2399 #993B23 #23993B
tetradic
#3B2399 #992346 #819923 #239976
square
#3B2399 #992346 #819923 #239976
split-complementary
#3B2399 #997623 #469923
monochromatic
#150C35 #281867 #3B2399 #4E2ECB #765DDA

Accessibility & contrast

On white

11.13
#3B2399 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3B2399
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B2399#FFFFFF#000000##FFFFFF
##3B23991.0011.131.8911.13
#FFFFFF11.131.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9C
Deuteranopia (green-blind)
#003797
Tritanopia (blue-blind)
#00455D
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #3b2399;
/* rgb */ color: rgb(59, 35, 153);
/* oklch */ color: oklch(37.3% 0.178 282.9);
Tailwind
colors: {
  custom: {
    50: '#7d61b8',
    500: '#3b2399',
    950: '#000000',
  },
}
SCSS
$custom: #3b2399;
$custom-light: #7d61b8;
$custom-dark: #000000;
JSON
{
  "hex": "#3b2399",
  "rgb": {
    "r": 59,
    "g": 35,
    "b": 153
  },
  "hsl": {
    "h": 252.203,
    "s": 62.766,
    "l": 36.863
  },
  "oklch": {
    "l": 0.37322,
    "c": 0.17795,
    "h": 282.9
  },
  "luminance": 0.04432
}

Semantic roles & 50–950 ramp

primary
#3B2399
secondary
#AABE59
accent
#E642C4
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #3B2399

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

Preview Lab → · Contrast checker → · Palette generator →

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