#3F0F4A#3F0F4A

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

Color values

HEX#3F0F4A
RGBrgb(63, 15, 74)
HSLhsl(289, 66%, 17%)
HSVhsv(289, 80%, 29%)
CMYKcmyk(14.9%, 79.7%, 0%, 71%)
CIE-LABlab(14.92, 32.40, -25.50)
CIE-LCHlch(14.92, 41.23, 321.79°)
OKLaboklab(28.08% 0.0835 -0.0715)
OKLCHoklch(28.08% 0.11 319.4)
XYZxyz(3.4566, 1.8930, 6.6605)
Luminance0.0189 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F0F4A #1A4A0F
analogous
#220F4A #3F0F4A #4A0F37
triadic
#3F0F4A #4A3F0F #0F4A3F
tetradic
#3F0F4A #4A220F #1A4A0F #0F374A
square
#3F0F4A #4A220F #1A4A0F #0F374A
split-complementary
#3F0F4A #374A0F #0F4A22
monochromatic
#160519 #160519 #3F0F4A #6A197D #9624B0

Accessibility & contrast

On white

15.23
#3F0F4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F0F4A
15.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F0F4A#FFFFFF#000000##FFFFFF
##3F0F4A1.0015.231.3815.23
#FFFFFF15.231.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00224C
Deuteranopia (green-blind)
#142749
Tritanopia (blue-blind)
#3F1B2B
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #3f0f4a;
/* rgb */ color: rgb(63, 15, 74);
/* oklch */ color: oklch(28.1% 0.110 319.4);
Tailwind
colors: {
  custom: {
    50: '#77537d',
    500: '#3f0f4a',
    950: '#000000',
  },
}
SCSS
$custom: #3f0f4a;
$custom-light: #77537d;
$custom-dark: #000000;
JSON
{
  "hex": "#3f0f4a",
  "rgb": {
    "r": 63,
    "g": 15,
    "b": 74
  },
  "hsl": {
    "h": 288.814,
    "s": 66.292,
    "l": 17.451
  },
  "oklch": {
    "l": 0.28075,
    "c": 0.10994,
    "h": 319.4
  },
  "luminance": 0.01893
}

Semantic roles & 50–950 ramp

primary
#3F0F4A
secondary
#408430
accent
#E93F5E
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#090309
muted
#7B787B

Preview Lab

Preview with #3F0F4A

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

Preview Lab → · Contrast checker → · Palette generator →

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