#3F0E57#3F0E57

#3F0E57 is a dark, vivid purple. Relative luminance 0.021; OKLCH L 29.0% C 0.125 H 311.4°. Best body text is #FFFFFF at 14.87:1 contrast (WCAG AA passes).

Color values

HEX#3F0E57
RGBrgb(63, 14, 87)
HSLhsl(280, 72%, 20%)
HSVhsv(280, 84%, 34%)
CMYKcmyk(27.6%, 83.9%, 0%, 65.9%)
CIE-LABlab(15.79, 35.81, -32.96)
CIE-LCHlch(15.79, 48.67, 317.37°)
OKLaboklab(29.02% 0.0825 -0.0934)
OKLCHoklch(29.02% 0.125 311.4)
XYZxyz(3.9269, 2.0591, 9.2056)
Luminance0.0206 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F0E57 #26570E
analogous
#1B0E57 #3F0E57 #570E4B
triadic
#3F0E57 #573F0E #0E573F
tetradic
#3F0E57 #571B0E #26570E #0E4B57
square
#3F0E57 #571B0E #26570E #0E4B57
split-complementary
#3F0E57 #4B570E #0E571B
monochromatic
#13041A #190622 #3F0E57 #65168C #8B1FC0

Accessibility & contrast

On white

14.87
#3F0E57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#3F0E57 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F0E57
14.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F0E57#FFFFFF#000000##FFFFFF
##3F0E571.0014.871.4114.87
#FFFFFF14.871.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002559
Deuteranopia (green-blind)
#012855
Tritanopia (blue-blind)
#3C2032
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #3f0e57;
/* rgb */ color: rgb(63, 14, 87);
/* oklch */ color: oklch(29.0% 0.125 311.4);
Tailwind
colors: {
  custom: {
    50: '#775387',
    500: '#3f0e57',
    950: '#000000',
  },
}
SCSS
$custom: #3f0e57;
$custom-light: #775387;
$custom-dark: #000000;
JSON
{
  "hex": "#3f0e57",
  "rgb": {
    "r": 63,
    "g": 14,
    "b": 87
  },
  "hsl": {
    "h": 280.274,
    "s": 72.277,
    "l": 19.804
  },
  "oklch": {
    "l": 0.29022,
    "c": 0.12458,
    "h": 311.4
  },
  "luminance": 0.02059
}

Semantic roles & 50–950 ramp

primary
#3F0E57
secondary
#509130
accent
#EF3975
background
#F7F4F8
surface
#EDE8EF
border
#C8C4CA
text
#09030B
muted
#7B787C

Preview Lab

Preview with #3F0E57

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

Preview Lab → · Contrast checker → · Palette generator →

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