#3B1574#3B1574

#3B1574 is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.9% C 0.148 H 294.5°. Best body text is #FFFFFF at 13.59:1 contrast (WCAG AA passes).

Color values

HEX#3B1574
RGBrgb(59, 21, 116)
HSLhsl(264, 69%, 27%)
HSVhsv(264, 82%, 45%)
CMYKcmyk(49.1%, 81.9%, 0%, 54.5%)
CIE-LABlab(18.92, 39.60, -47.01)
CIE-LCHlch(18.92, 61.47, 310.11°)
OKLaboklab(31.9% 0.0614 -0.1348)
OKLCHoklch(31.9% 0.148 294.5)
XYZxyz(5.2233, 2.7269, 16.7708)
Luminance0.0273 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B1574 #4E7415
analogous
#151F74 #3B1574 #6B1574
triadic
#3B1574 #743B15 #15743B
tetradic
#3B1574 #74151F #4E7415 #15746B
square
#3B1574 #74151F #4E7415 #15746B
split-complementary
#3B1574 #746B15 #1F7415
monochromatic
#0D051A #210C40 #3B1574 #551EA8 #702BD9

Accessibility & contrast

On white

13.59
#3B1574 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3B1574
13.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B1574#FFFFFF#000000##FFFFFF
##3B15741.0013.591.5513.59
#FFFFFF13.591.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F77
Deuteranopia (green-blind)
#002C72
Tritanopia (blue-blind)
#2A3044
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #3b1574;
/* rgb */ color: rgb(59, 21, 116);
/* oklch */ color: oklch(31.9% 0.148 294.5);
Tailwind
colors: {
  custom: {
    50: '#78589d',
    500: '#3b1574',
    950: '#000000',
  },
}
SCSS
$custom: #3b1574;
$custom-light: #78589d;
$custom-dark: #000000;
JSON
{
  "hex": "#3b1574",
  "rgb": {
    "r": 59,
    "g": 21,
    "b": 116
  },
  "hsl": {
    "h": 264,
    "s": 69.343,
    "l": 26.863
  },
  "oklch": {
    "l": 0.31904,
    "c": 0.14815,
    "h": 294.5
  },
  "luminance": 0.02727
}

Semantic roles & 50–950 ramp

primary
#3B1574
secondary
#7EAA3B
accent
#EC3CA6
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #3B1574

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

Preview Lab → · Contrast checker → · Palette generator →

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