#3F0646#3F0646

#3F0646 is a dark, moderate purple. Relative luminance 0.016; OKLCH L 26.9% C 0.117 H 323.0°. Best body text is #FFFFFF at 15.84:1 contrast (WCAG AA passes).

Color values

HEX#3F0646
RGBrgb(63, 6, 70)
HSLhsl(293, 84%, 15%)
HSVhsv(293, 91%, 27%)
CMYKcmyk(10%, 91.4%, 0%, 72.5%)
CIE-LABlab(13.41, 35.03, -25.14)
CIE-LCHlch(13.41, 43.12, 324.34°)
OKLaboklab(26.91% 0.0933 -0.0704)
OKLCHoklch(26.91% 0.117 323)
XYZxyz(3.2204, 1.6294, 5.9380)
Luminance0.0163 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F0646 #0D4606
analogous
#1F0646 #3F0646 #46062D
triadic
#3F0646 #463F06 #06463F
tetradic
#3F0646 #461F06 #0D4606 #062D46
square
#3F0646 #461F06 #0D4606 #062D46
split-complementary
#3F0646 #2D4606 #06461F
monochromatic
#19021C #19021C #3F0646 #720B7E #A410B7

Accessibility & contrast

On white

15.84
#3F0646 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F0646
15.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F0646#FFFFFF#000000##FFFFFF
##3F06461.0015.841.3315.84
#FFFFFF15.841.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E48
Deuteranopia (green-blind)
#122445
Tritanopia (blue-blind)
#401427
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #3f0646;
/* rgb */ color: rgb(63, 6, 70);
/* oklch */ color: oklch(26.9% 0.117 323.0);
Tailwind
colors: {
  custom: {
    50: '#774f7a',
    500: '#3f0646',
    950: '#000000',
  },
}
SCSS
$custom: #3f0646;
$custom-light: #774f7a;
$custom-dark: #000000;
JSON
{
  "hex": "#3f0646",
  "rgb": {
    "r": 63,
    "g": 6,
    "b": 70
  },
  "hsl": {
    "h": 293.438,
    "s": 84.211,
    "l": 14.902
  },
  "oklch": {
    "l": 0.26912,
    "c": 0.11685,
    "h": 323
  },
  "luminance": 0.01629
}

Semantic roles & 50–950 ramp

primary
#3F0646
secondary
#2D8522
accent
#FA2D44
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#090209
muted
#7B787B

Preview Lab

Preview with #3F0646

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

Preview Lab → · Contrast checker → · Palette generator →

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