#3F0E40#3F0E40

#3F0E40 is a dark, moderate purple. Relative luminance 0.017; OKLCH L 27.2% C 0.101 H 327.1°. Best body text is #FFFFFF at 15.58:1 contrast (WCAG AA passes).

Color values

HEX#3F0E40
RGBrgb(63, 14, 64)
HSLhsl(299, 64%, 15%)
HSVhsv(299, 78%, 25%)
CMYKcmyk(1.6%, 78.1%, 0%, 74.9%)
CIE-LABlab(14.07, 30.71, -19.88)
CIE-LCHlch(14.07, 36.58, 327.08°)
OKLaboklab(27.24% 0.0851 -0.0551)
OKLCHoklch(27.24% 0.101 327.1)
XYZxyz(3.1323, 1.7412, 5.0206)
Luminance0.0174 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F0E40 #0F400E
analogous
#260E40 #3F0E40 #400E28
triadic
#3F0E40 #403F0E #0E403F
tetradic
#3F0E40 #40260E #0F400E #0E2840
square
#3F0E40 #40260E #0F400E #0E2840
split-complementary
#3F0E40 #28400E #0E4026
monochromatic
#190519 #190519 #3F0E40 #701972 #A224A4

Accessibility & contrast

On white

15.58
#3F0E40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#3F0E40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F0E40
15.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F0E40#FFFFFF#000000##FFFFFF
##3F0E401.0015.581.3515.58
#FFFFFF15.581.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#062041
Deuteranopia (green-blind)
#1A263F
Tritanopia (blue-blind)
#411525
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #3f0e40;
/* rgb */ color: rgb(63, 14, 64);
/* oklch */ color: oklch(27.2% 0.101 327.1);
Tailwind
colors: {
  custom: {
    50: '#765275',
    500: '#3f0e40',
    950: '#000000',
  },
}
SCSS
$custom: #3f0e40;
$custom-light: #765275;
$custom-dark: #000000;
JSON
{
  "hex": "#3f0e40",
  "rgb": {
    "r": 63,
    "g": 14,
    "b": 64
  },
  "hsl": {
    "h": 298.8,
    "s": 64.103,
    "l": 15.294
  },
  "oklch": {
    "l": 0.27244,
    "c": 0.10137,
    "h": 327.1
  },
  "luminance": 0.01741
}

Semantic roles & 50–950 ramp

primary
#3F0E40
secondary
#307B2F
accent
#E74144
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#090208
muted
#7B787B

Preview Lab

Preview with #3F0E40

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

Preview Lab → · Contrast checker → · Palette generator →

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