#3F0742#3F0742

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

Color values

HEX#3F0742
RGBrgb(63, 7, 66)
HSLhsl(297, 81%, 14%)
HSVhsv(297, 89%, 26%)
CMYKcmyk(4.5%, 89.4%, 0%, 74.1%)
CIE-LABlab(13.24, 33.86, -22.60)
CIE-LCHlch(13.24, 40.71, 326.28°)
OKLaboklab(26.7% 0.0927 -0.063)
OKLCHoklch(26.7% 0.112 325.8)
XYZxyz(3.1092, 1.6023, 5.2987)
Luminance0.0160 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F0742 #0A4207
analogous
#220742 #3F0742 #420728
triadic
#3F0742 #423F07 #07423F
tetradic
#3F0742 #422207 #0A4207 #072842
square
#3F0742 #422207 #0A4207 #072842
split-complementary
#3F0742 #284207 #074222
monochromatic
#1A031C #1A031C #3F0742 #740D79 #A913B1

Accessibility & contrast

On white

15.90
#3F0742 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F0742
15.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F0742#FFFFFF#000000##FFFFFF
##3F07421.0015.901.3215.90
#FFFFFF15.901.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3f0742;
/* rgb */ color: rgb(63, 7, 66);
/* oklch */ color: oklch(26.7% 0.112 325.8);
Tailwind
colors: {
  custom: {
    50: '#774f77',
    500: '#3f0742',
    950: '#000000',
  },
}
SCSS
$custom: #3f0742;
$custom-light: #774f77;
$custom-dark: #000000;
JSON
{
  "hex": "#3f0742",
  "rgb": {
    "r": 63,
    "g": 7,
    "b": 66
  },
  "hsl": {
    "h": 296.949,
    "s": 80.822,
    "l": 14.314
  },
  "oklch": {
    "l": 0.26701,
    "c": 0.11205,
    "h": 325.8
  },
  "luminance": 0.01602
}

Semantic roles & 50–950 ramp

primary
#3F0742
secondary
#298124
accent
#F7313B
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#090208
muted
#7B787B

Preview Lab

Preview with #3F0742

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

Preview Lab → · Contrast checker → · Palette generator →

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