#3B2292#3B2292

#3B2292 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.5% C 0.170 H 284.4°. Best body text is #FFFFFF at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#3B2292
RGBrgb(59, 34, 146)
HSLhsl(253, 62%, 35%)
HSVhsv(253, 77%, 57%)
CMYKcmyk(59.6%, 76.7%, 0%, 42.7%)
CIE-LABlab(24.16, 41.96, -57.32)
CIE-LCHlch(24.16, 71.04, 306.20°)
OKLaboklab(36.48% 0.0423 -0.1651)
OKLCHoklch(36.48% 0.17 284.4)
XYZxyz(7.5624, 4.1487, 27.5908)
Luminance0.0415 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B2292 #799222
analogous
#224192 #3B2292 #732292
triadic
#3B2292 #923B22 #22923B
tetradic
#3B2292 #922241 #799222 #229273
square
#3B2292 #922241 #799222 #229273
split-complementary
#3B2292 #927322 #419222
monochromatic
#130B2F #271660 #3B2292 #4F2EC4 #7357D8

Accessibility & contrast

On white

11.48
#3B2292 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#3B2292 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B2292
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B2292#FFFFFF#000000##FFFFFF
##3B22921.0011.481.8311.48
#FFFFFF11.481.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D95
Deuteranopia (green-blind)
#003690
Tritanopia (blue-blind)
#084258
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #3b2292;
/* rgb */ color: rgb(59, 34, 146);
/* oklch */ color: oklch(36.5% 0.170 284.4);
Tailwind
colors: {
  custom: {
    50: '#7c60b3',
    500: '#3b2292',
    950: '#000000',
  },
}
SCSS
$custom: #3b2292;
$custom-light: #7c60b3;
$custom-dark: #000000;
JSON
{
  "hex": "#3b2292",
  "rgb": {
    "r": 59,
    "g": 34,
    "b": 146
  },
  "hsl": {
    "h": 253.393,
    "s": 62.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.36482,
    "c": 0.17047,
    "h": 284.4
  },
  "luminance": 0.04149
}

Semantic roles & 50–950 ramp

primary
#3B2292
secondary
#A5BC54
accent
#E543C1
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #3B2292

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

Preview Lab → · Contrast checker → · Palette generator →

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