#3F104D#3F104D

#3F104D is a dark, moderate purple. Relative luminance 0.020; OKLCH L 28.4% C 0.112 H 317.3°. Best body text is #FFFFFF at 15.08:1 contrast (WCAG AA passes).

Color values

HEX#3F104D
RGBrgb(63, 16, 77)
HSLhsl(286, 66%, 18%)
HSVhsv(286, 79%, 30%)
CMYKcmyk(18.2%, 79.2%, 0%, 69.8%)
CIE-LABlab(15.29, 32.63, -26.96)
CIE-LCHlch(15.29, 42.33, 320.44°)
OKLaboklab(28.42% 0.0821 -0.0758)
OKLCHoklch(28.42% 0.112 317.3)
XYZxyz(3.5745, 1.9633, 7.2104)
Luminance0.0196 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F104D #1E4D10
analogous
#21104D #3F104D #4D103C
triadic
#3F104D #4D3F10 #104D3F
tetradic
#3F104D #4D2110 #1E4D10 #103C4D
square
#3F104D #4D2110 #1E4D10 #103C4D
split-complementary
#3F104D #3C4D10 #104D21
monochromatic
#150519 #16051A #3F104D #681B80 #9225B2

Accessibility & contrast

On white

15.08
#3F104D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F104D
15.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F104D#FFFFFF#000000##FFFFFF
##3F104D1.0015.081.3915.08
#FFFFFF15.081.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00234F
Deuteranopia (green-blind)
#11284C
Tritanopia (blue-blind)
#3E1C2D
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #3f104d;
/* rgb */ color: rgb(63, 16, 77);
/* oklch */ color: oklch(28.4% 0.112 317.3);
Tailwind
colors: {
  custom: {
    50: '#77537f',
    500: '#3f104d',
    950: '#000000',
  },
}
SCSS
$custom: #3f104d;
$custom-light: #77537f;
$custom-dark: #000000;
JSON
{
  "hex": "#3f104d",
  "rgb": {
    "r": 63,
    "g": 16,
    "b": 77
  },
  "hsl": {
    "h": 286.23,
    "s": 65.591,
    "l": 18.235
  },
  "oklch": {
    "l": 0.28416,
    "c": 0.11169,
    "h": 317.3
  },
  "luminance": 0.01963
}

Semantic roles & 50–950 ramp

primary
#3F104D
secondary
#458732
accent
#E93F66
background
#F7F4F7
surface
#EDE8EE
border
#C8C4C9
text
#09030A
muted
#7B787C

Preview Lab

Preview with #3F104D

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

Preview Lab → · Contrast checker → · Palette generator →

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