#3F0943#3F0943

#3F0943 is a dark, moderate purple. Relative luminance 0.017; OKLCH L 27.0% C 0.111 H 325.0°. Best body text is #FFFFFF at 15.77:1 contrast (WCAG AA passes).

Color values

HEX#3F0943
RGBrgb(63, 9, 67)
HSLhsl(296, 76%, 15%)
HSVhsv(296, 87%, 26%)
CMYKcmyk(6%, 86.6%, 0%, 73.7%)
CIE-LABlab(13.58, 33.30, -22.77)
CIE-LCHlch(13.58, 40.34, 325.64°)
OKLaboklab(26.96% 0.0905 -0.0635)
OKLCHoklch(26.96% 0.111 325)
XYZxyz(3.1606, 1.6576, 5.4626)
Luminance0.0166 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F0943 #0D4309
analogous
#220943 #3F0943 #43092A
triadic
#3F0943 #433F09 #09433F
tetradic
#3F0943 #432209 #0D4309 #092A43
square
#3F0943 #432209 #0D4309 #092A43
split-complementary
#3F0943 #2A4309 #094322
monochromatic
#19041B #19041B #3F0943 #721079 #A417AF

Accessibility & contrast

On white

15.77
#3F0943 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#3F0943 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F0943
15.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F0943#FFFFFF#000000##FFFFFF
##3F09431.0015.771.3315.77
#FFFFFF15.771.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F45
Deuteranopia (green-blind)
#162542
Tritanopia (blue-blind)
#411426
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #3f0943;
/* rgb */ color: rgb(63, 9, 67);
/* oklch */ color: oklch(27.0% 0.111 325.0);
Tailwind
colors: {
  custom: {
    50: '#775077',
    500: '#3f0943',
    950: '#000000',
  },
}
SCSS
$custom: #3f0943;
$custom-light: #775077;
$custom-dark: #000000;
JSON
{
  "hex": "#3f0943",
  "rgb": {
    "r": 63,
    "g": 9,
    "b": 67
  },
  "hsl": {
    "h": 295.862,
    "s": 76.316,
    "l": 14.902
  },
  "oklch": {
    "l": 0.2696,
    "c": 0.11056,
    "h": 325
  },
  "luminance": 0.01657
}

Semantic roles & 50–950 ramp

primary
#3F0943
secondary
#2D8127
accent
#F33542
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#090209
muted
#7B787B

Preview Lab

Preview with #3F0943

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

Preview Lab → · Contrast checker → · Palette generator →

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