#3F1348#3F1348

#3F1348 is a dark, moderate purple. Relative luminance 0.020; OKLCH L 28.4% C 0.102 H 320.4°. Best body text is #FFFFFF at 15.02:1 contrast (WCAG AA passes).

Color values

HEX#3F1348
RGBrgb(63, 19, 72)
HSLhsl(290, 58%, 18%)
HSVhsv(290, 74%, 28%)
CMYKcmyk(12.5%, 73.6%, 0%, 71.8%)
CIE-LABlab(15.44, 30.08, -23.28)
CIE-LCHlch(15.44, 38.04, 322.26°)
OKLaboklab(28.4% 0.0787 -0.065)
OKLCHoklch(28.4% 0.102 320.4)
XYZxyz(3.4523, 1.9906, 6.3320)
Luminance0.0199 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1348 #1C4813
analogous
#241348 #3F1348 #481336
triadic
#3F1348 #483F13 #13483F
tetradic
#3F1348 #482413 #1C4813 #133648
square
#3F1348 #482413 #1C4813 #133648
split-complementary
#3F1348 #364813 #134824
monochromatic
#150618 #150618 #3F1348 #692078 #942DA9

Accessibility & contrast

On white

15.02
#3F1348 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#3F1348 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F1348
15.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1348#FFFFFF#000000##FFFFFF
##3F13481.0015.021.4015.02
#FFFFFF15.021.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04244A
Deuteranopia (green-blind)
#182847
Tritanopia (blue-blind)
#3F1C2B
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #3f1348;
/* rgb */ color: rgb(63, 19, 72);
/* oklch */ color: oklch(28.4% 0.102 320.4);
Tailwind
colors: {
  custom: {
    50: '#76557b',
    500: '#3f1348',
    950: '#000000',
  },
}
SCSS
$custom: #3f1348;
$custom-light: #76557b;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1348",
  "rgb": {
    "r": 63,
    "g": 19,
    "b": 72
  },
  "hsl": {
    "h": 289.811,
    "s": 58.242,
    "l": 17.843
  },
  "oklch": {
    "l": 0.28404,
    "c": 0.10207,
    "h": 320.4
  },
  "luminance": 0.0199
}

Semantic roles & 50–950 ramp

primary
#3F1348
secondary
#438136
accent
#E14661
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#090309
muted
#7B787B

Preview Lab

Preview with #3F1348

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

Preview Lab → · Contrast checker → · Palette generator →

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