#3F1352#3F1352

#3F1352 is a dark, moderate purple. Relative luminance 0.021; OKLCH L 29.2% C 0.113 H 313.6°. Best body text is #FFFFFF at 14.72:1 contrast (WCAG AA passes).

Color values

HEX#3F1352
RGBrgb(63, 19, 82)
HSLhsl(282, 62%, 20%)
HSVhsv(282, 77%, 32%)
CMYKcmyk(23.2%, 76.8%, 0%, 67.8%)
CIE-LABlab(16.16, 32.41, -28.98)
CIE-LCHlch(16.16, 43.48, 318.20°)
OKLaboklab(29.16% 0.0779 -0.0817)
OKLCHoklch(29.16% 0.113 313.6)
XYZxyz(3.8055, 2.1318, 8.1920)
Luminance0.0213 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1352 #265213
analogous
#201352 #3F1352 #521345
triadic
#3F1352 #523F13 #13523F
tetradic
#3F1352 #522013 #265213 #134552
square
#3F1352 #522013 #265213 #134552
split-complementary
#3F1352 #455213 #135220
monochromatic
#130619 #190720 #3F1352 #651F84 #8B2AB5

Accessibility & contrast

On white

14.72
#3F1352 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#3F1352 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F1352
14.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1352#FFFFFF#000000##FFFFFF
##3F13521.0014.721.4314.72
#FFFFFF14.721.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002654
Deuteranopia (green-blind)
#0F2951
Tritanopia (blue-blind)
#3D2031
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #3f1352;
/* rgb */ color: rgb(63, 19, 82);
/* oklch */ color: oklch(29.2% 0.113 313.6);
Tailwind
colors: {
  custom: {
    50: '#775583',
    500: '#3f1352',
    950: '#000000',
  },
}
SCSS
$custom: #3f1352;
$custom-light: #775583;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1352",
  "rgb": {
    "r": 63,
    "g": 19,
    "b": 82
  },
  "hsl": {
    "h": 281.905,
    "s": 62.376,
    "l": 19.804
  },
  "oklch": {
    "l": 0.29157,
    "c": 0.11293,
    "h": 313.6
  },
  "luminance": 0.02132
}

Semantic roles & 50–950 ramp

primary
#3F1352
secondary
#508A36
accent
#E54274
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#09030A
muted
#7B787C

Preview Lab

Preview with #3F1352

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

Preview Lab → · Contrast checker → · Palette generator →

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