#3F1450#3F1450

#3F1450 is a dark, moderate purple. Relative luminance 0.021; OKLCH L 29.1% C 0.109 H 314.7°. Best body text is #FFFFFF at 14.71:1 contrast (WCAG AA passes).

Color values

HEX#3F1450
RGBrgb(63, 20, 80)
HSLhsl(283, 60%, 20%)
HSVhsv(283, 75%, 31%)
CMYKcmyk(21.2%, 75%, 0%, 68.6%)
CIE-LABlab(16.19, 31.44, -27.58)
CIE-LCHlch(16.19, 41.82, 318.75°)
OKLaboklab(29.13% 0.0769 -0.0776)
OKLCHoklch(29.13% 0.109 314.7)
XYZxyz(3.7478, 2.1364, 7.8028)
Luminance0.0214 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1450 #255014
analogous
#211450 #3F1450 #501443
triadic
#3F1450 #503F14 #14503F
tetradic
#3F1450 #502114 #255014 #144350
square
#3F1450 #502114 #255014 #144350
split-complementary
#3F1450 #435014 #145021
monochromatic
#130618 #18081F #3F1450 #662081 #8C2CB2

Accessibility & contrast

On white

14.71
#3F1450 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F1450
14.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1450#FFFFFF#000000##FFFFFF
##3F14501.0014.711.4314.71
#FFFFFF14.711.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002652
Deuteranopia (green-blind)
#12294F
Tritanopia (blue-blind)
#3E2030
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #3f1450;
/* rgb */ color: rgb(63, 20, 80);
/* oklch */ color: oklch(29.1% 0.109 314.7);
Tailwind
colors: {
  custom: {
    50: '#775681',
    500: '#3f1450',
    950: '#000000',
  },
}
SCSS
$custom: #3f1450;
$custom-light: #775681;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1450",
  "rgb": {
    "r": 63,
    "g": 20,
    "b": 80
  },
  "hsl": {
    "h": 283,
    "s": 60,
    "l": 19.608
  },
  "oklch": {
    "l": 0.29125,
    "c": 0.10928,
    "h": 314.7
  },
  "luminance": 0.02136
}

Semantic roles & 50–950 ramp

primary
#3F1450
secondary
#4E8838
accent
#E34572
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#09030A
muted
#7B787C

Preview Lab

Preview with #3F1450

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

Preview Lab → · Contrast checker → · Palette generator →

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