#3F153E#3F153E

#3F153E is a dark, moderate purple. Relative luminance 0.019; OKLCH L 28.0% C 0.088 H 328.6°. Best body text is #FFFFFF at 15.13:1 contrast (WCAG AA passes).

Color values

HEX#3F153E
RGBrgb(63, 21, 62)
HSLhsl(301, 50%, 16%)
HSVhsv(301, 67%, 25%)
CMYKcmyk(0%, 66.7%, 1.6%, 75.3%)
CIE-LABlab(15.18, 26.87, -16.72)
CIE-LCHlch(15.18, 31.64, 328.10°)
OKLaboklab(28.01% 0.0753 -0.046)
OKLCHoklch(28.01% 0.088 328.6)
XYZxyz(3.1875, 1.9411, 4.7633)
Luminance0.0194 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F153E #153F16
analogous
#2B153F #3F153E #3F1529
triadic
#3F153E #3E3F15 #153E3F
tetradic
#3F153E #3F2B15 #153F16 #15293F
square
#3F153E #3F2B15 #153F16 #15293F
split-complementary
#3F153E #293F15 #153F2B
monochromatic
#170817 #170817 #3F153E #6D246B #9B3498

Accessibility & contrast

On white

15.13
#3F153E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#3F153E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F153E
15.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F153E#FFFFFF#000000##FFFFFF
##3F153E1.0015.131.3915.13
#FFFFFF15.131.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11223F
Deuteranopia (green-blind)
#1F283D
Tritanopia (blue-blind)
#411A27
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #3f153e;
/* rgb */ color: rgb(63, 21, 62);
/* oklch */ color: oklch(28.0% 0.088 328.6);
Tailwind
colors: {
  custom: {
    50: '#765573',
    500: '#3f153e',
    950: '#000000',
  },
}
SCSS
$custom: #3f153e;
$custom-light: #765573;
$custom-dark: #000000;
JSON
{
  "hex": "#3f153e",
  "rgb": {
    "r": 63,
    "g": 21,
    "b": 62
  },
  "hsl": {
    "h": 301.429,
    "s": 50,
    "l": 16.471
  },
  "oklch": {
    "l": 0.28007,
    "c": 0.08822,
    "h": 328.6
  },
  "luminance": 0.01941
}

Semantic roles & 50–950 ramp

primary
#3F153E
secondary
#39773B
accent
#DA524E
background
#F7F5F7
surface
#EDE9ED
border
#C8C5C8
text
#080308
muted
#7B787B

Preview Lab

Preview with #3F153E

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

Preview Lab → · Contrast checker → · Palette generator →

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