#3F0A42#3F0A42

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

Color values

HEX#3F0A42
RGBrgb(63, 10, 66)
HSLhsl(297, 74%, 15%)
HSVhsv(297, 85%, 26%)
CMYKcmyk(4.5%, 84.8%, 0%, 74.1%)
CIE-LABlab(13.63, 32.73, -21.97)
CIE-LCHlch(13.63, 39.42, 326.12°)
OKLaboklab(26.98% 0.0896 -0.0611)
OKLCHoklch(26.98% 0.108 325.7)
XYZxyz(3.1417, 1.6674, 5.3096)
Luminance0.0167 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F0A42 #0D420A
analogous
#230A42 #3F0A42 #420A29
triadic
#3F0A42 #423F0A #0A423F
tetradic
#3F0A42 #42230A #0D420A #0A2942
square
#3F0A42 #42230A #0D420A #0A2942
split-complementary
#3F0A42 #29420A #0A4223
monochromatic
#19041B #19041B #3F0A42 #721277 #A41AAC

Accessibility & contrast

On white

15.75
#3F0A42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F0A42
15.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F0A42#FFFFFF#000000##FFFFFF
##3F0A421.0015.751.3315.75
#FFFFFF15.751.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F44
Deuteranopia (green-blind)
#172541
Tritanopia (blue-blind)
#411425
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #3f0a42;
/* rgb */ color: rgb(63, 10, 66);
/* oklch */ color: oklch(27.0% 0.108 325.7);
Tailwind
colors: {
  custom: {
    50: '#775077',
    500: '#3f0a42',
    950: '#000000',
  },
}
SCSS
$custom: #3f0a42;
$custom-light: #775077;
$custom-dark: #000000;
JSON
{
  "hex": "#3f0a42",
  "rgb": {
    "r": 63,
    "g": 10,
    "b": 66
  },
  "hsl": {
    "h": 296.786,
    "s": 73.684,
    "l": 14.902
  },
  "oklch": {
    "l": 0.26979,
    "c": 0.10845,
    "h": 325.7
  },
  "luminance": 0.01667
}

Semantic roles & 50–950 ramp

primary
#3F0A42
secondary
#2D7F29
accent
#F03741
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#090208
muted
#7B787B

Preview Lab

Preview with #3F0A42

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

Preview Lab → · Contrast checker → · Palette generator →

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