#3B1677#3B1677

#3B1677 is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.3% C 0.151 H 293.3°. Best body text is #FFFFFF at 13.40:1 contrast (WCAG AA passes).

Color values

HEX#3B1677
RGBrgb(59, 22, 119)
HSLhsl(263, 69%, 28%)
HSVhsv(263, 82%, 47%)
CMYKcmyk(50.4%, 81.5%, 0%, 53.3%)
CIE-LABlab(19.37, 39.98, -48.19)
CIE-LCHlch(19.37, 62.61, 309.68°)
OKLaboklab(32.31% 0.0596 -0.1383)
OKLCHoklch(32.31% 0.151 293.3)
XYZxyz(5.4194, 2.8354, 17.7109)
Luminance0.0284 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B1677 #527716
analogous
#162177 #3B1677 #6C1677
triadic
#3B1677 #773B16 #16773B
tetradic
#3B1677 #771621 #527716 #16776C
square
#3B1677 #771621 #527716 #16776C
split-complementary
#3B1677 #776C16 #217716
monochromatic
#0D051A #210C43 #3B1677 #5520AB #702FD9

Accessibility & contrast

On white

13.40
#3B1677 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#3B1677 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B1677
13.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B1677#FFFFFF#000000##FFFFFF
##3B16771.0013.401.5713.40
#FFFFFF13.401.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00307A
Deuteranopia (green-blind)
#002D75
Tritanopia (blue-blind)
#283146
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #3b1677;
/* rgb */ color: rgb(59, 22, 119);
/* oklch */ color: oklch(32.3% 0.151 293.3);
Tailwind
colors: {
  custom: {
    50: '#78589f',
    500: '#3b1677',
    950: '#000000',
  },
}
SCSS
$custom: #3b1677;
$custom-light: #78589f;
$custom-dark: #000000;
JSON
{
  "hex": "#3b1677",
  "rgb": {
    "r": 59,
    "g": 22,
    "b": 119
  },
  "hsl": {
    "h": 262.887,
    "s": 68.794,
    "l": 27.647
  },
  "oklch": {
    "l": 0.32313,
    "c": 0.15059,
    "h": 293.3
  },
  "luminance": 0.02836
}

Semantic roles & 50–950 ramp

primary
#3B1677
secondary
#82AC3C
accent
#EC3CA9
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040F
muted
#7C797E

Preview Lab

Preview with #3B1677

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

Preview Lab → · Contrast checker → · Palette generator →

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