#3F0A46#3F0A46

#3F0A46 is a dark, moderate purple. Relative luminance 0.017; OKLCH L 27.3% C 0.112 H 322.7°. Best body text is #FFFFFF at 15.63:1 contrast (WCAG AA passes).

Color values

HEX#3F0A46
RGBrgb(63, 10, 70)
HSLhsl(293, 75%, 16%)
HSVhsv(293, 86%, 27%)
CMYKcmyk(10%, 85.7%, 0%, 72.5%)
CIE-LABlab(13.92, 33.55, -24.32)
CIE-LCHlch(13.92, 41.43, 324.06°)
OKLaboklab(27.28% 0.0893 -0.068)
OKLCHoklch(27.28% 0.112 322.7)
XYZxyz(3.2638, 1.7162, 5.9525)
Luminance0.0172 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F0A46 #11460A
analogous
#210A46 #3F0A46 #460A2F
triadic
#3F0A46 #463F0A #0A463F
tetradic
#3F0A46 #46210A #11460A #0A2F46
square
#3F0A46 #46210A #11460A #0A2F46
split-complementary
#3F0A46 #2F460A #0A4621
monochromatic
#18041B #18041B #3F0A46 #6F127C #9F19B1

Accessibility & contrast

On white

15.63
#3F0A46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F0A46
15.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F0A46#FFFFFF#000000##FFFFFF
##3F0A461.0015.631.3415.63
#FFFFFF15.631.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002048
Deuteranopia (green-blind)
#142545
Tritanopia (blue-blind)
#401628
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #3f0a46;
/* rgb */ color: rgb(63, 10, 70);
/* oklch */ color: oklch(27.3% 0.112 322.7);
Tailwind
colors: {
  custom: {
    50: '#77507a',
    500: '#3f0a46',
    950: '#000000',
  },
}
SCSS
$custom: #3f0a46;
$custom-light: #77507a;
$custom-dark: #000000;
JSON
{
  "hex": "#3f0a46",
  "rgb": {
    "r": 63,
    "g": 10,
    "b": 70
  },
  "hsl": {
    "h": 293,
    "s": 75,
    "l": 15.686
  },
  "oklch": {
    "l": 0.27275,
    "c": 0.11221,
    "h": 322.7
  },
  "luminance": 0.01716
}

Semantic roles & 50–950 ramp

primary
#3F0A46
secondary
#338329
accent
#F2364C
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#090209
muted
#7B787B

Preview Lab

Preview with #3F0A46

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

Preview Lab → · Contrast checker → · Palette generator →

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