#3F0642#3F0642

#3F0642 is a dark, moderate purple. Relative luminance 0.016; OKLCH L 26.6% C 0.113 H 325.9°. Best body text is #FFFFFF at 15.96:1 contrast (WCAG AA passes).

Color values

HEX#3F0642
RGBrgb(63, 6, 66)
HSLhsl(297, 83%, 14%)
HSVhsv(297, 91%, 26%)
CMYKcmyk(4.5%, 90.9%, 0%, 74.1%)
CIE-LABlab(13.11, 34.24, -22.81)
CIE-LCHlch(13.11, 41.14, 326.33°)
OKLaboklab(26.61% 0.0938 -0.0636)
OKLCHoklch(26.61% 0.113 325.9)
XYZxyz(3.0983, 1.5806, 5.2951)
Luminance0.0158 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F0642 #094206
analogous
#210642 #3F0642 #420627
triadic
#3F0642 #423F06 #06423F
tetradic
#3F0642 #422106 #094206 #062742
square
#3F0642 #422106 #094206 #062742
split-complementary
#3F0642 #274206 #064221
monochromatic
#1B031C #1B031C #3F0642 #750B7A #AA10B2

Accessibility & contrast

On white

15.96
#3F0642 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#3F0642 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F0642
15.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F0642#FFFFFF#000000##FFFFFF
##3F06421.0015.961.3215.96
#FFFFFF15.961.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D44
Deuteranopia (green-blind)
#152441
Tritanopia (blue-blind)
#411224
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #3f0642;
/* rgb */ color: rgb(63, 6, 66);
/* oklch */ color: oklch(26.6% 0.113 325.9);
Tailwind
colors: {
  custom: {
    50: '#774f77',
    500: '#3f0642',
    950: '#000000',
  },
}
SCSS
$custom: #3f0642;
$custom-light: #774f77;
$custom-dark: #000000;
JSON
{
  "hex": "#3f0642",
  "rgb": {
    "r": 63,
    "g": 6,
    "b": 66
  },
  "hsl": {
    "h": 297,
    "s": 83.333,
    "l": 14.118
  },
  "oklch": {
    "l": 0.26608,
    "c": 0.11329,
    "h": 325.9
  },
  "luminance": 0.0158
}

Semantic roles & 50–950 ramp

primary
#3F0642
secondary
#278222
accent
#FA2E38
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#090208
muted
#7B787B

Preview Lab

Preview with #3F0642

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

Preview Lab → · Contrast checker → · Palette generator →

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