#3F104C#3F104C

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

Color values

HEX#3F104C
RGBrgb(63, 16, 76)
HSLhsl(287, 65%, 18%)
HSVhsv(287, 79%, 30%)
CMYKcmyk(17.1%, 78.9%, 0%, 70.2%)
CIE-LABlab(15.22, 32.41, -26.39)
CIE-LCHlch(15.22, 41.79, 320.84°)
OKLaboklab(28.34% 0.0822 -0.0741)
OKLCHoklch(28.34% 0.111 317.9)
XYZxyz(3.5395, 1.9493, 7.0259)
Luminance0.0195 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F104C #1D4C10
analogous
#21104C #3F104C #4C103B
triadic
#3F104C #4C3F10 #104C3F
tetradic
#3F104C #4C2110 #1D4C10 #103B4C
square
#3F104C #4C2110 #1D4C10 #103B4C
split-complementary
#3F104C #3B4C10 #104C21
monochromatic
#150519 #150519 #3F104C #691B7F #9325B1

Accessibility & contrast

On white

15.11
#3F104C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F104C
15.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F104C#FFFFFF#000000##FFFFFF
##3F104C1.0015.111.3915.11
#FFFFFF15.111.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00234E
Deuteranopia (green-blind)
#12284B
Tritanopia (blue-blind)
#3F1C2D
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #3f104c;
/* rgb */ color: rgb(63, 16, 76);
/* oklch */ color: oklch(28.3% 0.111 317.9);
Tailwind
colors: {
  custom: {
    50: '#77537e',
    500: '#3f104c',
    950: '#000000',
  },
}
SCSS
$custom: #3f104c;
$custom-light: #77537e;
$custom-dark: #000000;
JSON
{
  "hex": "#3f104c",
  "rgb": {
    "r": 63,
    "g": 16,
    "b": 76
  },
  "hsl": {
    "h": 287,
    "s": 65.217,
    "l": 18.039
  },
  "oklch": {
    "l": 0.28339,
    "c": 0.11065,
    "h": 317.9
  },
  "luminance": 0.01949
}

Semantic roles & 50–950 ramp

primary
#3F104C
secondary
#448632
accent
#E84064
background
#F7F4F7
surface
#EDE8EE
border
#C8C4C9
text
#09030A
muted
#7B787C

Preview Lab

Preview with #3F104C

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

Preview Lab → · Contrast checker → · Palette generator →

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