#3F1145#3F1145

#3F1145 is a dark, moderate purple. Relative luminance 0.019; OKLCH L 27.9% C 0.102 H 322.9°. Best body text is #FFFFFF at 15.25:1 contrast (WCAG AA passes).

Color values

HEX#3F1145
RGBrgb(63, 17, 69)
HSLhsl(293, 60%, 17%)
HSVhsv(293, 75%, 27%)
CMYKcmyk(8.7%, 75.4%, 0%, 72.9%)
CIE-LABlab(14.89, 30.39, -22.08)
CIE-LCHlch(14.89, 37.56, 324.00°)
OKLaboklab(27.94% 0.0813 -0.0615)
OKLCHoklch(27.94% 0.102 322.9)
XYZxyz(3.3244, 1.8875, 5.8183)
Luminance0.0189 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1145 #174511
analogous
#251145 #3F1145 #451131
triadic
#3F1145 #453F11 #11453F
tetradic
#3F1145 #452511 #174511 #113145
square
#3F1145 #452511 #174511 #113145
split-complementary
#3F1145 #314511 #114525
monochromatic
#160619 #160619 #3F1145 #6C1D76 #9929A7

Accessibility & contrast

On white

15.25
#3F1145 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#3F1145 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F1145
15.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1145#FFFFFF#000000##FFFFFF
##3F11451.0015.251.3815.25
#FFFFFF15.251.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#042247
Deuteranopia (green-blind)
#192744
Tritanopia (blue-blind)
#401A29
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #3f1145;
/* rgb */ color: rgb(63, 17, 69);
/* oklch */ color: oklch(27.9% 0.102 322.9);
Tailwind
colors: {
  custom: {
    50: '#765479',
    500: '#3f1145',
    950: '#000000',
  },
}
SCSS
$custom: #3f1145;
$custom-light: #765479;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1145",
  "rgb": {
    "r": 63,
    "g": 17,
    "b": 69
  },
  "hsl": {
    "h": 293.077,
    "s": 60.465,
    "l": 16.863
  },
  "oklch": {
    "l": 0.2794,
    "c": 0.10196,
    "h": 322.9
  },
  "luminance": 0.01887
}

Semantic roles & 50–950 ramp

primary
#3F1145
secondary
#3C7F33
accent
#E44457
background
#F7F4F7
surface
#EDE8ED
border
#C8C4C8
text
#090309
muted
#7B787B

Preview Lab

Preview with #3F1145

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

Preview Lab → · Contrast checker → · Palette generator →

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