#3F0C4E#3F0C4E

#3F0C4E is a dark, moderate purple. Relative luminance 0.019; OKLCH L 28.1% C 0.118 H 317.1°. Best body text is #FFFFFF at 15.28:1 contrast (WCAG AA passes).

Color values

HEX#3F0C4E
RGBrgb(63, 12, 78)
HSLhsl(286, 73%, 18%)
HSVhsv(286, 85%, 31%)
CMYKcmyk(19.2%, 84.6%, 0%, 69.4%)
CIE-LABlab(14.79, 34.52, -28.46)
CIE-LCHlch(14.79, 44.74, 320.50°)
OKLaboklab(28.08% 0.0862 -0.0801)
OKLCHoklch(28.08% 0.118 317.1)
XYZxyz(3.5563, 1.8699, 7.3799)
Luminance0.0187 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F0C4E #1B4E0C
analogous
#1E0C4E #3F0C4E #4E0C3C
triadic
#3F0C4E #4E3F0C #0C4E3F
tetradic
#3F0C4E #4E1E0C #1B4E0C #0C3C4E
square
#3F0C4E #4E1E0C #1B4E0C #0C3C4E
split-complementary
#3F0C4E #3C4E0C #0C4E1E
monochromatic
#15041B #15041B #3F0C4E #6A1483 #951CB8

Accessibility & contrast

On white

15.28
#3F0C4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#3F0C4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F0C4E
15.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F0C4E#FFFFFF#000000##FFFFFF
##3F0C4E1.0015.281.3715.28
#FFFFFF15.281.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3f0c4e;
/* rgb */ color: rgb(63, 12, 78);
/* oklch */ color: oklch(28.1% 0.118 317.1);
Tailwind
colors: {
  custom: {
    50: '#775280',
    500: '#3f0c4e',
    950: '#000000',
  },
}
SCSS
$custom: #3f0c4e;
$custom-light: #775280;
$custom-dark: #000000;
JSON
{
  "hex": "#3f0c4e",
  "rgb": {
    "r": 63,
    "g": 12,
    "b": 78
  },
  "hsl": {
    "h": 286.364,
    "s": 73.333,
    "l": 17.647
  },
  "oklch": {
    "l": 0.28082,
    "c": 0.1177,
    "h": 317.1
  },
  "luminance": 0.0187
}

Semantic roles & 50–950 ramp

primary
#3F0C4E
secondary
#418A2C
accent
#F03862
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#09020A
muted
#7B787C

Preview Lab

Preview with #3F0C4E

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

Preview Lab → · Contrast checker → · Palette generator →

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