#3F0C40#3F0C40

#3F0C40 is a dark, moderate purple. Relative luminance 0.017; OKLCH L 27.0% C 0.104 H 327.2°. Best body text is #FFFFFF at 15.70:1 contrast (WCAG AA passes).

Color values

HEX#3F0C40
RGBrgb(63, 12, 64)
HSLhsl(299, 68%, 15%)
HSVhsv(299, 81%, 25%)
CMYKcmyk(1.6%, 81.2%, 0%, 74.9%)
CIE-LABlab(13.77, 31.55, -20.35)
CIE-LCHlch(13.77, 37.55, 327.18°)
OKLaboklab(27.03% 0.0875 -0.0564)
OKLCHoklch(27.03% 0.104 327.2)
XYZxyz(3.1067, 1.6901, 5.0121)
Luminance0.0169 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F0C40 #0D400C
analogous
#250C40 #3F0C40 #400C27
triadic
#3F0C40 #403F0C #0C403F
tetradic
#3F0C40 #40250C #0D400C #0C2740
square
#3F0C40 #40250C #0D400C #0C2740
split-complementary
#3F0C40 #27400C #0C4025
monochromatic
#19051A #19051A #3F0C40 #721674 #A41FA7

Accessibility & contrast

On white

15.70
#3F0C40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#3F0C40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F0C40
15.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F0C40#FFFFFF#000000##FFFFFF
##3F0C401.0015.701.3415.70
#FFFFFF15.701.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031F41
Deuteranopia (green-blind)
#19253F
Tritanopia (blue-blind)
#411425
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #3f0c40;
/* rgb */ color: rgb(63, 12, 64);
/* oklch */ color: oklch(27.0% 0.104 327.2);
Tailwind
colors: {
  custom: {
    50: '#765175',
    500: '#3f0c40',
    950: '#000000',
  },
}
SCSS
$custom: #3f0c40;
$custom-light: #765175;
$custom-dark: #000000;
JSON
{
  "hex": "#3f0c40",
  "rgb": {
    "r": 63,
    "g": 12,
    "b": 64
  },
  "hsl": {
    "h": 298.846,
    "s": 68.421,
    "l": 14.902
  },
  "oklch": {
    "l": 0.27031,
    "c": 0.1041,
    "h": 327.2
  },
  "luminance": 0.0169
}

Semantic roles & 50–950 ramp

primary
#3F0C40
secondary
#2D7C2C
accent
#EB3D40
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#090208
muted
#7B787B

Preview Lab

Preview with #3F0C40

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

Preview Lab → · Contrast checker → · Palette generator →

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