#3F104F#3F104F

#3F104F is a dark, moderate purple. Relative luminance 0.020; OKLCH L 28.6% C 0.114 H 316.0°. Best body text is #FFFFFF at 15.02:1 contrast (WCAG AA passes).

Color values

HEX#3F104F
RGBrgb(63, 16, 79)
HSLhsl(285, 66%, 19%)
HSVhsv(285, 80%, 31%)
CMYKcmyk(20.3%, 79.7%, 0%, 69%)
CIE-LABlab(15.45, 33.09, -28.09)
CIE-LCHlch(15.45, 43.41, 319.68°)
OKLaboklab(28.57% 0.0818 -0.0791)
OKLCHoklch(28.57% 0.114 316)
XYZxyz(3.6463, 1.9920, 7.5880)
Luminance0.0199 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F104F #204F10
analogous
#1F104F #3F104F #4F103F
triadic
#3F104F #4F3F10 #104F3F
tetradic
#3F104F #4F1F10 #204F10 #103F4F
square
#3F104F #4F1F10 #204F10 #103F4F
split-complementary
#3F104F #3F4F10 #104F1F
monochromatic
#140519 #16061C #3F104F #681A82 #9025B5

Accessibility & contrast

On white

15.02
#3F104F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#3F104F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F104F
15.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F104F#FFFFFF#000000##FFFFFF
##3F104F1.0015.021.4015.02
#FFFFFF15.021.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002451
Deuteranopia (green-blind)
#0F284E
Tritanopia (blue-blind)
#3E1D2E
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #3f104f;
/* rgb */ color: rgb(63, 16, 79);
/* oklch */ color: oklch(28.6% 0.114 316.0);
Tailwind
colors: {
  custom: {
    50: '#775481',
    500: '#3f104f',
    950: '#000000',
  },
}
SCSS
$custom: #3f104f;
$custom-light: #775481;
$custom-dark: #000000;
JSON
{
  "hex": "#3f104f",
  "rgb": {
    "r": 63,
    "g": 16,
    "b": 79
  },
  "hsl": {
    "h": 284.762,
    "s": 66.316,
    "l": 18.627
  },
  "oklch": {
    "l": 0.28572,
    "c": 0.11379,
    "h": 316
  },
  "luminance": 0.01992
}

Semantic roles & 50–950 ramp

primary
#3F104F
secondary
#488932
accent
#E93F6A
background
#F7F4F7
surface
#EDE8EE
border
#C8C4C9
text
#09030A
muted
#7B787C

Preview Lab

Preview with #3F104F

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

Preview Lab → · Contrast checker → · Palette generator →

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