#3F1561#3F1561

#3F1561 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.6% C 0.127 H 305.1°. Best body text is #FFFFFF at 14.08:1 contrast (WCAG AA passes).

Color values

HEX#3F1561
RGBrgb(63, 21, 97)
HSLhsl(273, 64%, 23%)
HSVhsv(273, 78%, 38%)
CMYKcmyk(35.1%, 78.4%, 0%, 62%)
CIE-LABlab(17.72, 35.21, -36.53)
CIE-LCHlch(17.72, 50.73, 313.95°)
OKLaboklab(30.65% 0.0731 -0.1039)
OKLCHoklch(30.65% 0.127 305.1)
XYZxyz(4.4752, 2.4562, 11.5453)
Luminance0.0246 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1561 #376115
analogous
#191561 #3F1561 #61155D
triadic
#3F1561 #613F15 #15613F
tetradic
#3F1561 #611915 #376115 #155D61
square
#3F1561 #611915 #376115 #155D61
split-complementary
#3F1561 #5D6115 #156119
monochromatic
#100519 #1E0A2F #3F1561 #602093 #802BC6

Accessibility & contrast

On white

14.08
#3F1561 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#3F1561 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F1561
14.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1561#FFFFFF#000000##FFFFFF
##3F15611.0014.081.4914.08
#FFFFFF14.081.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A63
Deuteranopia (green-blind)
#002B5F
Tritanopia (blue-blind)
#39273A
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #3f1561;
/* rgb */ color: rgb(63, 21, 97);
/* oklch */ color: oklch(30.6% 0.127 305.1);
Tailwind
colors: {
  custom: {
    50: '#78578e',
    500: '#3f1561',
    950: '#000000',
  },
}
SCSS
$custom: #3f1561;
$custom-light: #78578e;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1561",
  "rgb": {
    "r": 63,
    "g": 21,
    "b": 97
  },
  "hsl": {
    "h": 273.158,
    "s": 64.407,
    "l": 23.137
  },
  "oklch": {
    "l": 0.30645,
    "c": 0.12704,
    "h": 305.1
  },
  "luminance": 0.02456
}

Semantic roles & 50–950 ramp

primary
#3F1561
secondary
#64983A
accent
#E7408B
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3F1561

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

Preview Lab → · Contrast checker → · Palette generator →

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