#3F0F4F#3F0F4F

#3F0F4F is a dark, moderate purple. Relative luminance 0.020; OKLCH L 28.5% C 0.115 H 316.1°. Best body text is #FFFFFF at 15.08:1 contrast (WCAG AA passes).

Color values

HEX#3F0F4F
RGBrgb(63, 15, 79)
HSLhsl(285, 68%, 18%)
HSVhsv(285, 81%, 31%)
CMYKcmyk(20.3%, 81%, 0%, 69%)
CIE-LABlab(15.29, 33.53, -28.33)
CIE-LCHlch(15.29, 43.90, 319.80°)
OKLaboklab(28.46% 0.0829 -0.0798)
OKLCHoklch(28.46% 0.115 316.1)
XYZxyz(3.6318, 1.9631, 7.5832)
Luminance0.0196 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F0F4F #1F4F0F
analogous
#1F0F4F #3F0F4F #4F0F3F
triadic
#3F0F4F #4F3F0F #0F4F3F
tetradic
#3F0F4F #4F1F0F #1F4F0F #0F3F4F
square
#3F0F4F #4F1F0F #1F4F0F #0F3F4F
split-complementary
#3F0F4F #3F4F0F #0F4F1F
monochromatic
#15051A #16051C #3F0F4F #681982 #9123B6

Accessibility & contrast

On white

15.08
#3F0F4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#3F0F4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F0F4F
15.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F0F4F#FFFFFF#000000##FFFFFF
##3F0F4F1.0015.081.3915.08
#FFFFFF15.081.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002351
Deuteranopia (green-blind)
#0E284E
Tritanopia (blue-blind)
#3E1D2E
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #3f0f4f;
/* rgb */ color: rgb(63, 15, 79);
/* oklch */ color: oklch(28.5% 0.115 316.1);
Tailwind
colors: {
  custom: {
    50: '#775381',
    500: '#3f0f4f',
    950: '#000000',
  },
}
SCSS
$custom: #3f0f4f;
$custom-light: #775381;
$custom-dark: #000000;
JSON
{
  "hex": "#3f0f4f",
  "rgb": {
    "r": 63,
    "g": 15,
    "b": 79
  },
  "hsl": {
    "h": 285,
    "s": 68.085,
    "l": 18.431
  },
  "oklch": {
    "l": 0.28463,
    "c": 0.11509,
    "h": 316.1
  },
  "luminance": 0.01963
}

Semantic roles & 50–950 ramp

primary
#3F0F4F
secondary
#478931
accent
#EB3D68
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#09030A
muted
#7B787C

Preview Lab

Preview with #3F0F4F

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

Preview Lab → · Contrast checker → · Palette generator →

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