#3F1C99#3F1C99

#3F1C99 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.9% C 0.184 H 285.9°. Best body text is #FFFFFF at 11.43:1 contrast (WCAG AA passes).

Color values

HEX#3F1C99
RGBrgb(63, 28, 153)
HSLhsl(257, 69%, 35%)
HSVhsv(257, 82%, 60%)
CMYKcmyk(58.8%, 81.7%, 0%, 40%)
CIE-LABlab(24.28, 47.43, -61.42)
CIE-LCHlch(24.28, 77.61, 307.68°)
OKLaboklab(36.88% 0.0504 -0.1769)
OKLCHoklch(36.88% 0.184 285.9)
XYZxyz(8.2132, 4.1867, 30.5061)
Luminance0.0419 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1C99 #76991C
analogous
#1C3799 #3F1C99 #7D1C99
triadic
#3F1C99 #993F1C #1C993F
tetradic
#3F1C99 #991C37 #76991C #1C997D
square
#3F1C99 #991C37 #76991C #1C997D
split-complementary
#3F1C99 #997D1C #37991C
monochromatic
#140932 #2A1365 #3F1C99 #5425CD #7850DF

Accessibility & contrast

On white

11.43
#3F1C99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#3F1C99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F1C99
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1C99#FFFFFF#000000##FFFFFF
##3F1C991.0011.431.8411.43
#FFFFFF11.431.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D9C
Deuteranopia (green-blind)
#003697
Tritanopia (blue-blind)
#0E425B
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #3f1c99;
/* rgb */ color: rgb(63, 28, 153);
/* oklch */ color: oklch(36.9% 0.184 285.9);
Tailwind
colors: {
  custom: {
    50: '#805eb8',
    500: '#3f1c99',
    950: '#000000',
  },
}
SCSS
$custom: #3f1c99;
$custom-light: #805eb8;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1c99",
  "rgb": {
    "r": 63,
    "g": 28,
    "b": 153
  },
  "hsl": {
    "h": 256.8,
    "s": 69.061,
    "l": 35.49
  },
  "oklch": {
    "l": 0.36882,
    "c": 0.18399,
    "h": 285.9
  },
  "luminance": 0.04187
}

Semantic roles & 50–950 ramp

primary
#3F1C99
secondary
#A2C24F
accent
#EC3CBB
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #3F1C99

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

Preview Lab → · Contrast checker → · Palette generator →

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