#3B2192#3B2192

#3B2192 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.4% C 0.171 H 284.5°. Best body text is #FFFFFF at 11.55:1 contrast (WCAG AA passes).

Color values

HEX#3B2192
RGBrgb(59, 33, 146)
HSLhsl(254, 63%, 35%)
HSVhsv(254, 77%, 57%)
CMYKcmyk(59.6%, 77.4%, 0%, 42.7%)
CIE-LABlab(23.97, 42.48, -57.62)
CIE-LCHlch(23.97, 71.59, 306.40°)
OKLaboklab(36.35% 0.043 -0.166)
OKLCHoklch(36.35% 0.171 284.5)
XYZxyz(7.5342, 4.0924, 27.5815)
Luminance0.0409 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B2192 #789221
analogous
#214092 #3B2192 #732192
triadic
#3B2192 #923B21 #21923B
tetradic
#3B2192 #922140 #789221 #219273
square
#3B2192 #922140 #789221 #219273
split-complementary
#3B2192 #927321 #409221
monochromatic
#130A2E #271660 #3B2192 #4F2CC4 #7355D9

Accessibility & contrast

On white

11.55
#3B2192 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#3B2192 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B2192
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B2192#FFFFFF#000000##FFFFFF
##3B21921.0011.551.8211.55
#FFFFFF11.551.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.551.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: #3b2192;
/* rgb */ color: rgb(59, 33, 146);
/* oklch */ color: oklch(36.4% 0.171 284.5);
Tailwind
colors: {
  custom: {
    50: '#7c60b3',
    500: '#3b2192',
    950: '#000000',
  },
}
SCSS
$custom: #3b2192;
$custom-light: #7c60b3;
$custom-dark: #000000;
JSON
{
  "hex": "#3b2192",
  "rgb": {
    "r": 59,
    "g": 33,
    "b": 146
  },
  "hsl": {
    "h": 253.805,
    "s": 63.128,
    "l": 35.098
  },
  "oklch": {
    "l": 0.36354,
    "c": 0.17149,
    "h": 284.5
  },
  "luminance": 0.04093
}

Semantic roles & 50–950 ramp

primary
#3B2192
secondary
#A4BC53
accent
#E642C0
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #3B2192

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

Preview Lab → · Contrast checker → · Palette generator →

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