#3F1248#3F1248

#3F1248 is a dark, moderate purple. Relative luminance 0.020; OKLCH L 28.3% C 0.104 H 320.5°. Best body text is #FFFFFF at 15.09:1 contrast (WCAG AA passes).

Color values

HEX#3F1248
RGBrgb(63, 18, 72)
HSLhsl(290, 60%, 18%)
HSVhsv(290, 75%, 28%)
CMYKcmyk(12.5%, 75%, 0%, 71.8%)
CIE-LABlab(15.26, 30.57, -23.56)
CIE-LCHlch(15.26, 38.60, 322.38°)
OKLaboklab(28.28% 0.08 -0.0659)
OKLCHoklch(28.28% 0.104 320.5)
XYZxyz(3.4358, 1.9574, 6.3265)
Luminance0.0196 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1248 #1B4812
analogous
#241248 #3F1248 #481236
triadic
#3F1248 #483F12 #12483F
tetradic
#3F1248 #482412 #1B4812 #123648
square
#3F1248 #482412 #1B4812 #123648
split-complementary
#3F1248 #364812 #124824
monochromatic
#150618 #150618 #3F1248 #6A1E79 #952AAA

Accessibility & contrast

On white

15.09
#3F1248 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F1248
15.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1248#FFFFFF#000000##FFFFFF
##3F12481.0015.091.3915.09
#FFFFFF15.091.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02234A
Deuteranopia (green-blind)
#172847
Tritanopia (blue-blind)
#3F1C2B
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #3f1248;
/* rgb */ color: rgb(63, 18, 72);
/* oklch */ color: oklch(28.3% 0.104 320.5);
Tailwind
colors: {
  custom: {
    50: '#76547b',
    500: '#3f1248',
    950: '#000000',
  },
}
SCSS
$custom: #3f1248;
$custom-light: #76547b;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1248",
  "rgb": {
    "r": 63,
    "g": 18,
    "b": 72
  },
  "hsl": {
    "h": 290,
    "s": 60,
    "l": 17.647
  },
  "oklch": {
    "l": 0.28277,
    "c": 0.10359,
    "h": 320.5
  },
  "luminance": 0.01957
}

Semantic roles & 50–950 ramp

primary
#3F1248
secondary
#418135
accent
#E3455F
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#090309
muted
#7B787B

Preview Lab

Preview with #3F1248

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

Preview Lab → · Contrast checker → · Palette generator →

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