#3F0948#3F0948

#3F0948 is a dark, moderate purple. Relative luminance 0.017; OKLCH L 27.3% C 0.115 H 321.4°. Best body text is #FFFFFF at 15.62:1 contrast (WCAG AA passes).

Color values

HEX#3F0948
RGBrgb(63, 9, 72)
HSLhsl(291, 78%, 16%)
HSVhsv(291, 88%, 28%)
CMYKcmyk(12.5%, 87.5%, 0%, 71.8%)
CIE-LABlab(13.94, 34.33, -25.67)
CIE-LCHlch(13.94, 42.87, 323.21°)
OKLaboklab(27.34% 0.09 -0.072)
OKLCHoklch(27.34% 0.115 321.4)
XYZxyz(3.3172, 1.7202, 6.2869)
Luminance0.0172 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F0948 #124809
analogous
#1F0948 #3F0948 #480931
triadic
#3F0948 #483F09 #09483F
tetradic
#3F0948 #481F09 #124809 #093148
square
#3F0948 #481F09 #124809 #093148
split-complementary
#3F0948 #314809 #09481F
monochromatic
#18031B #18031B #3F0948 #6F107E #9E17B5

Accessibility & contrast

On white

15.62
#3F0948 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#3F0948 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F0948
15.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F0948#FFFFFF#000000##FFFFFF
##3F09481.0015.621.3415.62
#FFFFFF15.621.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00204A
Deuteranopia (green-blind)
#122547
Tritanopia (blue-blind)
#401629
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #3f0948;
/* rgb */ color: rgb(63, 9, 72);
/* oklch */ color: oklch(27.3% 0.115 321.4);
Tailwind
colors: {
  custom: {
    50: '#77507b',
    500: '#3f0948',
    950: '#000000',
  },
}
SCSS
$custom: #3f0948;
$custom-light: #77507b;
$custom-dark: #000000;
JSON
{
  "hex": "#3f0948",
  "rgb": {
    "r": 63,
    "g": 9,
    "b": 72
  },
  "hsl": {
    "h": 291.429,
    "s": 77.778,
    "l": 15.882
  },
  "oklch": {
    "l": 0.27338,
    "c": 0.11523,
    "h": 321.4
  },
  "luminance": 0.0172
}

Semantic roles & 50–950 ramp

primary
#3F0948
secondary
#358527
accent
#F4344F
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#090209
muted
#7B787B

Preview Lab

Preview with #3F0948

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

Preview Lab → · Contrast checker → · Palette generator →

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