#3B1573#3B1573

#3B1573 is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.8% C 0.147 H 294.8°. Best body text is #FFFFFF at 13.63:1 contrast (WCAG AA passes).

Color values

HEX#3B1573
RGBrgb(59, 21, 115)
HSLhsl(264, 69%, 27%)
HSVhsv(264, 82%, 45%)
CMYKcmyk(48.7%, 81.7%, 0%, 54.9%)
CIE-LABlab(18.82, 39.32, -46.53)
CIE-LCHlch(18.82, 60.92, 310.20°)
OKLaboklab(31.81% 0.0617 -0.1334)
OKLCHoklch(31.81% 0.147 294.8)
XYZxyz(5.1655, 2.7038, 16.4661)
Luminance0.0270 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B1573 #4D7315
analogous
#151E73 #3B1573 #6A1573
triadic
#3B1573 #733B15 #15733B
tetradic
#3B1573 #73151E #4D7315 #15736A
square
#3B1573 #73151E #4D7315 #15736A
split-complementary
#3B1573 #736A15 #1E7315
monochromatic
#0D051A #200C3F #3B1573 #561EA7 #712AD8

Accessibility & contrast

On white

13.63
#3B1573 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#3B1573 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B1573
13.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B1573#FFFFFF#000000##FFFFFF
##3B15731.0013.631.5413.63
#FFFFFF13.631.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F76
Deuteranopia (green-blind)
#002C71
Tritanopia (blue-blind)
#2B2F44
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #3b1573;
/* rgb */ color: rgb(59, 21, 115);
/* oklch */ color: oklch(31.8% 0.147 294.8);
Tailwind
colors: {
  custom: {
    50: '#78589c',
    500: '#3b1573',
    950: '#000000',
  },
}
SCSS
$custom: #3b1573;
$custom-light: #78589c;
$custom-dark: #000000;
JSON
{
  "hex": "#3b1573",
  "rgb": {
    "r": 59,
    "g": 21,
    "b": 115
  },
  "hsl": {
    "h": 264.255,
    "s": 69.118,
    "l": 26.667
  },
  "oklch": {
    "l": 0.31805,
    "c": 0.147,
    "h": 294.8
  },
  "luminance": 0.02704
}

Semantic roles & 50–950 ramp

primary
#3B1573
secondary
#7CA93B
accent
#EC3CA5
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #3B1573

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

Preview Lab → · Contrast checker → · Palette generator →

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