#3F104A#3F104A

#3F104A is a dark, moderate purple. Relative luminance 0.019; OKLCH L 28.2% C 0.109 H 319.3°. Best body text is #FFFFFF at 15.17:1 contrast (WCAG AA passes).

Color values

HEX#3F104A
RGBrgb(63, 16, 74)
HSLhsl(289, 64%, 18%)
HSVhsv(289, 78%, 29%)
CMYKcmyk(14.9%, 78.4%, 0%, 71%)
CIE-LABlab(15.07, 31.96, -25.25)
CIE-LCHlch(15.07, 40.73, 321.69°)
OKLaboklab(28.19% 0.0823 -0.0708)
OKLCHoklch(28.19% 0.109 319.3)
XYZxyz(3.4711, 1.9219, 6.6654)
Luminance0.0192 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F104A #1B4A10
analogous
#22104A #3F104A #4A1038
triadic
#3F104A #4A3F10 #104A3F
tetradic
#3F104A #4A2210 #1B4A10 #10384A
square
#3F104A #4A2210 #1B4A10 #10384A
split-complementary
#3F104A #384A10 #104A22
monochromatic
#150519 #150519 #3F104A #6A1B7C #9526AF

Accessibility & contrast

On white

15.17
#3F104A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#3F104A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F104A
15.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F104A#FFFFFF#000000##FFFFFF
##3F104A1.0015.171.3815.17
#FFFFFF15.171.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00234C
Deuteranopia (green-blind)
#142749
Tritanopia (blue-blind)
#3F1B2B
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #3f104a;
/* rgb */ color: rgb(63, 16, 74);
/* oklch */ color: oklch(28.2% 0.109 319.3);
Tailwind
colors: {
  custom: {
    50: '#76537d',
    500: '#3f104a',
    950: '#000000',
  },
}
SCSS
$custom: #3f104a;
$custom-light: #76537d;
$custom-dark: #000000;
JSON
{
  "hex": "#3f104a",
  "rgb": {
    "r": 63,
    "g": 16,
    "b": 74
  },
  "hsl": {
    "h": 288.621,
    "s": 64.444,
    "l": 17.647
  },
  "oklch": {
    "l": 0.28187,
    "c": 0.10857,
    "h": 319.3
  },
  "luminance": 0.01922
}

Semantic roles & 50–950 ramp

primary
#3F104A
secondary
#418432
accent
#E74060
background
#F7F4F7
surface
#EDE8EE
border
#C8C4C9
text
#090309
muted
#7B787B

Preview Lab

Preview with #3F104A

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

Preview Lab → · Contrast checker → · Palette generator →

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