#3B2296#3B2296

#3B2296 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.9% C 0.175 H 283.6°. Best body text is #FFFFFF at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#3B2296
RGBrgb(59, 34, 150)
HSLhsl(253, 63%, 36%)
HSVhsv(253, 77%, 59%)
CMYKcmyk(60.7%, 77.3%, 0%, 41.2%)
CIE-LABlab(24.56, 43.18, -59.13)
CIE-LCHlch(24.56, 73.21, 306.14°)
OKLaboklab(36.89% 0.0412 -0.1704)
OKLCHoklch(36.89% 0.175 283.6)
XYZxyz(7.8790, 4.2753, 29.2583)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B2296 #7D9622
analogous
#224396 #3B2296 #752296
triadic
#3B2296 #963B22 #22963B
tetradic
#3B2296 #962243 #7D9622 #229675
square
#3B2296 #962243 #7D9622 #229675
split-complementary
#3B2296 #967522 #439622
monochromatic
#140B32 #271764 #3B2296 #4F2DC8 #7559D9

Accessibility & contrast

On white

11.32
#3B2296 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#3B2296 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B2296
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B2296#FFFFFF#000000##FFFFFF
##3B22961.0011.321.8611.32
#FFFFFF11.321.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E99
Deuteranopia (green-blind)
#003694
Tritanopia (blue-blind)
#00435B
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #3b2296;
/* rgb */ color: rgb(59, 34, 150);
/* oklch */ color: oklch(36.9% 0.175 283.6);
Tailwind
colors: {
  custom: {
    50: '#7d61b6',
    500: '#3b2296',
    950: '#000000',
  },
}
SCSS
$custom: #3b2296;
$custom-light: #7d61b6;
$custom-dark: #000000;
JSON
{
  "hex": "#3b2296",
  "rgb": {
    "r": 59,
    "g": 34,
    "b": 150
  },
  "hsl": {
    "h": 252.931,
    "s": 63.043,
    "l": 36.078
  },
  "oklch": {
    "l": 0.36888,
    "c": 0.17532,
    "h": 283.6
  },
  "luminance": 0.04276
}

Semantic roles & 50–950 ramp

primary
#3B2296
secondary
#A7BE56
accent
#E642C3
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #3B2296

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

Preview Lab → · Contrast checker → · Palette generator →

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