#3F1452#3F1452

#3F1452 is a dark, moderate purple. Relative luminance 0.022; OKLCH L 29.3% C 0.112 H 313.5°. Best body text is #FFFFFF at 14.65:1 contrast (WCAG AA passes).

Color values

HEX#3F1452
RGBrgb(63, 20, 82)
HSLhsl(282, 61%, 20%)
HSVhsv(282, 76%, 32%)
CMYKcmyk(23.2%, 75.6%, 0%, 67.8%)
CIE-LABlab(16.34, 31.93, -28.70)
CIE-LCHlch(16.34, 42.93, 318.05°)
OKLaboklab(29.28% 0.0767 -0.0809)
OKLCHoklch(29.28% 0.112 313.5)
XYZxyz(3.8228, 2.1664, 8.1978)
Luminance0.0217 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1452 #275214
analogous
#201452 #3F1452 #521446
triadic
#3F1452 #523F14 #14523F
tetradic
#3F1452 #522014 #275214 #144652
square
#3F1452 #522014 #275214 #144652
split-complementary
#3F1452 #465214 #145220
monochromatic
#130619 #190821 #3F1452 #652083 #8B2CB4

Accessibility & contrast

On white

14.65
#3F1452 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F1452
14.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1452#FFFFFF#000000##FFFFFF
##3F14521.0014.651.4314.65
#FFFFFF14.651.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002654
Deuteranopia (green-blind)
#102951
Tritanopia (blue-blind)
#3D2131
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #3f1452;
/* rgb */ color: rgb(63, 20, 82);
/* oklch */ color: oklch(29.3% 0.112 313.5);
Tailwind
colors: {
  custom: {
    50: '#775683',
    500: '#3f1452',
    950: '#000000',
  },
}
SCSS
$custom: #3f1452;
$custom-light: #775683;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1452",
  "rgb": {
    "r": 63,
    "g": 20,
    "b": 82
  },
  "hsl": {
    "h": 281.613,
    "s": 60.784,
    "l": 20
  },
  "oklch": {
    "l": 0.2928,
    "c": 0.1115,
    "h": 313.5
  },
  "luminance": 0.02166
}

Semantic roles & 50–950 ramp

primary
#3F1452
secondary
#518A38
accent
#E44475
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#09030A
muted
#7B787C

Preview Lab

Preview with #3F1452

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

Preview Lab → · Contrast checker → · Palette generator →

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