#3F0F4C#3F0F4C

#3F0F4C is a dark, moderate purple. Relative luminance 0.019; OKLCH L 28.2% C 0.112 H 318.1°. Best body text is #FFFFFF at 15.17:1 contrast (WCAG AA passes).

Color values

HEX#3F0F4C
RGBrgb(63, 15, 76)
HSLhsl(287, 67%, 18%)
HSVhsv(287, 80%, 30%)
CMYKcmyk(17.1%, 80.3%, 0%, 70.2%)
CIE-LABlab(15.06, 32.85, -26.64)
CIE-LCHlch(15.06, 42.29, 320.95°)
OKLaboklab(28.23% 0.0833 -0.0748)
OKLCHoklch(28.23% 0.112 318.1)
XYZxyz(3.5250, 1.9204, 7.0211)
Luminance0.0192 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F0F4C #1C4C0F
analogous
#200F4C #3F0F4C #4C0F3A
triadic
#3F0F4C #4C3F0F #0F4C3F
tetradic
#3F0F4C #4C200F #1C4C0F #0F3A4C
square
#3F0F4C #4C200F #1C4C0F #0F3A4C
split-complementary
#3F0F4C #3A4C0F #0F4C20
monochromatic
#15051A #15051A #3F0F4C #69197F #9423B2

Accessibility & contrast

On white

15.17
#3F0F4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F0F4C
15.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F0F4C#FFFFFF#000000##FFFFFF
##3F0F4C1.0015.171.3815.17
#FFFFFF15.171.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00234E
Deuteranopia (green-blind)
#12274B
Tritanopia (blue-blind)
#3F1B2C
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #3f0f4c;
/* rgb */ color: rgb(63, 15, 76);
/* oklch */ color: oklch(28.2% 0.112 318.1);
Tailwind
colors: {
  custom: {
    50: '#77537e',
    500: '#3f0f4c',
    950: '#000000',
  },
}
SCSS
$custom: #3f0f4c;
$custom-light: #77537e;
$custom-dark: #000000;
JSON
{
  "hex": "#3f0f4c",
  "rgb": {
    "r": 63,
    "g": 15,
    "b": 76
  },
  "hsl": {
    "h": 287.213,
    "s": 67.033,
    "l": 17.843
  },
  "oklch": {
    "l": 0.28228,
    "c": 0.11199,
    "h": 318.1
  },
  "luminance": 0.0192
}

Semantic roles & 50–950 ramp

primary
#3F0F4C
secondary
#438631
accent
#EA3E63
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#09030A
muted
#7B787C

Preview Lab

Preview with #3F0F4C

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

Preview Lab → · Contrast checker → · Palette generator →

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