#3F154E#3F154E

#3F154E is a dark, moderate purple. Relative luminance 0.021; OKLCH L 29.1% C 0.106 H 315.9°. Best body text is #FFFFFF at 14.70:1 contrast (WCAG AA passes).

Color values

HEX#3F154E
RGBrgb(63, 21, 78)
HSLhsl(284, 58%, 19%)
HSVhsv(284, 73%, 31%)
CMYKcmyk(19.2%, 73.1%, 0%, 69.4%)
CIE-LABlab(16.22, 30.46, -26.16)
CIE-LCHlch(16.22, 40.15, 319.35°)
OKLaboklab(29.1% 0.0758 -0.0735)
OKLCHoklch(29.1% 0.106 315.9)
XYZxyz(3.6930, 2.1433, 7.4254)
Luminance0.0214 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F154E #244E15
analogous
#23154E #3F154E #4E1541
triadic
#3F154E #4E3F15 #154E3F
tetradic
#3F154E #4E2315 #244E15 #15414E
square
#3F154E #4E2315 #244E15 #15414E
split-complementary
#3F154E #414E15 #154E23
monochromatic
#130618 #18081E #3F154E #66227E #8D2FAE

Accessibility & contrast

On white

14.70
#3F154E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F154E
14.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F154E#FFFFFF#000000##FFFFFF
##3F154E1.0014.701.4314.70
#FFFFFF14.701.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002650
Deuteranopia (green-blind)
#15294D
Tritanopia (blue-blind)
#3E202F
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #3f154e;
/* rgb */ color: rgb(63, 21, 78);
/* oklch */ color: oklch(29.1% 0.106 315.9);
Tailwind
colors: {
  custom: {
    50: '#765680',
    500: '#3f154e',
    950: '#000000',
  },
}
SCSS
$custom: #3f154e;
$custom-light: #765680;
$custom-dark: #000000;
JSON
{
  "hex": "#3f154e",
  "rgb": {
    "r": 63,
    "g": 21,
    "b": 78
  },
  "hsl": {
    "h": 284.211,
    "s": 57.576,
    "l": 19.412
  },
  "oklch": {
    "l": 0.29103,
    "c": 0.10554,
    "h": 315.9
  },
  "luminance": 0.02143
}

Semantic roles & 50–950 ramp

primary
#3F154E
secondary
#4D8639
accent
#E1476F
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#09030A
muted
#7B787C

Preview Lab

Preview with #3F154E

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

Preview Lab → · Contrast checker → · Palette generator →

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