#3F153C#3F153C

#3F153C is a dark, moderate purple. Relative luminance 0.019; OKLCH L 27.9% C 0.086 H 330.5°. Best body text is #FFFFFF at 15.18:1 contrast (WCAG AA passes).

Color values

HEX#3F153C
RGBrgb(63, 21, 60)
HSLhsl(304, 50%, 16%)
HSVhsv(304, 67%, 25%)
CMYKcmyk(0%, 66.7%, 4.8%, 75.3%)
CIE-LABlab(15.06, 26.45, -15.49)
CIE-LCHlch(15.06, 30.65, 329.64°)
OKLaboklab(27.88% 0.075 -0.0425)
OKLCHoklch(27.88% 0.086 330.5)
XYZxyz(3.1337, 1.9196, 4.4795)
Luminance0.0192 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F153C #153F18
analogous
#2D153F #3F153C #3F1527
triadic
#3F153C #3C3F15 #153C3F
tetradic
#3F153C #3F2D15 #153F18 #15273F
square
#3F153C #3F2D15 #153F18 #15273F
split-complementary
#3F153C #273F15 #153F2D
monochromatic
#170816 #170816 #3F153C #6D2468 #9B3493

Accessibility & contrast

On white

15.18
#3F153C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#3F153C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F153C
15.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F153C#FFFFFF#000000##FFFFFF
##3F153C1.0015.181.3815.18
#FFFFFF15.181.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12223D
Deuteranopia (green-blind)
#20283B
Tritanopia (blue-blind)
#421926
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #3f153c;
/* rgb */ color: rgb(63, 21, 60);
/* oklch */ color: oklch(27.9% 0.086 330.5);
Tailwind
colors: {
  custom: {
    50: '#765572',
    500: '#3f153c',
    950: '#000000',
  },
}
SCSS
$custom: #3f153c;
$custom-light: #765572;
$custom-dark: #000000;
JSON
{
  "hex": "#3f153c",
  "rgb": {
    "r": 63,
    "g": 21,
    "b": 60
  },
  "hsl": {
    "h": 304.286,
    "s": 50,
    "l": 16.471
  },
  "oklch": {
    "l": 0.27884,
    "c": 0.08618,
    "h": 330.5
  },
  "luminance": 0.01919
}

Semantic roles & 50–950 ramp

primary
#3F153C
secondary
#39773E
accent
#DA584E
background
#F7F5F6
surface
#EDE9EC
border
#C8C5C7
text
#080308
muted
#7B787B

Preview Lab

Preview with #3F153C

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

Preview Lab → · Contrast checker → · Palette generator →

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