#3B1590#3B1590

#3B1590 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.8% C 0.180 H 286.6°. Best body text is #FFFFFF at 12.38:1 contrast (WCAG AA passes).

Color values

HEX#3B1590
RGBrgb(59, 21, 144)
HSLhsl(259, 75%, 32%)
HSVhsv(259, 85%, 56%)
CMYKcmyk(59%, 85.4%, 0%, 43.5%)
CIE-LABlab(21.87, 47.39, -59.86)
CIE-LCHlch(21.87, 76.34, 308.37°)
OKLaboklab(34.83% 0.0512 -0.1724)
OKLCHoklch(34.83% 0.18 286.6)
XYZxyz(7.1043, 3.4793, 26.6774)
Luminance0.0348 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B1590 #6A9015
analogous
#152C90 #3B1590 #791590
triadic
#3B1590 #903B15 #15903B
tetradic
#3B1590 #90152C #6A9015 #159079
square
#3B1590 #90152C #6A9015 #159079
split-complementary
#3B1590 #907915 #2C9015
monochromatic
#0F0525 #250D5B #3B1590 #511DC5 #703DE3

Accessibility & contrast

On white

12.38
#3B1590 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#3B1590 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B1590
12.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B1590#FFFFFF#000000##FFFFFF
##3B15901.0012.381.7012.38
#FFFFFF12.381.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003793
Deuteranopia (green-blind)
#00318E
Tritanopia (blue-blind)
#0E3C55
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #3b1590;
/* rgb */ color: rgb(59, 21, 144);
/* oklch */ color: oklch(34.8% 0.180 286.6);
Tailwind
colors: {
  custom: {
    50: '#7c5ab2',
    500: '#3b1590',
    950: '#000000',
  },
}
SCSS
$custom: #3b1590;
$custom-light: #7c5ab2;
$custom-dark: #000000;
JSON
{
  "hex": "#3b1590",
  "rgb": {
    "r": 59,
    "g": 21,
    "b": 144
  },
  "hsl": {
    "h": 258.537,
    "s": 74.545,
    "l": 32.353
  },
  "oklch": {
    "l": 0.3483,
    "c": 0.17985,
    "h": 286.6
  },
  "luminance": 0.0348
}

Semantic roles & 50–950 ramp

primary
#3B1590
secondary
#9AC23E
accent
#F137B8
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0411
muted
#7C7980

Preview Lab

Preview with #3B1590

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

Preview Lab → · Contrast checker → · Palette generator →

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