#3F1E86#3F1E86

#3F1E86 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.2% C 0.160 H 290.1°. Best body text is #FFFFFF at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#3F1E86
RGBrgb(63, 30, 134)
HSLhsl(259, 63%, 32%)
HSVhsv(259, 78%, 53%)
CMYKcmyk(53%, 77.6%, 0%, 47.5%)
CIE-LABlab(22.68, 41.03, -52.27)
CIE-LCHlch(22.68, 66.45, 308.13°)
OKLaboklab(35.18% 0.0549 -0.1502)
OKLCHoklch(35.18% 0.16 290.1)
XYZxyz(6.8160, 3.7062, 22.9059)
Luminance0.0371 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1E86 #65861E
analogous
#1E3186 #3F1E86 #731E86
triadic
#3F1E86 #863F1E #1E863F
tetradic
#3F1E86 #861E31 #65861E #1E8673
square
#3F1E86 #861E31 #65861E #1E8673
split-complementary
#3F1E86 #86731E #31861E
monochromatic
#100822 #271354 #3F1E86 #5729B8 #7548D6

Accessibility & contrast

On white

12.06
#3F1E86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#3F1E86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F1E86
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1E86#FFFFFF#000000##FFFFFF
##3F1E861.0012.061.7412.06
#FFFFFF12.061.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3f1e86;
/* rgb */ color: rgb(63, 30, 134);
/* oklch */ color: oklch(35.2% 0.160 290.1);
Tailwind
colors: {
  custom: {
    50: '#7c5eaa',
    500: '#3f1e86',
    950: '#000000',
  },
}
SCSS
$custom: #3f1e86;
$custom-light: #7c5eaa;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1e86",
  "rgb": {
    "r": 63,
    "g": 30,
    "b": 134
  },
  "hsl": {
    "h": 259.038,
    "s": 63.415,
    "l": 32.157
  },
  "oklch": {
    "l": 0.35183,
    "c": 0.15992,
    "h": 290.1
  },
  "luminance": 0.03707
}

Semantic roles & 50–950 ramp

primary
#3F1E86
secondary
#95B847
accent
#E641B2
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #3F1E86

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

Preview Lab → · Contrast checker → · Palette generator →

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