#3F1D86#3F1D86

#3F1D86 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.1% C 0.161 H 290.3°. Best body text is #FFFFFF at 12.13:1 contrast (WCAG AA passes).

Color values

HEX#3F1D86
RGBrgb(63, 29, 134)
HSLhsl(259, 64%, 32%)
HSVhsv(259, 78%, 53%)
CMYKcmyk(53%, 78.4%, 0%, 47.5%)
CIE-LABlab(22.50, 41.52, -52.55)
CIE-LCHlch(22.50, 66.98, 308.31°)
OKLaboklab(35.06% 0.0558 -0.151)
OKLCHoklch(35.06% 0.161 290.3)
XYZxyz(6.7911, 3.6564, 22.8976)
Luminance0.0366 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1D86 #64861D
analogous
#1D2F86 #3F1D86 #741D86
triadic
#3F1D86 #863F1D #1D863F
tetradic
#3F1D86 #861D2F #64861D #1D8674
square
#3F1D86 #861D2F #64861D #1D8674
split-complementary
#3F1D86 #86741D #2F861D
monochromatic
#100721 #271254 #3F1D86 #5728B8 #7546D7

Accessibility & contrast

On white

12.13
#3F1D86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#3F1D86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F1D86
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1D86#FFFFFF#000000##FFFFFF
##3F1D861.0012.131.7312.13
#FFFFFF12.131.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003889
Deuteranopia (green-blind)
#003384
Tritanopia (blue-blind)
#253A50
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #3f1d86;
/* rgb */ color: rgb(63, 29, 134);
/* oklch */ color: oklch(35.1% 0.161 290.3);
Tailwind
colors: {
  custom: {
    50: '#7c5daa',
    500: '#3f1d86',
    950: '#000000',
  },
}
SCSS
$custom: #3f1d86;
$custom-light: #7c5daa;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1d86",
  "rgb": {
    "r": 63,
    "g": 29,
    "b": 134
  },
  "hsl": {
    "h": 259.429,
    "s": 64.417,
    "l": 31.961
  },
  "oklch": {
    "l": 0.35061,
    "c": 0.16097,
    "h": 290.3
  },
  "luminance": 0.03657
}

Semantic roles & 50–950 ramp

primary
#3F1D86
secondary
#94B946
accent
#E740B1
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #3F1D86

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

Preview Lab → · Contrast checker → · Palette generator →

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