#3F0A41#3F0A41

#3F0A41 is a dark, moderate purple. Relative luminance 0.017; OKLCH L 26.9% C 0.108 H 326.5°. Best body text is #FFFFFF at 15.78:1 contrast (WCAG AA passes).

Color values

HEX#3F0A41
RGBrgb(63, 10, 65)
HSLhsl(298, 73%, 15%)
HSVhsv(298, 85%, 25%)
CMYKcmyk(3.1%, 84.6%, 0%, 74.5%)
CIE-LABlab(13.57, 32.53, -21.38)
CIE-LCHlch(13.57, 38.93, 326.68°)
OKLaboklab(26.91% 0.0896 -0.0594)
OKLCHoklch(26.91% 0.108 326.5)
XYZxyz(3.1125, 1.6557, 5.1556)
Luminance0.0165 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F0A41 #0C410A
analogous
#240A41 #3F0A41 #410A28
triadic
#3F0A41 #413F0A #0A413F
tetradic
#3F0A41 #41240A #0C410A #0A2841
square
#3F0A41 #41240A #0C410A #0A2841
split-complementary
#3F0A41 #28410A #0A4124
monochromatic
#1A041B #1A041B #3F0A41 #721276 #A61AAB

Accessibility & contrast

On white

15.78
#3F0A41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#3F0A41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F0A41
15.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F0A41#FFFFFF#000000##FFFFFF
##3F0A411.0015.781.3315.78
#FFFFFF15.781.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E42
Deuteranopia (green-blind)
#172540
Tritanopia (blue-blind)
#411325
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #3f0a41;
/* rgb */ color: rgb(63, 10, 65);
/* oklch */ color: oklch(26.9% 0.108 326.5);
Tailwind
colors: {
  custom: {
    50: '#765076',
    500: '#3f0a41',
    950: '#000000',
  },
}
SCSS
$custom: #3f0a41;
$custom-light: #765076;
$custom-dark: #000000;
JSON
{
  "hex": "#3f0a41",
  "rgb": {
    "r": 63,
    "g": 10,
    "b": 65
  },
  "hsl": {
    "h": 297.818,
    "s": 73.333,
    "l": 14.706
  },
  "oklch": {
    "l": 0.26907,
    "c": 0.10752,
    "h": 326.5
  },
  "luminance": 0.01655
}

Semantic roles & 50–950 ramp

primary
#3F0A41
secondary
#2C7E29
accent
#F0383E
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#090208
muted
#7B787B

Preview Lab

Preview with #3F0A41

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

Preview Lab → · Contrast checker → · Palette generator →

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