#3B2194#3B2194

#3B2194 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.6% C 0.174 H 284.1°. Best body text is #FFFFFF at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#3B2194
RGBrgb(59, 33, 148)
HSLhsl(254, 64%, 35%)
HSVhsv(254, 78%, 58%)
CMYKcmyk(60.1%, 77.7%, 0%, 42%)
CIE-LABlab(24.18, 43.09, -58.53)
CIE-LCHlch(24.18, 72.67, 306.36°)
OKLaboklab(36.56% 0.0424 -0.1687)
OKLCHoklch(36.56% 0.174 284.1)
XYZxyz(7.6911, 4.1551, 28.4080)
Luminance0.0416 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B2194 #7A9421
analogous
#214194 #3B2194 #742194
triadic
#3B2194 #943B21 #21943B
tetradic
#3B2194 #942141 #7A9421 #219474
square
#3B2194 #942141 #7A9421 #219474
split-complementary
#3B2194 #947421 #419421
monochromatic
#130B30 #271662 #3B2194 #4F2CC6 #7456D9

Accessibility & contrast

On white

11.47
#3B2194 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3B2194
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B2194#FFFFFF#000000##FFFFFF
##3B21941.0011.471.8311.47
#FFFFFF11.471.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D97
Deuteranopia (green-blind)
#003692
Tritanopia (blue-blind)
#034259
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #3b2194;
/* rgb */ color: rgb(59, 33, 148);
/* oklch */ color: oklch(36.6% 0.174 284.1);
Tailwind
colors: {
  custom: {
    50: '#7c60b5',
    500: '#3b2194',
    950: '#000000',
  },
}
SCSS
$custom: #3b2194;
$custom-light: #7c60b5;
$custom-dark: #000000;
JSON
{
  "hex": "#3b2194",
  "rgb": {
    "r": 59,
    "g": 33,
    "b": 148
  },
  "hsl": {
    "h": 253.565,
    "s": 63.536,
    "l": 35.49
  },
  "oklch": {
    "l": 0.36558,
    "c": 0.17392,
    "h": 284.1
  },
  "luminance": 0.04156
}

Semantic roles & 50–950 ramp

primary
#3B2194
secondary
#A5BD54
accent
#E741C1
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #3B2194

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

Preview Lab → · Contrast checker → · Palette generator →

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