#3F1A86#3F1A86

#3F1A86 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.7% C 0.164 H 290.7°. Best body text is #FFFFFF at 12.33:1 contrast (WCAG AA passes).

Color values

HEX#3F1A86
RGBrgb(63, 26, 134)
HSLhsl(261, 68%, 31%)
HSVhsv(261, 81%, 53%)
CMYKcmyk(53%, 80.6%, 0%, 47.5%)
CIE-LABlab(22.00, 42.95, -53.37)
CIE-LCHlch(22.00, 68.51, 308.83°)
OKLaboklab(34.71% 0.0581 -0.1534)
OKLCHoklch(34.71% 0.164 290.7)
XYZxyz(6.7211, 3.5165, 22.8742)
Luminance0.0352 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1A86 #61861A
analogous
#1A2B86 #3F1A86 #751A86
triadic
#3F1A86 #863F1A #1A863F
tetradic
#3F1A86 #861A2B #61861A #1A8675
square
#3F1A86 #861A2B #61861A #1A8675
split-complementary
#3F1A86 #86751A #2B861A
monochromatic
#0F061F #271053 #3F1A86 #5724B9 #7540DA

Accessibility & contrast

On white

12.33
#3F1A86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#3F1A86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F1A86
12.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1A86#FFFFFF#000000##FFFFFF
##3F1A861.0012.331.7012.33
#FFFFFF12.331.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.331.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3f1a86;
/* rgb */ color: rgb(63, 26, 134);
/* oklch */ color: oklch(34.7% 0.164 290.7);
Tailwind
colors: {
  custom: {
    50: '#7d5caa',
    500: '#3f1a86',
    950: '#000000',
  },
}
SCSS
$custom: #3f1a86;
$custom-light: #7d5caa;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1a86",
  "rgb": {
    "r": 63,
    "g": 26,
    "b": 134
  },
  "hsl": {
    "h": 260.556,
    "s": 67.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.34713,
    "c": 0.16402,
    "h": 290.7
  },
  "luminance": 0.03517
}

Semantic roles & 50–950 ramp

primary
#3F1A86
secondary
#91B942
accent
#EA3DAF
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #3F1A86

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

Preview Lab → · Contrast checker → · Palette generator →

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