#3F1980#3F1980

#3F1980 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 34.0% C 0.158 H 292.6°. Best body text is #FFFFFF at 12.63:1 contrast (WCAG AA passes).

Color values

HEX#3F1980
RGBrgb(63, 25, 128)
HSLhsl(262, 67%, 30%)
HSVhsv(262, 80%, 50%)
CMYKcmyk(50.8%, 80.5%, 0%, 49.8%)
CIE-LABlab(21.25, 41.73, -50.83)
CIE-LCHlch(21.25, 65.76, 309.38°)
OKLaboklab(34% 0.0608 -0.1459)
OKLCHoklch(34% 0.158 292.6)
XYZxyz(6.2927, 3.3103, 20.7253)
Luminance0.0331 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1980 #5A8019
analogous
#192780 #3F1980 #721980
triadic
#3F1980 #803F19 #19803F
tetradic
#3F1980 #801927 #5A8019 #198072
square
#3F1980 #801927 #5A8019 #198072
split-complementary
#3F1980 #807219 #278019
monochromatic
#0D051A #260F4D #3F1980 #5823B3 #753BD9

Accessibility & contrast

On white

12.63
#3F1980 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#3F1980 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F1980
12.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1980#FFFFFF#000000##FFFFFF
##3F19801.0012.631.6612.63
#FFFFFF12.631.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003483
Deuteranopia (green-blind)
#00317E
Tritanopia (blue-blind)
#2A364C
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #3f1980;
/* rgb */ color: rgb(63, 25, 128);
/* oklch */ color: oklch(34.0% 0.158 292.6);
Tailwind
colors: {
  custom: {
    50: '#7c5ba6',
    500: '#3f1980',
    950: '#000000',
  },
}
SCSS
$custom: #3f1980;
$custom-light: #7c5ba6;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1980",
  "rgb": {
    "r": 63,
    "g": 25,
    "b": 128
  },
  "hsl": {
    "h": 262.136,
    "s": 67.32,
    "l": 30
  },
  "oklch": {
    "l": 0.34004,
    "c": 0.15809,
    "h": 292.6
  },
  "luminance": 0.03311
}

Semantic roles & 50–950 ramp

primary
#3F1980
secondary
#8AB441
accent
#EA3EAB
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #3F1980

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

Preview Lab → · Contrast checker → · Palette generator →

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