#3F0A47#3F0A47

#3F0A47 is a dark, moderate purple. Relative luminance 0.017; OKLCH L 27.4% C 0.113 H 322.0°. Best body text is #FFFFFF at 15.60:1 contrast (WCAG AA passes).

Color values

HEX#3F0A47
RGBrgb(63, 10, 71)
HSLhsl(292, 75%, 16%)
HSVhsv(292, 86%, 28%)
CMYKcmyk(11.3%, 85.9%, 0%, 72.2%)
CIE-LABlab(14.00, 33.75, -24.90)
CIE-LCHlch(14.00, 41.94, 323.59°)
OKLaboklab(27.35% 0.0891 -0.0697)
OKLCHoklch(27.35% 0.113 322)
XYZxyz(3.2957, 1.7290, 6.1201)
Luminance0.0173 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F0A47 #12470A
analogous
#200A47 #3F0A47 #470A30
triadic
#3F0A47 #473F0A #0A473F
tetradic
#3F0A47 #47200A #12470A #0A3047
square
#3F0A47 #47200A #12470A #0A3047
split-complementary
#3F0A47 #30470A #0A4720
monochromatic
#18041B #18041B #3F0A47 #6F127D #9E19B2

Accessibility & contrast

On white

15.60
#3F0A47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F0A47
15.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F0A47#FFFFFF#000000##FFFFFF
##3F0A471.0015.601.3515.60
#FFFFFF15.601.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002049
Deuteranopia (green-blind)
#132646
Tritanopia (blue-blind)
#401628
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #3f0a47;
/* rgb */ color: rgb(63, 10, 71);
/* oklch */ color: oklch(27.4% 0.113 322.0);
Tailwind
colors: {
  custom: {
    50: '#77517a',
    500: '#3f0a47',
    950: '#000000',
  },
}
SCSS
$custom: #3f0a47;
$custom-light: #77517a;
$custom-dark: #000000;
JSON
{
  "hex": "#3f0a47",
  "rgb": {
    "r": 63,
    "g": 10,
    "b": 71
  },
  "hsl": {
    "h": 292.131,
    "s": 75.309,
    "l": 15.882
  },
  "oklch": {
    "l": 0.2735,
    "c": 0.11316,
    "h": 322
  },
  "luminance": 0.01729
}

Semantic roles & 50–950 ramp

primary
#3F0A47
secondary
#358429
accent
#F2364F
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#090209
muted
#7B787B

Preview Lab

Preview with #3F0A47

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

Preview Lab → · Contrast checker → · Palette generator →

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