#3F1042#3F1042

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

Color values

HEX#3F1042
RGBrgb(63, 16, 66)
HSLhsl(296, 61%, 16%)
HSVhsv(296, 76%, 26%)
CMYKcmyk(4.5%, 75.8%, 0%, 74.1%)
CIE-LABlab(14.52, 30.22, -20.57)
CIE-LCHlch(14.52, 36.55, 325.76°)
OKLaboklab(27.61% 0.0826 -0.0571)
OKLCHoklch(27.61% 0.1 325.3)
XYZxyz(3.2185, 1.8209, 5.3351)
Luminance0.0182 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1042 #134210
analogous
#261042 #3F1042 #42102C
triadic
#3F1042 #423F10 #10423F
tetradic
#3F1042 #422610 #134210 #102C42
square
#3F1042 #422610 #134210 #102C42
split-complementary
#3F1042 #2C4210 #104226
monochromatic
#180619 #180619 #3F1042 #6E1C73 #9D28A5

Accessibility & contrast

On white

15.39
#3F1042 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#3F1042 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F1042
15.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1042#FFFFFF#000000##FFFFFF
##3F10421.0015.391.3615.39
#FFFFFF15.391.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#062143
Deuteranopia (green-blind)
#1A2741
Tritanopia (blue-blind)
#411827
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #3f1042;
/* rgb */ color: rgb(63, 16, 66);
/* oklch */ color: oklch(27.6% 0.100 325.3);
Tailwind
colors: {
  custom: {
    50: '#765376',
    500: '#3f1042',
    950: '#000000',
  },
}
SCSS
$custom: #3f1042;
$custom-light: #765376;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1042",
  "rgb": {
    "r": 63,
    "g": 16,
    "b": 66
  },
  "hsl": {
    "h": 296.4,
    "s": 60.976,
    "l": 16.078
  },
  "oklch": {
    "l": 0.27611,
    "c": 0.10042,
    "h": 325.3
  },
  "luminance": 0.01821
}

Semantic roles & 50–950 ramp

primary
#3F1042
secondary
#367C32
accent
#E4444D
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#090308
muted
#7B787B

Preview Lab

Preview with #3F1042

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

Preview Lab → · Contrast checker → · Palette generator →

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