#3B1390#3B1390

#3B1390 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.7% C 0.181 H 286.8°. Best body text is #FFFFFF at 12.49:1 contrast (WCAG AA passes).

Color values

HEX#3B1390
RGBrgb(59, 19, 144)
HSLhsl(259, 77%, 32%)
HSVhsv(259, 87%, 56%)
CMYKcmyk(59%, 86.8%, 0%, 43.5%)
CIE-LABlab(21.61, 48.15, -60.28)
CIE-LCHlch(21.61, 77.15, 308.62°)
OKLaboklab(34.65% 0.0523 -0.1736)
OKLCHoklch(34.65% 0.181 286.8)
XYZxyz(7.0690, 3.4088, 26.6656)
Luminance0.0341 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B1390 #689013
analogous
#132A90 #3B1390 #7A1390
triadic
#3B1390 #903B13 #13903B
tetradic
#3B1390 #90132A #689013 #13907A
square
#3B1390 #90132A #689013 #13907A
split-complementary
#3B1390 #907A13 #2A9013
monochromatic
#0F0524 #250C5A #3B1390 #511AC6 #7039E5

Accessibility & contrast

On white

12.49
#3B1390 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#3B1390 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B1390
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B1390#FFFFFF#000000##FFFFFF
##3B13901.0012.491.6812.49
#FFFFFF12.491.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.491.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3b1390;
/* rgb */ color: rgb(59, 19, 144);
/* oklch */ color: oklch(34.7% 0.181 286.8);
Tailwind
colors: {
  custom: {
    50: '#7d59b2',
    500: '#3b1390',
    950: '#000000',
  },
}
SCSS
$custom: #3b1390;
$custom-light: #7d59b2;
$custom-dark: #000000;
JSON
{
  "hex": "#3b1390",
  "rgb": {
    "r": 59,
    "g": 19,
    "b": 144
  },
  "hsl": {
    "h": 259.2,
    "s": 76.687,
    "l": 31.961
  },
  "oklch": {
    "l": 0.34654,
    "c": 0.18131,
    "h": 286.8
  },
  "luminance": 0.03409
}

Semantic roles & 50–950 ramp

primary
#3B1390
secondary
#98C43B
accent
#F335B6
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0411
muted
#7C7980

Preview Lab

Preview with #3B1390

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

Preview Lab → · Contrast checker → · Palette generator →

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