#3B1992#3B1992

#3B1992 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.4% C 0.179 H 285.6°. Best body text is #FFFFFF at 12.07:1 contrast (WCAG AA passes).

Color values

HEX#3B1992
RGBrgb(59, 25, 146)
HSLhsl(257, 71%, 34%)
HSVhsv(257, 83%, 57%)
CMYKcmyk(59.6%, 82.9%, 0%, 42.7%)
CIE-LABlab(22.65, 46.29, -59.80)
CIE-LCHlch(22.65, 75.63, 307.74°)
OKLaboklab(35.44% 0.0483 -0.1723)
OKLCHoklch(35.44% 0.179 285.6)
XYZxyz(7.3380, 3.6999, 27.5160)
Luminance0.0370 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B1992 #709219
analogous
#193392 #3B1992 #771992
triadic
#3B1992 #923B19 #19923B
tetradic
#3B1992 #921933 #709219 #199277
square
#3B1992 #921933 #709219 #199277
split-complementary
#3B1992 #927719 #339219
monochromatic
#110729 #26105E #3B1992 #5022C6 #7146DF

Accessibility & contrast

On white

12.07
#3B1992 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#3B1992 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B1992
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B1992#FFFFFF#000000##FFFFFF
##3B19921.0012.071.7412.07
#FFFFFF12.071.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003995
Deuteranopia (green-blind)
#003290
Tritanopia (blue-blind)
#093E57
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #3b1992;
/* rgb */ color: rgb(59, 25, 146);
/* oklch */ color: oklch(35.4% 0.179 285.6);
Tailwind
colors: {
  custom: {
    50: '#7d5cb3',
    500: '#3b1992',
    950: '#000000',
  },
}
SCSS
$custom: #3b1992;
$custom-light: #7d5cb3;
$custom-dark: #000000;
JSON
{
  "hex": "#3b1992",
  "rgb": {
    "r": 59,
    "g": 25,
    "b": 146
  },
  "hsl": {
    "h": 256.86,
    "s": 70.76,
    "l": 33.529
  },
  "oklch": {
    "l": 0.35435,
    "c": 0.17892,
    "h": 285.6
  },
  "luminance": 0.037
}

Semantic roles & 50–950 ramp

primary
#3B1992
secondary
#9EC146
accent
#EE3ABB
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0411
muted
#7C7980

Preview Lab

Preview with #3B1992

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

Preview Lab → · Contrast checker → · Palette generator →

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