#3F1677#3F1677

#3F1677 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.8% C 0.151 H 296.0°. Best body text is #FFFFFF at 13.19:1 contrast (WCAG AA passes).

Color values

HEX#3F1677
RGBrgb(63, 22, 119)
HSLhsl(265, 69%, 28%)
HSVhsv(265, 82%, 47%)
CMYKcmyk(47.1%, 81.5%, 0%, 53.3%)
CIE-LABlab(19.89, 40.61, -47.31)
CIE-LCHlch(19.89, 62.35, 310.64°)
OKLaboklab(32.79% 0.0661 -0.1356)
OKLCHoklch(32.79% 0.151 296)
XYZxyz(5.6657, 2.9624, 17.7225)
Luminance0.0296 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1677 #4E7716
analogous
#161D77 #3F1677 #6F1677
triadic
#3F1677 #773F16 #16773F
tetradic
#3F1677 #77161D #4E7716 #16776F
square
#3F1677 #77161D #4E7716 #16776F
split-complementary
#3F1677 #776F16 #1D7716
monochromatic
#0E051A #240C43 #3F1677 #5A20AB #772FD9

Accessibility & contrast

On white

13.19
#3F1677 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#3F1677 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F1677
13.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1677#FFFFFF#000000##FFFFFF
##3F16771.0013.191.5913.19
#FFFFFF13.191.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3f1677;
/* rgb */ color: rgb(63, 22, 119);
/* oklch */ color: oklch(32.8% 0.151 296.0);
Tailwind
colors: {
  custom: {
    50: '#7b599f',
    500: '#3f1677',
    950: '#000000',
  },
}
SCSS
$custom: #3f1677;
$custom-light: #7b599f;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1677",
  "rgb": {
    "r": 63,
    "g": 22,
    "b": 119
  },
  "hsl": {
    "h": 265.361,
    "s": 68.794,
    "l": 27.647
  },
  "oklch": {
    "l": 0.32792,
    "c": 0.15087,
    "h": 296
  },
  "luminance": 0.02962
}

Semantic roles & 50–950 ramp

primary
#3F1677
secondary
#7DAC3C
accent
#EC3CA1
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040F
muted
#7C797E

Preview Lab

Preview with #3F1677

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

Preview Lab → · Contrast checker → · Palette generator →

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