#3F0E54#3F0E54

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

Color values

HEX#3F0E54
RGBrgb(63, 14, 84)
HSLhsl(282, 71%, 19%)
HSVhsv(282, 83%, 33%)
CMYKcmyk(25%, 83.3%, 0%, 67.1%)
CIE-LABlab(15.55, 35.10, -31.33)
CIE-LCHlch(15.55, 47.05, 318.25°)
OKLaboklab(28.77% 0.0831 -0.0886)
OKLCHoklch(28.77% 0.121 313.2)
XYZxyz(3.8069, 2.0111, 8.5734)
Luminance0.0201 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F0E54 #23540E
analogous
#1C0E54 #3F0E54 #540E46
triadic
#3F0E54 #543F0E #0E543F
tetradic
#3F0E54 #541C0E #23540E #0E4654
square
#3F0E54 #541C0E #23540E #0E4654
split-complementary
#3F0E54 #46540E #0E541C
monochromatic
#14041A #180520 #3F0E54 #661788 #8E1FBD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3F0E54#FFFFFF#000000##FFFFFF
##3F0E541.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)
#002456
Deuteranopia (green-blind)
#062853
Tritanopia (blue-blind)
#3D1E31
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #3f0e54;
/* rgb */ color: rgb(63, 14, 84);
/* oklch */ color: oklch(28.8% 0.121 313.2);
Tailwind
colors: {
  custom: {
    50: '#775385',
    500: '#3f0e54',
    950: '#000000',
  },
}
SCSS
$custom: #3f0e54;
$custom-light: #775385;
$custom-dark: #000000;
JSON
{
  "hex": "#3f0e54",
  "rgb": {
    "r": 63,
    "g": 14,
    "b": 84
  },
  "hsl": {
    "h": 282,
    "s": 71.429,
    "l": 19.216
  },
  "oklch": {
    "l": 0.28768,
    "c": 0.12147,
    "h": 313.2
  },
  "luminance": 0.02011
}

Semantic roles & 50–950 ramp

primary
#3F0E54
secondary
#4C8E2F
accent
#EE3A70
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#09030B
muted
#7B787C

Preview Lab

Preview with #3F0E54

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

Preview Lab → · Contrast checker → · Palette generator →

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