#3B1471#3B1471

#3B1471 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.5% C 0.146 H 295.7°. Best body text is #FFFFFF at 13.78:1 contrast (WCAG AA passes).

Color values

HEX#3B1471
RGBrgb(59, 20, 113)
HSLhsl(265, 70%, 26%)
HSVhsv(265, 82%, 44%)
CMYKcmyk(47.8%, 82.3%, 0%, 55.7%)
CIE-LABlab(18.46, 39.22, -45.81)
CIE-LCHlch(18.46, 60.31, 310.57°)
OKLaboklab(31.5% 0.0632 -0.1313)
OKLCHoklch(31.5% 0.146 295.7)
XYZxyz(5.0336, 2.6222, 15.8605)
Luminance0.0262 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B1471 #4A7114
analogous
#141B71 #3B1471 #691471
triadic
#3B1471 #713B14 #14713B
tetradic
#3B1471 #71141B #4A7114 #147169
square
#3B1471 #71141B #4A7114 #147169
split-complementary
#3B1471 #716914 #1B7114
monochromatic
#0E051A #200B3D #3B1471 #561DA5 #7127D9

Accessibility & contrast

On white

13.78
#3B1471 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#3B1471 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B1471
13.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B1471#FFFFFF#000000##FFFFFF
##3B14711.0013.781.5213.78
#FFFFFF13.781.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E74
Deuteranopia (green-blind)
#002C6F
Tritanopia (blue-blind)
#2C2E42
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #3b1471;
/* rgb */ color: rgb(59, 20, 113);
/* oklch */ color: oklch(31.5% 0.146 295.7);
Tailwind
colors: {
  custom: {
    50: '#77579b',
    500: '#3b1471',
    950: '#000000',
  },
}
SCSS
$custom: #3b1471;
$custom-light: #77579b;
$custom-dark: #000000;
JSON
{
  "hex": "#3b1471",
  "rgb": {
    "r": 59,
    "g": 20,
    "b": 113
  },
  "hsl": {
    "h": 265.161,
    "s": 69.925,
    "l": 26.078
  },
  "oklch": {
    "l": 0.31498,
    "c": 0.14573,
    "h": 295.7
  },
  "luminance": 0.02622
}

Semantic roles & 50–950 ramp

primary
#3B1471
secondary
#79A739
accent
#ED3BA2
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #3B1471

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

Preview Lab → · Contrast checker → · Palette generator →

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