#3B2092#3B2092

#3B2092 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.2% C 0.172 H 284.7°. Best body text is #FFFFFF at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#3B2092
RGBrgb(59, 32, 146)
HSLhsl(254, 64%, 35%)
HSVhsv(254, 78%, 57%)
CMYKcmyk(59.6%, 78.1%, 0%, 42.7%)
CIE-LABlab(23.80, 42.99, -57.92)
CIE-LCHlch(23.80, 72.13, 306.59°)
OKLaboklab(36.23% 0.0437 -0.1669)
OKLCHoklch(36.23% 0.173 284.7)
XYZxyz(7.5069, 4.0377, 27.5723)
Luminance0.0404 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B2092 #779220
analogous
#203E92 #3B2092 #742092
triadic
#3B2092 #923B20 #20923B
tetradic
#3B2092 #92203E #779220 #209274
square
#3B2092 #92203E #779220 #209274
split-complementary
#3B2092 #927420 #3E9220
monochromatic
#120A2E #271560 #3B2092 #4F2BC4 #7353D9

Accessibility & contrast

On white

11.62
#3B2092 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#3B2092 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B2092
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B2092#FFFFFF#000000##FFFFFF
##3B20921.0011.621.8111.62
#FFFFFF11.621.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C95
Deuteranopia (green-blind)
#003590
Tritanopia (blue-blind)
#084158
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #3b2092;
/* rgb */ color: rgb(59, 32, 146);
/* oklch */ color: oklch(36.2% 0.172 284.7);
Tailwind
colors: {
  custom: {
    50: '#7c5fb3',
    500: '#3b2092',
    950: '#000000',
  },
}
SCSS
$custom: #3b2092;
$custom-light: #7c5fb3;
$custom-dark: #000000;
JSON
{
  "hex": "#3b2092",
  "rgb": {
    "r": 59,
    "g": 32,
    "b": 146
  },
  "hsl": {
    "h": 254.211,
    "s": 64.045,
    "l": 34.902
  },
  "oklch": {
    "l": 0.36229,
    "c": 0.1725,
    "h": 284.7
  },
  "luminance": 0.04038
}

Semantic roles & 50–950 ramp

primary
#3B2092
secondary
#A3BD51
accent
#E741C0
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #3B2092

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

Preview Lab → · Contrast checker → · Palette generator →

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