#3F1045#3F1045

#3F1045 is a dark, moderate purple. Relative luminance 0.019; OKLCH L 27.8% C 0.103 H 323.0°. Best body text is #FFFFFF at 15.31:1 contrast (WCAG AA passes).

Color values

HEX#3F1045
RGBrgb(63, 16, 69)
HSLhsl(293, 62%, 17%)
HSVhsv(293, 77%, 27%)
CMYKcmyk(8.7%, 76.8%, 0%, 72.9%)
CIE-LABlab(14.72, 30.86, -22.34)
CIE-LCHlch(14.72, 38.10, 324.09°)
OKLaboklab(27.82% 0.0826 -0.0623)
OKLCHoklch(27.82% 0.103 323)
XYZxyz(3.3093, 1.8572, 5.8132)
Luminance0.0186 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1045 #164510
analogous
#251045 #3F1045 #451031
triadic
#3F1045 #453F10 #10453F
tetradic
#3F1045 #452510 #164510 #103145
square
#3F1045 #452510 #164510 #103145
split-complementary
#3F1045 #314510 #104525
monochromatic
#170619 #170619 #3F1045 #6C1C77 #9A27A8

Accessibility & contrast

On white

15.31
#3F1045 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#3F1045 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F1045
15.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1045#FFFFFF#000000##FFFFFF
##3F10451.0015.311.3715.31
#FFFFFF15.311.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#032247
Deuteranopia (green-blind)
#182744
Tritanopia (blue-blind)
#401929
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #3f1045;
/* rgb */ color: rgb(63, 16, 69);
/* oklch */ color: oklch(27.8% 0.103 323.0);
Tailwind
colors: {
  custom: {
    50: '#765379',
    500: '#3f1045',
    950: '#000000',
  },
}
SCSS
$custom: #3f1045;
$custom-light: #765379;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1045",
  "rgb": {
    "r": 63,
    "g": 16,
    "b": 69
  },
  "hsl": {
    "h": 293.208,
    "s": 62.353,
    "l": 16.667
  },
  "oklch": {
    "l": 0.27821,
    "c": 0.10345,
    "h": 323
  },
  "luminance": 0.01857
}

Semantic roles & 50–950 ramp

primary
#3F1045
secondary
#3B7F32
accent
#E54255
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#090309
muted
#7B787B

Preview Lab

Preview with #3F1045

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

Preview Lab → · Contrast checker → · Palette generator →

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