#3F0F40#3F0F40

#3F0F40 is a dark, moderate purple. Relative luminance 0.018; OKLCH L 27.4% C 0.100 H 327.0°. Best body text is #FFFFFF at 15.51:1 contrast (WCAG AA passes).

Color values

HEX#3F0F40
RGBrgb(63, 15, 64)
HSLhsl(299, 62%, 15%)
HSVhsv(299, 77%, 25%)
CMYKcmyk(1.6%, 76.6%, 0%, 74.9%)
CIE-LABlab(14.22, 30.26, -19.63)
CIE-LCHlch(14.22, 36.07, 327.03°)
OKLaboklab(27.36% 0.0838 -0.0544)
OKLCHoklch(27.36% 0.1 327)
XYZxyz(3.1461, 1.7688, 5.0252)
Luminance0.0177 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F0F40 #10400F
analogous
#260F40 #3F0F40 #400F28
triadic
#3F0F40 #403F0F #0F403F
tetradic
#3F0F40 #40260F #10400F #0F2840
square
#3F0F40 #40260F #10400F #0F2840
split-complementary
#3F0F40 #28400F #0F4026
monochromatic
#180619 #180619 #3F0F40 #701B72 #A126A3

Accessibility & contrast

On white

15.51
#3F0F40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#3F0F40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F0F40
15.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F0F40#FFFFFF#000000##FFFFFF
##3F0F401.0015.511.3515.51
#FFFFFF15.511.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#072041
Deuteranopia (green-blind)
#1B263F
Tritanopia (blue-blind)
#411626
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #3f0f40;
/* rgb */ color: rgb(63, 15, 64);
/* oklch */ color: oklch(27.4% 0.100 327.0);
Tailwind
colors: {
  custom: {
    50: '#765275',
    500: '#3f0f40',
    950: '#000000',
  },
}
SCSS
$custom: #3f0f40;
$custom-light: #765275;
$custom-dark: #000000;
JSON
{
  "hex": "#3f0f40",
  "rgb": {
    "r": 63,
    "g": 15,
    "b": 64
  },
  "hsl": {
    "h": 298.776,
    "s": 62.025,
    "l": 15.49
  },
  "oklch": {
    "l": 0.27357,
    "c": 0.09993,
    "h": 327
  },
  "luminance": 0.01769
}

Semantic roles & 50–950 ramp

primary
#3F0F40
secondary
#327A30
accent
#E54346
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#090208
muted
#7B787B

Preview Lab

Preview with #3F0F40

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

Preview Lab → · Contrast checker → · Palette generator →

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