#3F1976#3F1976

#3F1976 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.0% C 0.147 H 295.8°. Best body text is #FFFFFF at 13.03:1 contrast (WCAG AA passes).

Color values

HEX#3F1976
RGBrgb(63, 25, 118)
HSLhsl(265, 65%, 28%)
HSVhsv(265, 79%, 46%)
CMYKcmyk(46.6%, 78.8%, 0%, 53.7%)
CIE-LABlab(20.28, 38.94, -46.04)
CIE-LCHlch(20.28, 60.30, 310.23°)
OKLaboklab(33.03% 0.0638 -0.1319)
OKLCHoklch(33.03% 0.147 295.8)
XYZxyz(5.6667, 3.0599, 17.4281)
Luminance0.0306 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1976 #507619
analogous
#192176 #3F1976 #6D1976
triadic
#3F1976 #763F19 #19763F
tetradic
#3F1976 #761921 #507619 #19766D
square
#3F1976 #761921 #507619 #19766D
split-complementary
#3F1976 #766D19 #217619
monochromatic
#0D0519 #240E43 #3F1976 #5A24A8 #7635D4

Accessibility & contrast

On white

13.03
#3F1976 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F1976
13.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1976#FFFFFF#000000##FFFFFF
##3F19761.0013.031.6113.03
#FFFFFF13.031.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003279
Deuteranopia (green-blind)
#003074
Tritanopia (blue-blind)
#303246
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #3f1976;
/* rgb */ color: rgb(63, 25, 118);
/* oklch */ color: oklch(33.0% 0.147 295.8);
Tailwind
colors: {
  custom: {
    50: '#7a5a9e',
    500: '#3f1976',
    950: '#000000',
  },
}
SCSS
$custom: #3f1976;
$custom-light: #7a5a9e;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1976",
  "rgb": {
    "r": 63,
    "g": 25,
    "b": 118
  },
  "hsl": {
    "h": 264.516,
    "s": 65.035,
    "l": 28.039
  },
  "oklch": {
    "l": 0.33035,
    "c": 0.14651,
    "h": 295.8
  },
  "luminance": 0.0306
}

Semantic roles & 50–950 ramp

primary
#3F1976
secondary
#7FAB40
accent
#E840A3
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #3F1976

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

Preview Lab → · Contrast checker → · Palette generator →

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