#3F0740#3F0740

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

Color values

HEX#3F0740
RGBrgb(63, 7, 64)
HSLhsl(299, 80%, 14%)
HSVhsv(299, 89%, 25%)
CMYKcmyk(1.6%, 89.1%, 0%, 74.9%)
CIE-LABlab(13.10, 33.47, -21.41)
CIE-LCHlch(13.10, 39.73, 327.39°)
OKLaboklab(26.56% 0.0929 -0.0595)
OKLCHoklch(26.56% 0.11 327.4)
XYZxyz(3.0512, 1.5791, 4.9936)
Luminance0.0158 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F0740 #084007
analogous
#230740 #3F0740 #400725
triadic
#3F0740 #403F07 #07403F
tetradic
#3F0740 #402307 #084007 #072540
square
#3F0740 #402307 #084007 #072540
split-complementary
#3F0740 #254007 #074023
monochromatic
#1B031C #1B031C #3F0740 #750D77 #AC13AE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3F0740#FFFFFF#000000##FFFFFF
##3F07401.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)
#001D41
Deuteranopia (green-blind)
#17243F
Tritanopia (blue-blind)
#411124
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #3f0740;
/* rgb */ color: rgb(63, 7, 64);
/* oklch */ color: oklch(26.6% 0.110 327.4);
Tailwind
colors: {
  custom: {
    50: '#774f75',
    500: '#3f0740',
    950: '#000000',
  },
}
SCSS
$custom: #3f0740;
$custom-light: #774f75;
$custom-dark: #000000;
JSON
{
  "hex": "#3f0740",
  "rgb": {
    "r": 63,
    "g": 7,
    "b": 64
  },
  "hsl": {
    "h": 298.947,
    "s": 80.282,
    "l": 13.922
  },
  "oklch": {
    "l": 0.26556,
    "c": 0.11027,
    "h": 327.4
  },
  "luminance": 0.01579
}

Semantic roles & 50–950 ramp

primary
#3F0740
secondary
#257F24
accent
#F73135
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#090208
muted
#7B787B

Preview Lab

Preview with #3F0740

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

Preview Lab → · Contrast checker → · Palette generator →

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