#3F0340#3F0340

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

Color values

HEX#3F0340
RGBrgb(63, 3, 64)
HSLhsl(299, 91%, 13%)
HSVhsv(299, 95%, 25%)
CMYKcmyk(1.6%, 95.3%, 0%, 74.9%)
CIE-LABlab(12.56, 35.05, -22.28)
CIE-LCHlch(12.56, 41.53, 327.56°)
OKLaboklab(26.17% 0.0973 -0.062)
OKLCHoklch(26.17% 0.115 327.5)
XYZxyz(3.0078, 1.4923, 4.9791)
Luminance0.0149 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F0340 #044003
analogous
#200340 #3F0340 #400322
triadic
#3F0340 #403F03 #03403F
tetradic
#3F0340 #402003 #044003 #032240
square
#3F0340 #402003 #044003 #032240
split-complementary
#3F0340 #224003 #034020
monochromatic
#1D011D #1D011D #3F0340 #79067A #B208B5

Accessibility & contrast

On white

16.17
#3F0340 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F0340
16.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F0340#FFFFFF#000000##FFFFFF
##3F03401.0016.171.3016.17
#FFFFFF16.171.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3f0340;
/* rgb */ color: rgb(63, 3, 64);
/* oklch */ color: oklch(26.2% 0.115 327.5);
Tailwind
colors: {
  custom: {
    50: '#774d75',
    500: '#3f0340',
    950: '#000000',
  },
}
SCSS
$custom: #3f0340;
$custom-light: #774d75;
$custom-dark: #000000;
JSON
{
  "hex": "#3f0340",
  "rgb": {
    "r": 63,
    "g": 3,
    "b": 64
  },
  "hsl": {
    "h": 299.016,
    "s": 91.045,
    "l": 13.137
  },
  "oklch": {
    "l": 0.26171,
    "c": 0.11537,
    "h": 327.5
  },
  "luminance": 0.01492
}

Semantic roles & 50–950 ramp

primary
#3F0340
secondary
#1E821D
accent
#FF292C
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#090208
muted
#7B787B

Preview Lab

Preview with #3F0340

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

Preview Lab → · Contrast checker → · Palette generator →

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