#3F1050#3F1050

#3F1050 is a dark, moderate purple. Relative luminance 0.020; OKLCH L 28.7% C 0.115 H 315.3°. Best body text is #FFFFFF at 14.99:1 contrast (WCAG AA passes).

Color values

HEX#3F1050
RGBrgb(63, 16, 80)
HSLhsl(284, 67%, 19%)
HSVhsv(284, 80%, 31%)
CMYKcmyk(21.2%, 80%, 0%, 68.6%)
CIE-LABlab(15.52, 33.32, -28.65)
CIE-LCHlch(15.52, 43.94, 319.31°)
OKLaboklab(28.65% 0.0817 -0.0807)
OKLCHoklch(28.65% 0.115 315.3)
XYZxyz(3.6829, 2.0067, 7.7812)
Luminance0.0201 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1050 #215010
analogous
#1F1050 #3F1050 #501041
triadic
#3F1050 #503F10 #10503F
tetradic
#3F1050 #501F10 #215010 #104150
square
#3F1050 #501F10 #215010 #104150
split-complementary
#3F1050 #415010 #10501F
monochromatic
#14051A #17061D #3F1050 #671A83 #8F24B6

Accessibility & contrast

On white

14.99
#3F1050 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F1050
14.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1050#FFFFFF#000000##FFFFFF
##3F10501.0014.991.4014.99
#FFFFFF14.991.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002452
Deuteranopia (green-blind)
#0E284F
Tritanopia (blue-blind)
#3E1E2F
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #3f1050;
/* rgb */ color: rgb(63, 16, 80);
/* oklch */ color: oklch(28.7% 0.115 315.3);
Tailwind
colors: {
  custom: {
    50: '#775481',
    500: '#3f1050',
    950: '#000000',
  },
}
SCSS
$custom: #3f1050;
$custom-light: #775481;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1050",
  "rgb": {
    "r": 63,
    "g": 16,
    "b": 80
  },
  "hsl": {
    "h": 284.063,
    "s": 66.667,
    "l": 18.824
  },
  "oklch": {
    "l": 0.28651,
    "c": 0.11484,
    "h": 315.3
  },
  "luminance": 0.02007
}

Semantic roles & 50–950 ramp

primary
#3F1050
secondary
#498A32
accent
#EA3E6C
background
#F7F5F7
surface
#EDE8EE
border
#C8C4C9
text
#09030A
muted
#7B787C

Preview Lab

Preview with #3F1050

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

Preview Lab → · Contrast checker → · Palette generator →

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