#3B1671#3B1671

#3B1671 is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.7% C 0.144 H 295.3°. Best body text is #FFFFFF at 13.64:1 contrast (WCAG AA passes).

Color values

HEX#3B1671
RGBrgb(59, 22, 113)
HSLhsl(264, 67%, 26%)
HSVhsv(264, 81%, 44%)
CMYKcmyk(47.8%, 80.5%, 0%, 55.7%)
CIE-LABlab(18.78, 38.30, -45.29)
CIE-LCHlch(18.78, 59.32, 310.22°)
OKLaboklab(31.72% 0.0615 -0.1298)
OKLCHoklch(31.72% 0.144 295.3)
XYZxyz(5.0704, 2.6957, 15.8728)
Luminance0.0270 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B1671 #4C7116
analogous
#161F71 #3B1671 #691671
triadic
#3B1671 #713B16 #16713B
tetradic
#3B1671 #71161F #4C7116 #167169
square
#3B1671 #71161F #4C7116 #167169
split-complementary
#3B1671 #716916 #1F7116
monochromatic
#0D051A #200C3E #3B1671 #5620A4 #712CD6

Accessibility & contrast

On white

13.64
#3B1671 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3B1671
13.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B1671#FFFFFF#000000##FFFFFF
##3B16711.0013.641.5413.64
#FFFFFF13.641.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3b1671;
/* rgb */ color: rgb(59, 22, 113);
/* oklch */ color: oklch(31.7% 0.144 295.3);
Tailwind
colors: {
  custom: {
    50: '#77589b',
    500: '#3b1671',
    950: '#000000',
  },
}
SCSS
$custom: #3b1671;
$custom-light: #77589b;
$custom-dark: #000000;
JSON
{
  "hex": "#3b1671",
  "rgb": {
    "r": 59,
    "g": 22,
    "b": 113
  },
  "hsl": {
    "h": 264.396,
    "s": 67.407,
    "l": 26.471
  },
  "oklch": {
    "l": 0.31721,
    "c": 0.14364,
    "h": 295.3
  },
  "luminance": 0.02696
}

Semantic roles & 50–950 ramp

primary
#3B1671
secondary
#7BA73C
accent
#EA3EA4
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #3B1671

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

Preview Lab → · Contrast checker → · Palette generator →

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