#3F153A#3F153A

#3F153A is a dark, moderate purple. Relative luminance 0.019; OKLCH L 27.8% C 0.084 H 332.5°. Best body text is #FFFFFF at 15.22:1 contrast (WCAG AA passes).

Color values

HEX#3F153A
RGBrgb(63, 21, 58)
HSLhsl(307, 50%, 16%)
HSVhsv(307, 67%, 25%)
CMYKcmyk(0%, 66.7%, 7.9%, 75.3%)
CIE-LABlab(14.95, 26.05, -14.25)
CIE-LCHlch(14.95, 29.69, 331.31°)
OKLaboklab(27.77% 0.0747 -0.0389)
OKLCHoklch(27.77% 0.084 332.5)
XYZxyz(3.0818, 1.8988, 4.2064)
Luminance0.0190 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F153A #153F1A
analogous
#2F153F #3F153A #3F1525
triadic
#3F153A #3A3F15 #153A3F
tetradic
#3F153A #3F2F15 #153F1A #15253F
square
#3F153A #3F2F15 #153F1A #15253F
split-complementary
#3F153A #253F15 #153F2F
monochromatic
#170815 #170815 #3F153A #6D2464 #9B348F

Accessibility & contrast

On white

15.22
#3F153A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F153A
15.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F153A#FFFFFF#000000##FFFFFF
##3F153A1.0015.221.3815.22
#FFFFFF15.221.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14223B
Deuteranopia (green-blind)
#212839
Tritanopia (blue-blind)
#421825
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #3f153a;
/* rgb */ color: rgb(63, 21, 58);
/* oklch */ color: oklch(27.8% 0.084 332.5);
Tailwind
colors: {
  custom: {
    50: '#765570',
    500: '#3f153a',
    950: '#000000',
  },
}
SCSS
$custom: #3f153a;
$custom-light: #765570;
$custom-dark: #000000;
JSON
{
  "hex": "#3f153a",
  "rgb": {
    "r": 63,
    "g": 21,
    "b": 58
  },
  "hsl": {
    "h": 307.143,
    "s": 50,
    "l": 16.471
  },
  "oklch": {
    "l": 0.27766,
    "c": 0.0842,
    "h": 332.5
  },
  "luminance": 0.01899
}

Semantic roles & 50–950 ramp

primary
#3F153A
secondary
#397740
accent
#DA5F4E
background
#F7F5F6
surface
#EDE9EC
border
#C8C5C7
text
#080307
muted
#7B787A

Preview Lab

Preview with #3F153A

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

Preview Lab → · Contrast checker → · Palette generator →

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