#3F0E42#3F0E42

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

Color values

HEX#3F0E42
RGBrgb(63, 14, 66)
HSLhsl(297, 65%, 16%)
HSVhsv(297, 79%, 26%)
CMYKcmyk(4.5%, 78.8%, 0%, 74.1%)
CIE-LABlab(14.20, 31.12, -21.08)
CIE-LCHlch(14.20, 37.58, 325.89°)
OKLaboklab(27.38% 0.0851 -0.0586)
OKLCHoklch(27.38% 0.103 325.5)
XYZxyz(3.1902, 1.7644, 5.3257)
Luminance0.0176 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F0E42 #11420E
analogous
#250E42 #3F0E42 #420E2B
triadic
#3F0E42 #423F0E #0E423F
tetradic
#3F0E42 #42250E #11420E #0E2B42
square
#3F0E42 #42250E #11420E #0E2B42
split-complementary
#3F0E42 #2B420E #0E4225
monochromatic
#180519 #180519 #3F0E42 #6F1974 #9F23A7

Accessibility & contrast

On white

15.52
#3F0E42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F0E42
15.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F0E42#FFFFFF#000000##FFFFFF
##3F0E421.0015.521.3515.52
#FFFFFF15.521.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#032043
Deuteranopia (green-blind)
#192641
Tritanopia (blue-blind)
#411626
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #3f0e42;
/* rgb */ color: rgb(63, 14, 66);
/* oklch */ color: oklch(27.4% 0.103 325.5);
Tailwind
colors: {
  custom: {
    50: '#765276',
    500: '#3f0e42',
    950: '#000000',
  },
}
SCSS
$custom: #3f0e42;
$custom-light: #765276;
$custom-dark: #000000;
JSON
{
  "hex": "#3f0e42",
  "rgb": {
    "r": 63,
    "g": 14,
    "b": 66
  },
  "hsl": {
    "h": 296.538,
    "s": 65,
    "l": 15.686
  },
  "oklch": {
    "l": 0.27382,
    "c": 0.10331,
    "h": 325.5
  },
  "luminance": 0.01764
}

Semantic roles & 50–950 ramp

primary
#3F0E42
secondary
#337D2F
accent
#E8404A
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#090208
muted
#7B787B

Preview Lab

Preview with #3F0E42

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

Preview Lab → · Contrast checker → · Palette generator →

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