#3F1779#3F1779

#3F1779 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 33.1% C 0.152 H 295.2°. Best body text is #FFFFFF at 13.04:1 contrast (WCAG AA passes).

Color values

HEX#3F1779
RGBrgb(63, 23, 121)
HSLhsl(264, 68%, 28%)
HSVhsv(264, 81%, 47%)
CMYKcmyk(47.9%, 81%, 0%, 52.5%)
CIE-LABlab(20.24, 40.71, -48.02)
CIE-LCHlch(20.24, 62.95, 310.29°)
OKLaboklab(33.1% 0.0647 -0.1377)
OKLCHoklch(33.1% 0.152 295.2)
XYZxyz(5.8066, 3.0499, 18.3682)
Luminance0.0305 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1779 #517917
analogous
#172079 #3F1779 #701779
triadic
#3F1779 #793F17 #17793F
tetradic
#3F1779 #791720 #517917 #177970
square
#3F1779 #791720 #517917 #177970
split-complementary
#3F1779 #797017 #207917
monochromatic
#0D051A #240D46 #3F1779 #5A21AC #7632D8

Accessibility & contrast

On white

13.04
#3F1779 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#3F1779 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F1779
13.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1779#FFFFFF#000000##FFFFFF
##3F17791.0013.041.6113.04
#FFFFFF13.041.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00327C
Deuteranopia (green-blind)
#002F77
Tritanopia (blue-blind)
#2E3248
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #3f1779;
/* rgb */ color: rgb(63, 23, 121);
/* oklch */ color: oklch(33.1% 0.152 295.2);
Tailwind
colors: {
  custom: {
    50: '#7b59a1',
    500: '#3f1779',
    950: '#000000',
  },
}
SCSS
$custom: #3f1779;
$custom-light: #7b59a1;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1779",
  "rgb": {
    "r": 63,
    "g": 23,
    "b": 121
  },
  "hsl": {
    "h": 264.49,
    "s": 68.056,
    "l": 28.235
  },
  "oklch": {
    "l": 0.33095,
    "c": 0.15211,
    "h": 295.2
  },
  "luminance": 0.0305
}

Semantic roles & 50–950 ramp

primary
#3F1779
secondary
#80AE3E
accent
#EB3DA4
background
#F7F5FA
surface
#EEE9F3
border
#C9C5CD
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #3F1779

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

Preview Lab → · Contrast checker → · Palette generator →

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