#3F0C57#3F0C57

#3F0C57 is a dark, vivid purple. Relative luminance 0.020; OKLCH L 28.8% C 0.127 H 311.7°. Best body text is #FFFFFF at 14.98:1 contrast (WCAG AA passes).

Color values

HEX#3F0C57
RGBrgb(63, 12, 87)
HSLhsl(281, 76%, 19%)
HSVhsv(281, 86%, 34%)
CMYKcmyk(27.6%, 86.2%, 0%, 65.9%)
CIE-LABlab(15.53, 36.58, -33.39)
CIE-LCHlch(15.53, 49.53, 317.61°)
OKLaboklab(28.84% 0.0843 -0.0946)
OKLCHoklch(28.84% 0.127 311.7)
XYZxyz(3.9013, 2.0079, 9.1970)
Luminance0.0201 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F0C57 #24570C
analogous
#1A0C57 #3F0C57 #570C4A
triadic
#3F0C57 #573F0C #0C573F
tetradic
#3F0C57 #571A0C #24570C #0C4A57
square
#3F0C57 #571A0C #24570C #0C4A57
split-complementary
#3F0C57 #4A570C #0C571A
monochromatic
#13041B #180521 #3F0C57 #66138D #8D1BC3

Accessibility & contrast

On white

14.98
#3F0C57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#3F0C57 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F0C57
14.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F0C57#FFFFFF#000000##FFFFFF
##3F0C571.0014.981.4014.98
#FFFFFF14.981.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002459
Deuteranopia (green-blind)
#002855
Tritanopia (blue-blind)
#3C1F32
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #3f0c57;
/* rgb */ color: rgb(63, 12, 87);
/* oklch */ color: oklch(28.8% 0.127 311.7);
Tailwind
colors: {
  custom: {
    50: '#785287',
    500: '#3f0c57',
    950: '#000000',
  },
}
SCSS
$custom: #3f0c57;
$custom-light: #785287;
$custom-dark: #000000;
JSON
{
  "hex": "#3f0c57",
  "rgb": {
    "r": 63,
    "g": 12,
    "b": 87
  },
  "hsl": {
    "h": 280.8,
    "s": 75.758,
    "l": 19.412
  },
  "oklch": {
    "l": 0.28836,
    "c": 0.12673,
    "h": 311.7
  },
  "luminance": 0.02008
}

Semantic roles & 50–950 ramp

primary
#3F0C57
secondary
#4D922D
accent
#F23572
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#09030B
muted
#7B787C

Preview Lab

Preview with #3F0C57

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

Preview Lab → · Contrast checker → · Palette generator →

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