#3F1676#3F1676

#3F1676 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.7% C 0.150 H 296.3°. Best body text is #FFFFFF at 13.23:1 contrast (WCAG AA passes).

Color values

HEX#3F1676
RGBrgb(63, 22, 118)
HSLhsl(266, 69%, 27%)
HSVhsv(266, 81%, 46%)
CMYKcmyk(46.6%, 81.4%, 0%, 53.7%)
CIE-LABlab(19.80, 40.34, -46.83)
CIE-LCHlch(19.80, 61.81, 310.74°)
OKLaboklab(32.7% 0.0664 -0.1342)
OKLCHoklch(32.7% 0.15 296.3)
XYZxyz(5.6060, 2.9385, 17.4078)
Luminance0.0294 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1676 #4D7616
analogous
#161D76 #3F1676 #6F1676
triadic
#3F1676 #763F16 #16763F
tetradic
#3F1676 #76161D #4D7616 #16766F
square
#3F1676 #76161D #4D7616 #16766F
split-complementary
#3F1676 #766F16 #1D7616
monochromatic
#0E051A #230C42 #3F1676 #5B20AA #772ED8

Accessibility & contrast

On white

13.23
#3F1676 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F1676
13.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1676#FFFFFF#000000##FFFFFF
##3F16761.0013.231.5913.23
#FFFFFF13.231.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003079
Deuteranopia (green-blind)
#002F74
Tritanopia (blue-blind)
#303146
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #3f1676;
/* rgb */ color: rgb(63, 22, 118);
/* oklch */ color: oklch(32.7% 0.150 296.3);
Tailwind
colors: {
  custom: {
    50: '#7a599e',
    500: '#3f1676',
    950: '#000000',
  },
}
SCSS
$custom: #3f1676;
$custom-light: #7a599e;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1676",
  "rgb": {
    "r": 63,
    "g": 22,
    "b": 118
  },
  "hsl": {
    "h": 265.625,
    "s": 68.571,
    "l": 27.451
  },
  "oklch": {
    "l": 0.32695,
    "c": 0.14973,
    "h": 296.3
  },
  "luminance": 0.02939
}

Semantic roles & 50–950 ramp

primary
#3F1676
secondary
#7CAC3C
accent
#EB3CA1
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #3F1676

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

Preview Lab → · Contrast checker → · Palette generator →

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