#3B2291#3B2291

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

Color values

HEX#3B2291
RGBrgb(59, 34, 145)
HSLhsl(254, 62%, 35%)
HSVhsv(254, 77%, 57%)
CMYKcmyk(59.3%, 76.6%, 0%, 43.1%)
CIE-LABlab(24.06, 41.66, -56.87)
CIE-LCHlch(24.06, 70.49, 306.22°)
OKLaboklab(36.38% 0.0425 -0.1638)
OKLCHoklch(36.38% 0.169 284.5)
XYZxyz(7.4849, 4.1177, 27.1830)
Luminance0.0412 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B2291 #789122
analogous
#224091 #3B2291 #732291
triadic
#3B2291 #913B22 #22913B
tetradic
#3B2291 #912240 #789122 #229173
square
#3B2291 #912240 #789122 #229173
split-complementary
#3B2291 #917322 #409122
monochromatic
#130B2E #27165F #3B2291 #4F2EC3 #7356D7

Accessibility & contrast

On white

11.52
#3B2291 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3B2291
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B2291#FFFFFF#000000##FFFFFF
##3B22911.0011.521.8211.52
#FFFFFF11.521.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C94
Deuteranopia (green-blind)
#00368F
Tritanopia (blue-blind)
#0A4158
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #3b2291;
/* rgb */ color: rgb(59, 34, 145);
/* oklch */ color: oklch(36.4% 0.169 284.5);
Tailwind
colors: {
  custom: {
    50: '#7c60b2',
    500: '#3b2291',
    950: '#000000',
  },
}
SCSS
$custom: #3b2291;
$custom-light: #7c60b2;
$custom-dark: #000000;
JSON
{
  "hex": "#3b2291",
  "rgb": {
    "r": 59,
    "g": 34,
    "b": 145
  },
  "hsl": {
    "h": 253.514,
    "s": 62.011,
    "l": 35.098
  },
  "oklch": {
    "l": 0.36381,
    "c": 0.16926,
    "h": 284.5
  },
  "luminance": 0.04118
}

Semantic roles & 50–950 ramp

primary
#3B2291
secondary
#A4BB53
accent
#E543C1
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #3B2291

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

Preview Lab → · Contrast checker → · Palette generator →

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