#3B2299#3B2299

#3B2299 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.2% C 0.179 H 283.0°. Best body text is #FFFFFF at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#3B2299
RGBrgb(59, 34, 153)
HSLhsl(253, 64%, 37%)
HSVhsv(253, 78%, 60%)
CMYKcmyk(61.4%, 77.8%, 0%, 40%)
CIE-LABlab(24.87, 44.09, -60.46)
CIE-LCHlch(24.87, 74.83, 306.10°)
OKLaboklab(37.2% 0.0403 -0.1743)
OKLCHoklch(37.2% 0.179 283)
XYZxyz(8.1236, 4.3732, 30.5469)
Luminance0.0437 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B2299 #809922
analogous
#224599 #3B2299 #772299
triadic
#3B2299 #993B22 #22993B
tetradic
#3B2299 #992245 #809922 #229977
square
#3B2299 #992245 #809922 #229977
split-complementary
#3B2299 #997722 #459922
monochromatic
#140C35 #281767 #3B2299 #4E2DCB #765BDB

Accessibility & contrast

On white

11.20
#3B2299 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#3B2299 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B2299
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B2299#FFFFFF#000000##FFFFFF
##3B22991.0011.201.8711.20
#FFFFFF11.201.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9C
Deuteranopia (green-blind)
#003797
Tritanopia (blue-blind)
#00445C
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #3b2299;
/* rgb */ color: rgb(59, 34, 153);
/* oklch */ color: oklch(37.2% 0.179 283.0);
Tailwind
colors: {
  custom: {
    50: '#7d61b8',
    500: '#3b2299',
    950: '#000000',
  },
}
SCSS
$custom: #3b2299;
$custom-light: #7d61b8;
$custom-dark: #000000;
JSON
{
  "hex": "#3b2299",
  "rgb": {
    "r": 59,
    "g": 34,
    "b": 153
  },
  "hsl": {
    "h": 252.605,
    "s": 63.636,
    "l": 36.667
  },
  "oklch": {
    "l": 0.37196,
    "c": 0.17894,
    "h": 283
  },
  "luminance": 0.04374
}

Semantic roles & 50–950 ramp

primary
#3B2299
secondary
#A9BF58
accent
#E741C4
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #3B2299

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

Preview Lab → · Contrast checker → · Palette generator →

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