#3F0C51#3F0C51

#3F0C51 is a dark, vivid purple. Relative luminance 0.019; OKLCH L 28.3% C 0.121 H 315.2°. Best body text is #FFFFFF at 15.19:1 contrast (WCAG AA passes).

Color values

HEX#3F0C51
RGBrgb(63, 12, 81)
HSLhsl(284, 74%, 18%)
HSVhsv(284, 85%, 32%)
CMYKcmyk(22.2%, 85.2%, 0%, 68.2%)
CIE-LABlab(15.03, 35.20, -30.13)
CIE-LCHlch(15.03, 46.33, 319.44°)
OKLaboklab(28.33% 0.0857 -0.085)
OKLCHoklch(28.33% 0.121 315.2)
XYZxyz(3.6663, 1.9139, 7.9593)
Luminance0.0191 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F0C51 #1E510C
analogous
#1C0C51 #3F0C51 #510C40
triadic
#3F0C51 #513F0C #0C513F
tetradic
#3F0C51 #511C0C #1E510C #0C4051
square
#3F0C51 #511C0C #1E510C #0C4051
split-complementary
#3F0C51 #40510C #0C511C
monochromatic
#15041B #16041C #3F0C51 #681486 #921CBC

Accessibility & contrast

On white

15.19
#3F0C51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#3F0C51 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F0C51
15.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F0C51#FFFFFF#000000##FFFFFF
##3F0C511.0015.191.3815.19
#FFFFFF15.191.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002353
Deuteranopia (green-blind)
#092750
Tritanopia (blue-blind)
#3E1C2E
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #3f0c51;
/* rgb */ color: rgb(63, 12, 81);
/* oklch */ color: oklch(28.3% 0.121 315.2);
Tailwind
colors: {
  custom: {
    50: '#775282',
    500: '#3f0c51',
    950: '#000000',
  },
}
SCSS
$custom: #3f0c51;
$custom-light: #775282;
$custom-dark: #000000;
JSON
{
  "hex": "#3f0c51",
  "rgb": {
    "r": 63,
    "g": 12,
    "b": 81
  },
  "hsl": {
    "h": 284.348,
    "s": 74.194,
    "l": 18.235
  },
  "oklch": {
    "l": 0.28327,
    "c": 0.1207,
    "h": 315.2
  },
  "luminance": 0.01914
}

Semantic roles & 50–950 ramp

primary
#3F0C51
secondary
#458C2C
accent
#F13767
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#09020A
muted
#7B787C

Preview Lab

Preview with #3F0C51

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

Preview Lab → · Contrast checker → · Palette generator →

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