#3F0A4E#3F0A4E

#3F0A4E is a dark, moderate purple. Relative luminance 0.018; OKLCH L 27.9% C 0.120 H 317.3°. Best body text is #FFFFFF at 15.39:1 contrast (WCAG AA passes).

Color values

HEX#3F0A4E
RGBrgb(63, 10, 78)
HSLhsl(287, 77%, 17%)
HSVhsv(287, 87%, 31%)
CMYKcmyk(19.2%, 87.2%, 0%, 69.4%)
CIE-LABlab(14.54, 35.25, -28.87)
CIE-LCHlch(14.54, 45.57, 320.69°)
OKLaboklab(27.9% 0.0881 -0.0813)
OKLCHoklch(27.9% 0.12 317.3)
XYZxyz(3.5334, 1.8241, 7.3722)
Luminance0.0182 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F0A4E #194E0A
analogous
#1D0A4E #3F0A4E #4E0A3B
triadic
#3F0A4E #4E3F0A #0A4E3F
tetradic
#3F0A4E #4E1D0A #194E0A #0A3B4E
square
#3F0A4E #4E1D0A #194E0A #0A3B4E
split-complementary
#3F0A4E #3B4E0A #0A4E1D
monochromatic
#16031B #16031B #3F0A4E #6B1184 #9718BA

Accessibility & contrast

On white

15.39
#3F0A4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#3F0A4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F0A4E
15.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F0A4E#FFFFFF#000000##FFFFFF
##3F0A4E1.0015.391.3615.39
#FFFFFF15.391.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002250
Deuteranopia (green-blind)
#0B264D
Tritanopia (blue-blind)
#3E1A2C
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #3f0a4e;
/* rgb */ color: rgb(63, 10, 78);
/* oklch */ color: oklch(27.9% 0.120 317.3);
Tailwind
colors: {
  custom: {
    50: '#775180',
    500: '#3f0a4e',
    950: '#000000',
  },
}
SCSS
$custom: #3f0a4e;
$custom-light: #775180;
$custom-dark: #000000;
JSON
{
  "hex": "#3f0a4e",
  "rgb": {
    "r": 63,
    "g": 10,
    "b": 78
  },
  "hsl": {
    "h": 286.765,
    "s": 77.273,
    "l": 17.255
  },
  "oklch": {
    "l": 0.27904,
    "c": 0.11989,
    "h": 317.3
  },
  "luminance": 0.01824
}

Semantic roles & 50–950 ramp

primary
#3F0A4E
secondary
#3F8B29
accent
#F4345E
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#09020A
muted
#7B787C

Preview Lab

Preview with #3F0A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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