#3F0F4E#3F0F4E

#3F0F4E is a dark, moderate purple. Relative luminance 0.019; OKLCH L 28.4% C 0.114 H 316.7°. Best body text is #FFFFFF at 15.11:1 contrast (WCAG AA passes).

Color values

HEX#3F0F4E
RGBrgb(63, 15, 78)
HSLhsl(286, 68%, 18%)
HSVhsv(286, 81%, 31%)
CMYKcmyk(19.2%, 80.8%, 0%, 69.4%)
CIE-LABlab(15.22, 33.30, -27.77)
CIE-LCHlch(15.22, 43.36, 320.17°)
OKLaboklab(28.38% 0.0831 -0.0782)
OKLCHoklch(28.38% 0.114 316.7)
XYZxyz(3.5957, 1.9486, 7.3930)
Luminance0.0195 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F0F4E #1E4E0F
analogous
#1F0F4E #3F0F4E #4E0F3D
triadic
#3F0F4E #4E3F0F #0F4E3F
tetradic
#3F0F4E #4E1F0F #1E4E0F #0F3D4E
square
#3F0F4E #4E1F0F #1E4E0F #0F3D4E
split-complementary
#3F0F4E #3D4E0F #0F4E1F
monochromatic
#15051A #16051B #3F0F4E #681981 #9223B5

Accessibility & contrast

On white

15.11
#3F0F4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F0F4E
15.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F0F4E#FFFFFF#000000##FFFFFF
##3F0F4E1.0015.111.3915.11
#FFFFFF15.111.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002350
Deuteranopia (green-blind)
#10274D
Tritanopia (blue-blind)
#3E1C2D
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #3f0f4e;
/* rgb */ color: rgb(63, 15, 78);
/* oklch */ color: oklch(28.4% 0.114 316.7);
Tailwind
colors: {
  custom: {
    50: '#775380',
    500: '#3f0f4e',
    950: '#000000',
  },
}
SCSS
$custom: #3f0f4e;
$custom-light: #775380;
$custom-dark: #000000;
JSON
{
  "hex": "#3f0f4e",
  "rgb": {
    "r": 63,
    "g": 15,
    "b": 78
  },
  "hsl": {
    "h": 285.714,
    "s": 67.742,
    "l": 18.235
  },
  "oklch": {
    "l": 0.28384,
    "c": 0.11405,
    "h": 316.7
  },
  "luminance": 0.01948
}

Semantic roles & 50–950 ramp

primary
#3F0F4E
secondary
#458831
accent
#EB3D66
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#09030A
muted
#7B787C

Preview Lab

Preview with #3F0F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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