#3F0440#3F0440

#3F0440 is a dark, moderate purple. Relative luminance 0.015; OKLCH L 26.3% C 0.114 H 327.5°. Best body text is #FFFFFF at 16.12:1 contrast (WCAG AA passes).

Color values

HEX#3F0440
RGBrgb(63, 4, 64)
HSLhsl(299, 88%, 13%)
HSVhsv(299, 94%, 25%)
CMYKcmyk(1.6%, 93.8%, 0%, 74.9%)
CIE-LABlab(12.70, 34.65, -22.06)
CIE-LCHlch(12.70, 41.08, 327.52°)
OKLaboklab(26.27% 0.0962 -0.0613)
OKLCHoklch(26.27% 0.114 327.5)
XYZxyz(3.0187, 1.5140, 4.9827)
Luminance0.0151 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F0440 #054004
analogous
#210440 #3F0440 #400423
triadic
#3F0440 #403F04 #04403F
tetradic
#3F0440 #402104 #054004 #042340
square
#3F0440 #402104 #054004 #042340
split-complementary
#3F0440 #234004 #044021
monochromatic
#1C021D #1C021D #3F0440 #78087A #B00BB3

Accessibility & contrast

On white

16.12
#3F0440 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#3F0440 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F0440
16.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F0440#FFFFFF#000000##FFFFFF
##3F04401.0016.121.3016.12
#FFFFFF16.121.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C42
Deuteranopia (green-blind)
#15233F
Tritanopia (blue-blind)
#410F23
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #3f0440;
/* rgb */ color: rgb(63, 4, 64);
/* oklch */ color: oklch(26.3% 0.114 327.5);
Tailwind
colors: {
  custom: {
    50: '#774e75',
    500: '#3f0440',
    950: '#000000',
  },
}
SCSS
$custom: #3f0440;
$custom-light: #774e75;
$custom-dark: #000000;
JSON
{
  "hex": "#3f0440",
  "rgb": {
    "r": 63,
    "g": 4,
    "b": 64
  },
  "hsl": {
    "h": 299,
    "s": 88.235,
    "l": 13.333
  },
  "oklch": {
    "l": 0.26268,
    "c": 0.11407,
    "h": 327.5
  },
  "luminance": 0.01514
}

Semantic roles & 50–950 ramp

primary
#3F0440
secondary
#20811F
accent
#FE292D
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#090208
muted
#7B787B

Preview Lab

Preview with #3F0440

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

Preview Lab → · Contrast checker → · Palette generator →

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