#3F1B86#3F1B86

#3F1B86 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.8% C 0.163 H 290.6°. Best body text is #FFFFFF at 12.26:1 contrast (WCAG AA passes).

Color values

HEX#3F1B86
RGBrgb(63, 27, 134)
HSLhsl(260, 66%, 32%)
HSVhsv(260, 80%, 53%)
CMYKcmyk(53%, 79.9%, 0%, 47.5%)
CIE-LABlab(22.17, 42.49, -53.10)
CIE-LCHlch(22.17, 68.01, 308.66°)
OKLaboklab(34.83% 0.0573 -0.1526)
OKLCHoklch(34.83% 0.163 290.6)
XYZxyz(6.7437, 3.5616, 22.8818)
Luminance0.0356 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1B86 #62861B
analogous
#1B2D86 #3F1B86 #751B86
triadic
#3F1B86 #863F1B #1B863F
tetradic
#3F1B86 #861B2D #62861B #1B8675
square
#3F1B86 #861B2D #62861B #1B8675
split-complementary
#3F1B86 #86751B #2D861B
monochromatic
#0F0620 #271153 #3F1B86 #5725B9 #7542D9

Accessibility & contrast

On white

12.26
#3F1B86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#3F1B86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F1B86
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1B86#FFFFFF#000000##FFFFFF
##3F1B861.0012.261.7112.26
#FFFFFF12.261.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003789
Deuteranopia (green-blind)
#003384
Tritanopia (blue-blind)
#263950
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #3f1b86;
/* rgb */ color: rgb(63, 27, 134);
/* oklch */ color: oklch(34.8% 0.163 290.6);
Tailwind
colors: {
  custom: {
    50: '#7c5caa',
    500: '#3f1b86',
    950: '#000000',
  },
}
SCSS
$custom: #3f1b86;
$custom-light: #7c5caa;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1b86",
  "rgb": {
    "r": 63,
    "g": 27,
    "b": 134
  },
  "hsl": {
    "h": 260.187,
    "s": 66.46,
    "l": 31.569
  },
  "oklch": {
    "l": 0.34826,
    "c": 0.16303,
    "h": 290.6
  },
  "luminance": 0.03562
}

Semantic roles & 50–950 ramp

primary
#3F1B86
secondary
#92B944
accent
#E93EB0
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #3F1B86

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

Preview Lab → · Contrast checker → · Palette generator →

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