#3F1052#3F1052

#3F1052 is a dark, moderate purple. Relative luminance 0.020; OKLCH L 28.8% C 0.117 H 314.1°. Best body text is #FFFFFF at 14.92:1 contrast (WCAG AA passes).

Color values

HEX#3F1052
RGBrgb(63, 16, 82)
HSLhsl(283, 67%, 19%)
HSVhsv(283, 80%, 32%)
CMYKcmyk(23.2%, 80.5%, 0%, 67.8%)
CIE-LABlab(15.68, 33.79, -29.76)
CIE-LCHlch(15.68, 45.03, 318.63°)
OKLaboklab(28.81% 0.0814 -0.084)
OKLCHoklch(28.81% 0.117 314.1)
XYZxyz(3.7579, 2.0367, 8.1762)
Luminance0.0204 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1052 #235210
analogous
#1E1052 #3F1052 #521044
triadic
#3F1052 #523F10 #10523F
tetradic
#3F1052 #521E10 #235210 #104452
square
#3F1052 #521E10 #235210 #104452
split-complementary
#3F1052 #445210 #10521E
monochromatic
#14051A #18061F #3F1052 #661A85 #8E24B8

Accessibility & contrast

On white

14.92
#3F1052 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#3F1052 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F1052
14.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1052#FFFFFF#000000##FFFFFF
##3F10521.0014.921.4114.92
#FFFFFF14.921.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002554
Deuteranopia (green-blind)
#0B2851
Tritanopia (blue-blind)
#3D1F30
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #3f1052;
/* rgb */ color: rgb(63, 16, 82);
/* oklch */ color: oklch(28.8% 0.117 314.1);
Tailwind
colors: {
  custom: {
    50: '#775483',
    500: '#3f1052',
    950: '#000000',
  },
}
SCSS
$custom: #3f1052;
$custom-light: #775483;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1052",
  "rgb": {
    "r": 63,
    "g": 16,
    "b": 82
  },
  "hsl": {
    "h": 282.727,
    "s": 67.347,
    "l": 19.216
  },
  "oklch": {
    "l": 0.28811,
    "c": 0.11695,
    "h": 314.1
  },
  "luminance": 0.02037
}

Semantic roles & 50–950 ramp

primary
#3F1052
secondary
#4C8C32
accent
#EA3E6F
background
#F7F5F8
surface
#EDE8EF
border
#C8C4CA
text
#09030A
muted
#7B787C

Preview Lab

Preview with #3F1052

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

Preview Lab → · Contrast checker → · Palette generator →

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