#3F0640#3F0640

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

Color values

HEX#3F0640
RGBrgb(63, 6, 64)
HSLhsl(299, 83%, 14%)
HSVhsv(299, 91%, 25%)
CMYKcmyk(1.6%, 90.6%, 0%, 74.9%)
CIE-LABlab(12.97, 33.86, -21.63)
CIE-LCHlch(12.97, 40.17, 327.43°)
OKLaboklab(26.46% 0.0939 -0.0601)
OKLCHoklch(26.46% 0.112 327.4)
XYZxyz(3.0404, 1.5574, 4.9900)
Luminance0.0156 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F0640 #074006
analogous
#220640 #3F0640 #400624
triadic
#3F0640 #403F06 #06403F
tetradic
#3F0640 #402206 #074006 #062440
square
#3F0640 #402206 #074006 #062440
split-complementary
#3F0640 #244006 #064022
monochromatic
#1C031C #1C031C #3F0640 #760B78 #AD10B0

Accessibility & contrast

On white

16.01
#3F0640 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F0640
16.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F0640#FFFFFF#000000##FFFFFF
##3F06401.0016.011.3116.01
#FFFFFF16.011.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D41
Deuteranopia (green-blind)
#16243F
Tritanopia (blue-blind)
#411023
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #3f0640;
/* rgb */ color: rgb(63, 6, 64);
/* oklch */ color: oklch(26.5% 0.112 327.4);
Tailwind
colors: {
  custom: {
    50: '#774e75',
    500: '#3f0640',
    950: '#000000',
  },
}
SCSS
$custom: #3f0640;
$custom-light: #774e75;
$custom-dark: #000000;
JSON
{
  "hex": "#3f0640",
  "rgb": {
    "r": 63,
    "g": 6,
    "b": 64
  },
  "hsl": {
    "h": 298.966,
    "s": 82.857,
    "l": 13.725
  },
  "oklch": {
    "l": 0.26461,
    "c": 0.11153,
    "h": 327.4
  },
  "luminance": 0.01557
}

Semantic roles & 50–950 ramp

primary
#3F0640
secondary
#248022
accent
#F92F32
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#090208
muted
#7B787B

Preview Lab

Preview with #3F0640

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

Preview Lab → · Contrast checker → · Palette generator →

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