#3B1676#3B1676

#3B1676 is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.2% C 0.149 H 293.6°. Best body text is #FFFFFF at 13.44:1 contrast (WCAG AA passes).

Color values

HEX#3B1676
RGBrgb(59, 22, 118)
HSLhsl(263, 69%, 27%)
HSVhsv(263, 81%, 46%)
CMYKcmyk(50%, 81.4%, 0%, 53.7%)
CIE-LABlab(19.27, 39.70, -47.71)
CIE-LCHlch(19.27, 62.07, 309.76°)
OKLaboklab(32.21% 0.0599 -0.1369)
OKLCHoklch(32.21% 0.149 293.6)
XYZxyz(5.3597, 2.8115, 17.3963)
Luminance0.0281 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B1676 #517616
analogous
#162176 #3B1676 #6B1676
triadic
#3B1676 #763B16 #16763B
tetradic
#3B1676 #761621 #517616 #16766B
square
#3B1676 #761621 #517616 #16766B
split-complementary
#3B1676 #766B16 #217616
monochromatic
#0D051A #210C42 #3B1676 #5520AA #702ED8

Accessibility & contrast

On white

13.44
#3B1676 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#3B1676 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B1676
13.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B1676#FFFFFF#000000##FFFFFF
##3B16761.0013.441.5613.44
#FFFFFF13.441.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003079
Deuteranopia (green-blind)
#002D74
Tritanopia (blue-blind)
#293146
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #3b1676;
/* rgb */ color: rgb(59, 22, 118);
/* oklch */ color: oklch(32.2% 0.149 293.6);
Tailwind
colors: {
  custom: {
    50: '#78589e',
    500: '#3b1676',
    950: '#000000',
  },
}
SCSS
$custom: #3b1676;
$custom-light: #78589e;
$custom-dark: #000000;
JSON
{
  "hex": "#3b1676",
  "rgb": {
    "r": 59,
    "g": 22,
    "b": 118
  },
  "hsl": {
    "h": 263.125,
    "s": 68.571,
    "l": 27.451
  },
  "oklch": {
    "l": 0.32213,
    "c": 0.14944,
    "h": 293.6
  },
  "luminance": 0.02812
}

Semantic roles & 50–950 ramp

primary
#3B1676
secondary
#81AC3C
accent
#EB3CA8
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #3B1676

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

Preview Lab → · Contrast checker → · Palette generator →

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