#3F154A#3F154A

#3F154A is a dark, moderate purple. Relative luminance 0.021; OKLCH L 28.8% C 0.101 H 318.7°. Best body text is #FFFFFF at 14.81:1 contrast (WCAG AA passes).

Color values

HEX#3F154A
RGBrgb(63, 21, 74)
HSLhsl(288, 56%, 19%)
HSVhsv(288, 72%, 29%)
CMYKcmyk(14.9%, 71.6%, 0%, 71%)
CIE-LABlab(15.94, 29.52, -23.86)
CIE-LCHlch(15.94, 37.96, 321.05°)
OKLaboklab(28.81% 0.0759 -0.0667)
OKLCHoklch(28.81% 0.101 318.7)
XYZxyz(3.5539, 2.0877, 6.6930)
Luminance0.0209 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F154A #204A15
analogous
#24154A #3F154A #4A153A
triadic
#3F154A #4A3F15 #154A3F
tetradic
#3F154A #4A2415 #204A15 #153A4A
square
#3F154A #4A2415 #204A15 #153A4A
split-complementary
#3F154A #3A4A15 #154A24
monochromatic
#140718 #16071A #3F154A #68237A #9030A9

Accessibility & contrast

On white

14.81
#3F154A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#3F154A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F154A
14.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F154A#FFFFFF#000000##FFFFFF
##3F154A1.0014.811.4214.81
#FFFFFF14.811.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05254C
Deuteranopia (green-blind)
#182949
Tritanopia (blue-blind)
#3F1E2D
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #3f154a;
/* rgb */ color: rgb(63, 21, 74);
/* oklch */ color: oklch(28.8% 0.101 318.7);
Tailwind
colors: {
  custom: {
    50: '#76567d',
    500: '#3f154a',
    950: '#000000',
  },
}
SCSS
$custom: #3f154a;
$custom-light: #76567d;
$custom-dark: #000000;
JSON
{
  "hex": "#3f154a",
  "rgb": {
    "r": 63,
    "g": 21,
    "b": 74
  },
  "hsl": {
    "h": 287.547,
    "s": 55.789,
    "l": 18.627
  },
  "oklch": {
    "l": 0.2881,
    "c": 0.10108,
    "h": 318.7
  },
  "luminance": 0.02088
}

Semantic roles & 50–950 ramp

primary
#3F154A
secondary
#488239
accent
#DF4968
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#090309
muted
#7B787B

Preview Lab

Preview with #3F154A

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

Preview Lab → · Contrast checker → · Palette generator →

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