#3F1E79#3F1E79

#3F1E79 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 33.9% C 0.144 H 293.8°. Best body text is #FFFFFF at 12.55:1 contrast (WCAG AA passes).

Color values

HEX#3F1E79
RGBrgb(63, 30, 121)
HSLhsl(262, 60%, 30%)
HSVhsv(262, 75%, 47%)
CMYKcmyk(47.9%, 75.2%, 0%, 52.5%)
CIE-LABlab(21.45, 37.26, -46.04)
CIE-LCHlch(21.45, 59.23, 308.98°)
OKLaboklab(33.95% 0.0583 -0.1319)
OKLCHoklch(33.95% 0.144 293.8)
XYZxyz(5.9644, 3.3656, 18.4208)
Luminance0.0337 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1E79 #58791E
analogous
#1E2B79 #3F1E79 #6D1E79
triadic
#3F1E79 #793F1E #1E793F
tetradic
#3F1E79 #791E2B #58791E #1E796D
square
#3F1E79 #791E2B #58791E #1E796D
split-complementary
#3F1E79 #796D1E #2B791E
monochromatic
#0D0619 #251248 #3F1E79 #592AAA #7541D0

Accessibility & contrast

On white

12.55
#3F1E79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#3F1E79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F1E79
12.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1E79#FFFFFF#000000##FFFFFF
##3F1E791.0012.551.6712.55
#FFFFFF12.551.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347C
Deuteranopia (green-blind)
#003277
Tritanopia (blue-blind)
#2E3649
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #3f1e79;
/* rgb */ color: rgb(63, 30, 121);
/* oklch */ color: oklch(33.9% 0.144 293.8);
Tailwind
colors: {
  custom: {
    50: '#7a5da1',
    500: '#3f1e79',
    950: '#000000',
  },
}
SCSS
$custom: #3f1e79;
$custom-light: #7a5da1;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1e79",
  "rgb": {
    "r": 63,
    "g": 30,
    "b": 121
  },
  "hsl": {
    "h": 261.758,
    "s": 60.265,
    "l": 29.608
  },
  "oklch": {
    "l": 0.33945,
    "c": 0.14424,
    "h": 293.8
  },
  "luminance": 0.03366
}

Semantic roles & 50–950 ramp

primary
#3F1E79
secondary
#87AD46
accent
#E344AA
background
#F7F5FA
surface
#EEE9F3
border
#C9C5CD
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #3F1E79

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

Preview Lab → · Contrast checker → · Palette generator →

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