#3B1680#3B1680

#3B1680 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.2% C 0.161 H 290.6°. Best body text is #FFFFFF at 13.02:1 contrast (WCAG AA passes).

Color values

HEX#3B1680
RGBrgb(59, 22, 128)
HSLhsl(261, 71%, 29%)
HSVhsv(261, 83%, 50%)
CMYKcmyk(53.9%, 82.8%, 0%, 49.8%)
CIE-LABlab(20.29, 42.50, -52.42)
CIE-LCHlch(20.29, 67.49, 309.04°)
OKLaboklab(33.23% 0.0565 -0.1507)
OKLCHoklch(33.23% 0.161 290.6)
XYZxyz(5.9857, 3.0619, 20.6935)
Luminance0.0306 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B1680 #5B8016
analogous
#162680 #3B1680 #701680
triadic
#3B1680 #803B16 #16803B
tetradic
#3B1680 #801626 #5B8016 #168070
square
#3B1680 #801626 #5B8016 #168070
split-complementary
#3B1680 #807016 #268016
monochromatic
#0C041A #230D4C #3B1680 #531FB4 #6F34DC

Accessibility & contrast

On white

13.02
#3B1680 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#3B1680 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B1680
13.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B1680#FFFFFF#000000##FFFFFF
##3B16801.0013.021.6113.02
#FFFFFF13.021.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003383
Deuteranopia (green-blind)
#002F7E
Tritanopia (blue-blind)
#22354C
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #3b1680;
/* rgb */ color: rgb(59, 22, 128);
/* oklch */ color: oklch(33.2% 0.161 290.6);
Tailwind
colors: {
  custom: {
    50: '#7a59a6',
    500: '#3b1680',
    950: '#000000',
  },
}
SCSS
$custom: #3b1680;
$custom-light: #7a59a6;
$custom-dark: #000000;
JSON
{
  "hex": "#3b1680",
  "rgb": {
    "r": 59,
    "g": 22,
    "b": 128
  },
  "hsl": {
    "h": 260.943,
    "s": 70.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.33228,
    "c": 0.16095,
    "h": 290.6
  },
  "luminance": 0.03062
}

Semantic roles & 50–950 ramp

primary
#3B1680
secondary
#8BB53D
accent
#ED3AAF
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #3B1680

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

Preview Lab → · Contrast checker → · Palette generator →

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