#3F1777#3F1777

#3F1777 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.9% C 0.150 H 295.8°. Best body text is #FFFFFF at 13.12:1 contrast (WCAG AA passes).

Color values

HEX#3F1777
RGBrgb(63, 23, 119)
HSLhsl(265, 68%, 28%)
HSVhsv(265, 81%, 47%)
CMYKcmyk(47.1%, 80.7%, 0%, 53.3%)
CIE-LABlab(20.05, 40.16, -47.06)
CIE-LCHlch(20.05, 61.86, 310.48°)
OKLaboklab(32.9% 0.0653 -0.1349)
OKLCHoklch(32.9% 0.15 295.8)
XYZxyz(5.6852, 3.0013, 17.7290)
Luminance0.0300 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1777 #4F7717
analogous
#171F77 #3F1777 #6F1777
triadic
#3F1777 #773F17 #17773F
tetradic
#3F1777 #77171F #4F7717 #17776F
square
#3F1777 #77171F #4F7717 #17776F
split-complementary
#3F1777 #776F17 #1F7717
monochromatic
#0E051A #240D44 #3F1777 #5A21AA #7631D7

Accessibility & contrast

On white

13.12
#3F1777 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#3F1777 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F1777
13.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1777#FFFFFF#000000##FFFFFF
##3F17771.0013.121.6013.12
#FFFFFF13.121.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00317A
Deuteranopia (green-blind)
#002F75
Tritanopia (blue-blind)
#2F3247
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #3f1777;
/* rgb */ color: rgb(63, 23, 119);
/* oklch */ color: oklch(32.9% 0.150 295.8);
Tailwind
colors: {
  custom: {
    50: '#7a599f',
    500: '#3f1777',
    950: '#000000',
  },
}
SCSS
$custom: #3f1777;
$custom-light: #7a599f;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1777",
  "rgb": {
    "r": 63,
    "g": 23,
    "b": 119
  },
  "hsl": {
    "h": 265,
    "s": 67.606,
    "l": 27.843
  },
  "oklch": {
    "l": 0.32901,
    "c": 0.14982,
    "h": 295.8
  },
  "luminance": 0.03001
}

Semantic roles & 50–950 ramp

primary
#3F1777
secondary
#7EAC3E
accent
#EA3DA2
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040F
muted
#7C797E

Preview Lab

Preview with #3F1777

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

Preview Lab → · Contrast checker → · Palette generator →

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