#3F0648#3F0648

#3F0648 is a dark, moderate purple. Relative luminance 0.017; OKLCH L 27.1% C 0.119 H 321.6°. Best body text is #FFFFFF at 15.78:1 contrast (WCAG AA passes).

Color values

HEX#3F0648
RGBrgb(63, 6, 72)
HSLhsl(292, 85%, 15%)
HSVhsv(292, 92%, 28%)
CMYKcmyk(12.5%, 91.7%, 0%, 71.8%)
CIE-LABlab(13.56, 35.44, -26.29)
CIE-LCHlch(13.56, 44.13, 323.43°)
OKLaboklab(27.07% 0.093 -0.0737)
OKLCHoklch(27.07% 0.119 321.6)
XYZxyz(3.2846, 1.6551, 6.2761)
Luminance0.0165 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F0648 #0F4806
analogous
#1E0648 #3F0648 #480630
triadic
#3F0648 #483F06 #06483F
tetradic
#3F0648 #481E06 #0F4806 #063048
square
#3F0648 #481E06 #0F4806 #063048
split-complementary
#3F0648 #304806 #06481E
monochromatic
#19021C #19021C #3F0648 #700B80 #A20FB9

Accessibility & contrast

On white

15.78
#3F0648 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#3F0648 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F0648
15.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F0648#FFFFFF#000000##FFFFFF
##3F06481.0015.781.3315.78
#FFFFFF15.781.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F4A
Deuteranopia (green-blind)
#102547
Tritanopia (blue-blind)
#401528
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #3f0648;
/* rgb */ color: rgb(63, 6, 72);
/* oklch */ color: oklch(27.1% 0.119 321.6);
Tailwind
colors: {
  custom: {
    50: '#774f7b',
    500: '#3f0648',
    950: '#000000',
  },
}
SCSS
$custom: #3f0648;
$custom-light: #774f7b;
$custom-dark: #000000;
JSON
{
  "hex": "#3f0648",
  "rgb": {
    "r": 63,
    "g": 6,
    "b": 72
  },
  "hsl": {
    "h": 291.818,
    "s": 84.615,
    "l": 15.294
  },
  "oklch": {
    "l": 0.27069,
    "c": 0.11866,
    "h": 321.6
  },
  "luminance": 0.01655
}

Semantic roles & 50–950 ramp

primary
#3F0648
secondary
#308723
accent
#FB2D49
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#090209
muted
#7B787B

Preview Lab

Preview with #3F0648

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

Preview Lab → · Contrast checker → · Palette generator →

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