#3B2392#3B2392

#3B2392 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.6% C 0.169 H 284.2°. Best body text is #FFFFFF at 11.40:1 contrast (WCAG AA passes).

Color values

HEX#3B2392
RGBrgb(59, 35, 146)
HSLhsl(253, 61%, 35%)
HSVhsv(253, 76%, 57%)
CMYKcmyk(59.6%, 76%, 0%, 42.7%)
CIE-LABlab(24.34, 41.43, -57.02)
CIE-LCHlch(24.34, 70.48, 306.00°)
OKLaboklab(36.61% 0.0415 -0.1643)
OKLCHoklch(36.61% 0.169 284.2)
XYZxyz(7.5914, 4.2067, 27.6005)
Luminance0.0421 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B2392 #7A9223
analogous
#234292 #3B2392 #722392
triadic
#3B2392 #923B23 #23923B
tetradic
#3B2392 #922342 #7A9223 #239272
square
#3B2392 #922342 #7A9223 #239272
split-complementary
#3B2392 #927223 #429223
monochromatic
#130B2F #271761 #3B2392 #4F2FC3 #7458D7

Accessibility & contrast

On white

11.40
#3B2392 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3B2392
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B2392#FFFFFF#000000##FFFFFF
##3B23921.0011.401.8411.40
#FFFFFF11.401.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D95
Deuteranopia (green-blind)
#003690
Tritanopia (blue-blind)
#074259
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #3b2392;
/* rgb */ color: rgb(59, 35, 146);
/* oklch */ color: oklch(36.6% 0.169 284.2);
Tailwind
colors: {
  custom: {
    50: '#7c61b3',
    500: '#3b2392',
    950: '#000000',
  },
}
SCSS
$custom: #3b2392;
$custom-light: #7c61b3;
$custom-dark: #000000;
JSON
{
  "hex": "#3b2392",
  "rgb": {
    "r": 59,
    "g": 35,
    "b": 146
  },
  "hsl": {
    "h": 252.973,
    "s": 61.326,
    "l": 35.49
  },
  "oklch": {
    "l": 0.36613,
    "c": 0.16943,
    "h": 284.2
  },
  "luminance": 0.04207
}

Semantic roles & 50–950 ramp

primary
#3B2392
secondary
#A5BB55
accent
#E443C2
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #3B2392

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

Preview Lab → · Contrast checker → · Palette generator →

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