#3F1243#3F1243

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

Color values

HEX#3F1243
RGBrgb(63, 18, 67)
HSLhsl(295, 58%, 17%)
HSVhsv(295, 73%, 26%)
CMYKcmyk(6%, 73.1%, 0%, 73.7%)
CIE-LABlab(14.93, 29.47, -20.62)
CIE-LCHlch(14.93, 35.97, 325.02°)
OKLaboklab(27.93% 0.08 -0.0573)
OKLCHoklch(27.93% 0.098 324.4)
XYZxyz(3.2792, 1.8948, 5.5021)
Luminance0.0190 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1243 #164312
analogous
#271243 #3F1243 #43122F
triadic
#3F1243 #433F12 #12433F
tetradic
#3F1243 #432712 #164312 #122F43
square
#3F1243 #432712 #164312 #122F43
split-complementary
#3F1243 #2F4312 #124327
monochromatic
#170618 #170618 #3F1243 #6C1F73 #9A2CA3

Accessibility & contrast

On white

15.23
#3F1243 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F1243
15.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1243#FFFFFF#000000##FFFFFF
##3F12431.0015.231.3815.23
#FFFFFF15.231.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#082244
Deuteranopia (green-blind)
#1B2742
Tritanopia (blue-blind)
#401928
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #3f1243;
/* rgb */ color: rgb(63, 18, 67);
/* oklch */ color: oklch(27.9% 0.098 324.4);
Tailwind
colors: {
  custom: {
    50: '#765477',
    500: '#3f1243',
    950: '#000000',
  },
}
SCSS
$custom: #3f1243;
$custom-light: #765477;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1243",
  "rgb": {
    "r": 63,
    "g": 18,
    "b": 67
  },
  "hsl": {
    "h": 295.102,
    "s": 57.647,
    "l": 16.667
  },
  "oklch": {
    "l": 0.27926,
    "c": 0.09837,
    "h": 324.4
  },
  "luminance": 0.01895
}

Semantic roles & 50–950 ramp

primary
#3F1243
secondary
#3B7C35
accent
#E14753
background
#F7F5F7
surface
#EDE8ED
border
#C8C4C8
text
#090308
muted
#7B787B

Preview Lab

Preview with #3F1243

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

Preview Lab → · Contrast checker → · Palette generator →

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