#3F0641#3F0641

#3F0641 is a dark, moderate purple. Relative luminance 0.016; OKLCH L 26.5% C 0.112 H 326.6°. Best body text is #FFFFFF at 15.98:1 contrast (WCAG AA passes).

Color values

HEX#3F0641
RGBrgb(63, 6, 65)
HSLhsl(298, 83%, 14%)
HSVhsv(298, 91%, 25%)
CMYKcmyk(3.1%, 90.8%, 0%, 74.5%)
CIE-LABlab(13.04, 34.05, -22.22)
CIE-LCHlch(13.04, 40.66, 326.87°)
OKLaboklab(26.53% 0.0939 -0.0618)
OKLCHoklch(26.53% 0.112 326.6)
XYZxyz(3.0691, 1.5689, 5.1412)
Luminance0.0157 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F0641 #084106
analogous
#220641 #3F0641 #410626
triadic
#3F0641 #413F06 #06413F
tetradic
#3F0641 #412206 #084106 #062641
square
#3F0641 #412206 #084106 #062641
split-complementary
#3F0641 #264106 #064122
monochromatic
#1B031C #1B031C #3F0641 #750B79 #AC10B1

Accessibility & contrast

On white

15.98
#3F0641 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#3F0641 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F0641
15.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F0641#FFFFFF#000000##FFFFFF
##3F06411.0015.981.3115.98
#FFFFFF15.981.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF15.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D43
Deuteranopia (green-blind)
#162440
Tritanopia (blue-blind)
#411124
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #3f0641;
/* rgb */ color: rgb(63, 6, 65);
/* oklch */ color: oklch(26.5% 0.112 326.6);
Tailwind
colors: {
  custom: {
    50: '#774f76',
    500: '#3f0641',
    950: '#000000',
  },
}
SCSS
$custom: #3f0641;
$custom-light: #774f76;
$custom-dark: #000000;
JSON
{
  "hex": "#3f0641",
  "rgb": {
    "r": 63,
    "g": 6,
    "b": 65
  },
  "hsl": {
    "h": 297.966,
    "s": 83.099,
    "l": 13.922
  },
  "oklch": {
    "l": 0.26534,
    "c": 0.11241,
    "h": 326.6
  },
  "luminance": 0.01569
}

Semantic roles & 50–950 ramp

primary
#3F0641
secondary
#258122
accent
#F92E35
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#090208
muted
#7B787B

Preview Lab

Preview with #3F0641

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

Preview Lab → · Contrast checker → · Palette generator →

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