#3F1453#3F1453

#3F1453 is a dark, moderate purple. Relative luminance 0.022; OKLCH L 29.4% C 0.113 H 312.9°. Best body text is #FFFFFF at 14.62:1 contrast (WCAG AA passes).

Color values

HEX#3F1453
RGBrgb(63, 20, 83)
HSLhsl(281, 61%, 20%)
HSVhsv(281, 76%, 33%)
CMYKcmyk(24.1%, 75.9%, 0%, 67.5%)
CIE-LABlab(16.41, 32.17, -29.25)
CIE-LCHlch(16.41, 43.48, 317.72°)
OKLaboklab(29.36% 0.0766 -0.0825)
OKLCHoklch(29.36% 0.113 312.9)
XYZxyz(3.8611, 2.1817, 8.3997)
Luminance0.0218 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1453 #285314
analogous
#1F1453 #3F1453 #531448
triadic
#3F1453 #533F14 #14533F
tetradic
#3F1453 #531F14 #285314 #144853
square
#3F1453 #531F14 #285314 #144853
split-complementary
#3F1453 #485314 #14531F
monochromatic
#130619 #1A0822 #3F1453 #642084 #8A2CB6

Accessibility & contrast

On white

14.62
#3F1453 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#3F1453 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F1453
14.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1453#FFFFFF#000000##FFFFFF
##3F14531.0014.621.4414.62
#FFFFFF14.621.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002655
Deuteranopia (green-blind)
#0E2A52
Tritanopia (blue-blind)
#3D2132
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #3f1453;
/* rgb */ color: rgb(63, 20, 83);
/* oklch */ color: oklch(29.4% 0.113 312.9);
Tailwind
colors: {
  custom: {
    50: '#775684',
    500: '#3f1453',
    950: '#000000',
  },
}
SCSS
$custom: #3f1453;
$custom-light: #775684;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1453",
  "rgb": {
    "r": 63,
    "g": 20,
    "b": 83
  },
  "hsl": {
    "h": 280.952,
    "s": 61.165,
    "l": 20.196
  },
  "oklch": {
    "l": 0.29359,
    "c": 0.11261,
    "h": 312.9
  },
  "luminance": 0.02182
}

Semantic roles & 50–950 ramp

primary
#3F1453
secondary
#528B38
accent
#E44477
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#09030B
muted
#7B787C

Preview Lab

Preview with #3F1453

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

Preview Lab → · Contrast checker → · Palette generator →

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