#3B1576#3B1576

#3B1576 is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.1% C 0.150 H 293.8°. Best body text is #FFFFFF at 13.51:1 contrast (WCAG AA passes).

Color values

HEX#3B1576
RGBrgb(59, 21, 118)
HSLhsl(264, 70%, 27%)
HSVhsv(264, 82%, 46%)
CMYKcmyk(50%, 82.2%, 0%, 53.7%)
CIE-LABlab(19.12, 40.15, -47.97)
CIE-LCHlch(19.12, 62.56, 309.93°)
OKLaboklab(32.1% 0.0607 -0.1377)
OKLCHoklch(32.1% 0.15 293.8)
XYZxyz(5.3409, 2.7740, 17.3901)
Luminance0.0277 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B1576 #507615
analogous
#152076 #3B1576 #6C1576
triadic
#3B1576 #763B15 #15763B
tetradic
#3B1576 #761520 #507615 #15766C
square
#3B1576 #761520 #507615 #15766C
split-complementary
#3B1576 #766C15 #207615
monochromatic
#0D051A #210C42 #3B1576 #551EAA #702CD9

Accessibility & contrast

On white

13.51
#3B1576 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#3B1576 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B1576
13.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B1576#FFFFFF#000000##FFFFFF
##3B15761.0013.511.5513.51
#FFFFFF13.511.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F79
Deuteranopia (green-blind)
#002D74
Tritanopia (blue-blind)
#293146
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #3b1576;
/* rgb */ color: rgb(59, 21, 118);
/* oklch */ color: oklch(32.1% 0.150 293.8);
Tailwind
colors: {
  custom: {
    50: '#78589e',
    500: '#3b1576',
    950: '#000000',
  },
}
SCSS
$custom: #3b1576;
$custom-light: #78589e;
$custom-dark: #000000;
JSON
{
  "hex": "#3b1576",
  "rgb": {
    "r": 59,
    "g": 21,
    "b": 118
  },
  "hsl": {
    "h": 263.505,
    "s": 69.784,
    "l": 27.255
  },
  "oklch": {
    "l": 0.32103,
    "c": 0.15045,
    "h": 293.8
  },
  "luminance": 0.02774
}

Semantic roles & 50–950 ramp

primary
#3B1576
secondary
#80AC3B
accent
#ED3BA7
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A030E
muted
#7C787E

Preview Lab

Preview with #3B1576

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

Preview Lab → · Contrast checker → · Palette generator →

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