#3F1680#3F1680

#3F1680 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.7% C 0.161 H 293.1°. Best body text is #FFFFFF at 12.82:1 contrast (WCAG AA passes).

Color values

HEX#3F1680
RGBrgb(63, 22, 128)
HSLhsl(263, 71%, 29%)
HSVhsv(263, 83%, 50%)
CMYKcmyk(50.8%, 82.8%, 0%, 49.8%)
CIE-LABlab(20.79, 43.06, -51.59)
CIE-LCHlch(20.79, 67.20, 309.85°)
OKLaboklab(33.68% 0.0631 -0.1481)
OKLCHoklch(33.68% 0.161 293.1)
XYZxyz(6.2320, 3.1889, 20.7050)
Luminance0.0319 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1680 #578016
analogous
#162280 #3F1680 #741680
triadic
#3F1680 #803F16 #16803F
tetradic
#3F1680 #801622 #578016 #168074
square
#3F1680 #801622 #578016 #168074
split-complementary
#3F1680 #807416 #228016
monochromatic
#0D041A #250D4C #3F1680 #591FB4 #7534DC

Accessibility & contrast

On white

12.82
#3F1680 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#3F1680 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F1680
12.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1680#FFFFFF#000000##FFFFFF
##3F16801.0012.821.6412.82
#FFFFFF12.821.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003383
Deuteranopia (green-blind)
#00307E
Tritanopia (blue-blind)
#2A354C
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #3f1680;
/* rgb */ color: rgb(63, 22, 128);
/* oklch */ color: oklch(33.7% 0.161 293.1);
Tailwind
colors: {
  custom: {
    50: '#7c59a6',
    500: '#3f1680',
    950: '#000000',
  },
}
SCSS
$custom: #3f1680;
$custom-light: #7c59a6;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1680",
  "rgb": {
    "r": 63,
    "g": 22,
    "b": 128
  },
  "hsl": {
    "h": 263.208,
    "s": 70.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.33684,
    "c": 0.161,
    "h": 293.1
  },
  "luminance": 0.03189
}

Semantic roles & 50–950 ramp

primary
#3F1680
secondary
#86B53D
accent
#ED3AA8
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #3F1680

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

Preview Lab → · Contrast checker → · Palette generator →

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