#3F1051#3F1051

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

Color values

HEX#3F1051
RGBrgb(63, 16, 81)
HSLhsl(283, 67%, 19%)
HSVhsv(283, 80%, 32%)
CMYKcmyk(22.2%, 80.2%, 0%, 68.2%)
CIE-LABlab(15.60, 33.55, -29.20)
CIE-LCHlch(15.60, 44.48, 318.97°)
OKLaboklab(28.73% 0.0815 -0.0824)
OKLCHoklch(28.73% 0.116 314.7)
XYZxyz(3.7201, 2.0216, 7.9772)
Luminance0.0202 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1051 #225110
analogous
#1F1051 #3F1051 #511043
triadic
#3F1051 #513F10 #10513F
tetradic
#3F1051 #511F10 #225110 #104351
square
#3F1051 #511F10 #225110 #104351
split-complementary
#3F1051 #435110 #10511F
monochromatic
#14051A #17061E #3F1051 #671A84 #8E24B7

Accessibility & contrast

On white

14.96
#3F1051 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F1051
14.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1051#FFFFFF#000000##FFFFFF
##3F10511.0014.961.4014.96
#FFFFFF14.961.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002453
Deuteranopia (green-blind)
#0D2850
Tritanopia (blue-blind)
#3D1E2F
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #3f1051;
/* rgb */ color: rgb(63, 16, 81);
/* oklch */ color: oklch(28.7% 0.116 314.7);
Tailwind
colors: {
  custom: {
    50: '#775482',
    500: '#3f1051',
    950: '#000000',
  },
}
SCSS
$custom: #3f1051;
$custom-light: #775482;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1051",
  "rgb": {
    "r": 63,
    "g": 16,
    "b": 81
  },
  "hsl": {
    "h": 283.385,
    "s": 67.01,
    "l": 19.02
  },
  "oklch": {
    "l": 0.28731,
    "c": 0.1159,
    "h": 314.7
  },
  "luminance": 0.02021
}

Semantic roles & 50–950 ramp

primary
#3F1051
secondary
#4B8B32
accent
#EA3E6E
background
#F7F5F8
surface
#EDE8EF
border
#C8C4CA
text
#09030A
muted
#7B787C

Preview Lab

Preview with #3F1051

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

Preview Lab → · Contrast checker → · Palette generator →

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