#3F154D#3F154D

#3F154D is a dark, moderate purple. Relative luminance 0.021; OKLCH L 29.0% C 0.104 H 316.6°. Best body text is #FFFFFF at 14.73:1 contrast (WCAG AA passes).

Color values

HEX#3F154D
RGBrgb(63, 21, 77)
HSLhsl(285, 57%, 19%)
HSVhsv(285, 73%, 30%)
CMYKcmyk(18.2%, 72.7%, 0%, 69.8%)
CIE-LABlab(16.15, 30.22, -25.59)
CIE-LCHlch(16.15, 39.60, 319.75°)
OKLaboklab(29.03% 0.0758 -0.0718)
OKLCHoklch(29.03% 0.104 316.6)
XYZxyz(3.6574, 2.1291, 7.2380)
Luminance0.0213 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F154D #234D15
analogous
#23154D #3F154D #4D153F
triadic
#3F154D #4D3F15 #154D3F
tetradic
#3F154D #4D2315 #234D15 #153F4D
square
#3F154D #4D2315 #234D15 #153F4D
split-complementary
#3F154D #3F4D15 #154D23
monochromatic
#140718 #18081D #3F154D #66227D #8E2FAD

Accessibility & contrast

On white

14.73
#3F154D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#3F154D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F154D
14.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F154D#FFFFFF#000000##FFFFFF
##3F154D1.0014.731.4314.73
#FFFFFF14.731.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01264F
Deuteranopia (green-blind)
#16294C
Tritanopia (blue-blind)
#3E1F2F
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #3f154d;
/* rgb */ color: rgb(63, 21, 77);
/* oklch */ color: oklch(29.0% 0.104 316.6);
Tailwind
colors: {
  custom: {
    50: '#76567f',
    500: '#3f154d',
    950: '#000000',
  },
}
SCSS
$custom: #3f154d;
$custom-light: #76567f;
$custom-dark: #000000;
JSON
{
  "hex": "#3f154d",
  "rgb": {
    "r": 63,
    "g": 21,
    "b": 77
  },
  "hsl": {
    "h": 285,
    "s": 57.143,
    "l": 19.216
  },
  "oklch": {
    "l": 0.29029,
    "c": 0.10442,
    "h": 316.6
  },
  "luminance": 0.02129
}

Semantic roles & 50–950 ramp

primary
#3F154D
secondary
#4C8539
accent
#E0476E
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#09030A
muted
#7B787C

Preview Lab

Preview with #3F154D

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

Preview Lab → · Contrast checker → · Palette generator →

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