#3F104B#3F104B

#3F104B is a dark, moderate purple. Relative luminance 0.019; OKLCH L 28.3% C 0.110 H 318.6°. Best body text is #FFFFFF at 15.14:1 contrast (WCAG AA passes).

Color values

HEX#3F104B
RGBrgb(63, 16, 75)
HSLhsl(288, 65%, 18%)
HSVhsv(288, 79%, 29%)
CMYKcmyk(16%, 78.7%, 0%, 70.6%)
CIE-LABlab(15.15, 32.18, -25.82)
CIE-LCHlch(15.15, 41.26, 321.25°)
OKLaboklab(28.26% 0.0823 -0.0724)
OKLCHoklch(28.26% 0.11 318.6)
XYZxyz(3.5050, 1.9355, 6.8442)
Luminance0.0193 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F104B #1C4B10
analogous
#22104B #3F104B #4B1039
triadic
#3F104B #4B3F10 #104B3F
tetradic
#3F104B #4B2210 #1C4B10 #10394B
square
#3F104B #4B2210 #1C4B10 #10394B
split-complementary
#3F104B #394B10 #104B22
monochromatic
#150519 #150519 #3F104B #691B7D #9426B0

Accessibility & contrast

On white

15.14
#3F104B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#3F104B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F104B
15.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F104B#FFFFFF#000000##FFFFFF
##3F104B1.0015.141.3915.14
#FFFFFF15.141.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00234D
Deuteranopia (green-blind)
#13274A
Tritanopia (blue-blind)
#3F1C2C
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #3f104b;
/* rgb */ color: rgb(63, 16, 75);
/* oklch */ color: oklch(28.3% 0.110 318.6);
Tailwind
colors: {
  custom: {
    50: '#76537e',
    500: '#3f104b',
    950: '#000000',
  },
}
SCSS
$custom: #3f104b;
$custom-light: #76537e;
$custom-dark: #000000;
JSON
{
  "hex": "#3f104b",
  "rgb": {
    "r": 63,
    "g": 16,
    "b": 75
  },
  "hsl": {
    "h": 287.797,
    "s": 64.835,
    "l": 17.843
  },
  "oklch": {
    "l": 0.28262,
    "c": 0.10961,
    "h": 318.6
  },
  "luminance": 0.01935
}

Semantic roles & 50–950 ramp

primary
#3F104B
secondary
#438532
accent
#E84062
background
#F7F4F7
surface
#EDE8EE
border
#C8C4C9
text
#09030A
muted
#7B787C

Preview Lab

Preview with #3F104B

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

Preview Lab → · Contrast checker → · Palette generator →

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