#3F1979#3F1979

#3F1979 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.3% C 0.150 H 294.8°. Best body text is #FFFFFF at 12.91:1 contrast (WCAG AA passes).

Color values

HEX#3F1979
RGBrgb(63, 25, 121)
HSLhsl(264, 66%, 29%)
HSVhsv(264, 79%, 47%)
CMYKcmyk(47.9%, 79.3%, 0%, 52.5%)
CIE-LABlab(20.57, 39.78, -47.49)
CIE-LCHlch(20.57, 61.95, 309.95°)
OKLaboklab(33.32% 0.0629 -0.1361)
OKLCHoklch(33.32% 0.15 294.8)
XYZxyz(5.8478, 3.1323, 18.3819)
Luminance0.0313 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1979 #537919
analogous
#192379 #3F1979 #6F1979
triadic
#3F1979 #793F19 #19793F
tetradic
#3F1979 #791923 #537919 #19796F
square
#3F1979 #791923 #537919 #19796F
split-complementary
#3F1979 #796F19 #237919
monochromatic
#0D0519 #250F46 #3F1979 #5923AC #7637D6

Accessibility & contrast

On white

12.91
#3F1979 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#3F1979 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F1979
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1979#FFFFFF#000000##FFFFFF
##3F19791.0012.911.6312.91
#FFFFFF12.911.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00327C
Deuteranopia (green-blind)
#003077
Tritanopia (blue-blind)
#2E3348
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #3f1979;
/* rgb */ color: rgb(63, 25, 121);
/* oklch */ color: oklch(33.3% 0.150 294.8);
Tailwind
colors: {
  custom: {
    50: '#7b5aa1',
    500: '#3f1979',
    950: '#000000',
  },
}
SCSS
$custom: #3f1979;
$custom-light: #7b5aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1979",
  "rgb": {
    "r": 63,
    "g": 25,
    "b": 121
  },
  "hsl": {
    "h": 263.75,
    "s": 65.753,
    "l": 28.627
  },
  "oklch": {
    "l": 0.33322,
    "c": 0.14999,
    "h": 294.8
  },
  "luminance": 0.03132
}

Semantic roles & 50–950 ramp

primary
#3F1979
secondary
#82AE40
accent
#E93FA6
background
#F7F5FA
surface
#EEE9F3
border
#C9C5CD
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #3F1979

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

Preview Lab → · Contrast checker → · Palette generator →

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