#3F0E52#3F0E52

#3F0E52 is a dark, moderate purple. Relative luminance 0.020; OKLCH L 28.6% C 0.119 H 314.4°. Best body text is #FFFFFF at 15.04:1 contrast (WCAG AA passes).

Color values

HEX#3F0E52
RGBrgb(63, 14, 82)
HSLhsl(283, 71%, 19%)
HSVhsv(283, 83%, 32%)
CMYKcmyk(23.2%, 82.9%, 0%, 67.8%)
CIE-LABlab(15.38, 34.64, -30.24)
CIE-LCHlch(15.38, 45.98, 318.88°)
OKLaboklab(28.6% 0.0835 -0.0854)
OKLCHoklch(28.6% 0.119 314.4)
XYZxyz(3.7297, 1.9802, 8.1668)
Luminance0.0198 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F0E52 #21520E
analogous
#1D0E52 #3F0E52 #520E43
triadic
#3F0E52 #523F0E #0E523F
tetradic
#3F0E52 #521D0E #21520E #0E4352
square
#3F0E52 #521D0E #21520E #0E4352
split-complementary
#3F0E52 #43520E #0E521D
monochromatic
#14041A #17051E #3F0E52 #671786 #8F20BB

Accessibility & contrast

On white

15.04
#3F0E52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F0E52
15.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F0E52#FFFFFF#000000##FFFFFF
##3F0E521.0015.041.4015.04
#FFFFFF15.041.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002454
Deuteranopia (green-blind)
#092851
Tritanopia (blue-blind)
#3D1E2F
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #3f0e52;
/* rgb */ color: rgb(63, 14, 82);
/* oklch */ color: oklch(28.6% 0.119 314.4);
Tailwind
colors: {
  custom: {
    50: '#775383',
    500: '#3f0e52',
    950: '#000000',
  },
}
SCSS
$custom: #3f0e52;
$custom-light: #775383;
$custom-dark: #000000;
JSON
{
  "hex": "#3f0e52",
  "rgb": {
    "r": 63,
    "g": 14,
    "b": 82
  },
  "hsl": {
    "h": 283.235,
    "s": 70.833,
    "l": 18.824
  },
  "oklch": {
    "l": 0.28602,
    "c": 0.11942,
    "h": 314.4
  },
  "luminance": 0.0198
}

Semantic roles & 50–950 ramp

primary
#3F0E52
secondary
#498C2F
accent
#EE3A6C
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#09030B
muted
#7B787C

Preview Lab

Preview with #3F0E52

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

Preview Lab → · Contrast checker → · Palette generator →

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