#3F0C41#3F0C41

#3F0C41 is a dark, moderate purple. Relative luminance 0.017; OKLCH L 27.1% C 0.105 H 326.4°. Best body text is #FFFFFF at 15.67:1 contrast (WCAG AA passes).

Color values

HEX#3F0C41
RGBrgb(63, 12, 65)
HSLhsl(298, 69%, 15%)
HSVhsv(298, 82%, 25%)
CMYKcmyk(3.1%, 81.5%, 0%, 74.5%)
CIE-LABlab(13.84, 31.75, -20.95)
CIE-LCHlch(13.84, 38.04, 326.58°)
OKLaboklab(27.1% 0.0875 -0.0582)
OKLCHoklch(27.1% 0.105 326.4)
XYZxyz(3.1354, 1.7016, 5.1633)
Luminance0.0170 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F0C41 #0E410C
analogous
#250C41 #3F0C41 #410C28
triadic
#3F0C41 #413F0C #0C413F
tetradic
#3F0C41 #41250C #0E410C #0C2841
square
#3F0C41 #41250C #0E410C #0C2841
split-complementary
#3F0C41 #28410C #0C4125
monochromatic
#19051A #19051A #3F0C41 #711675 #A31FA8

Accessibility & contrast

On white

15.67
#3F0C41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F0C41
15.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F0C41#FFFFFF#000000##FFFFFF
##3F0C411.0015.671.3415.67
#FFFFFF15.671.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021F42
Deuteranopia (green-blind)
#182540
Tritanopia (blue-blind)
#411525
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #3f0c41;
/* rgb */ color: rgb(63, 12, 65);
/* oklch */ color: oklch(27.1% 0.105 326.4);
Tailwind
colors: {
  custom: {
    50: '#765176',
    500: '#3f0c41',
    950: '#000000',
  },
}
SCSS
$custom: #3f0c41;
$custom-light: #765176;
$custom-dark: #000000;
JSON
{
  "hex": "#3f0c41",
  "rgb": {
    "r": 63,
    "g": 12,
    "b": 65
  },
  "hsl": {
    "h": 297.736,
    "s": 68.831,
    "l": 15.098
  },
  "oklch": {
    "l": 0.271,
    "c": 0.10504,
    "h": 326.4
  },
  "luminance": 0.01701
}

Semantic roles & 50–950 ramp

primary
#3F0C41
secondary
#2F7D2C
accent
#EC3C43
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#090208
muted
#7B787B

Preview Lab

Preview with #3F0C41

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

Preview Lab → · Contrast checker → · Palette generator →

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