#3F1245#3F1245

#3F1245 is a dark, moderate purple. Relative luminance 0.019; OKLCH L 28.1% C 0.100 H 322.8°. Best body text is #FFFFFF at 15.18:1 contrast (WCAG AA passes).

Color values

HEX#3F1245
RGBrgb(63, 18, 69)
HSLhsl(293, 59%, 17%)
HSVhsv(293, 74%, 27%)
CMYKcmyk(8.7%, 73.9%, 0%, 72.9%)
CIE-LABlab(15.06, 29.91, -21.81)
CIE-LCHlch(15.06, 37.01, 323.90°)
OKLaboklab(28.06% 0.08 -0.0607)
OKLCHoklch(28.06% 0.1 322.8)
XYZxyz(3.3403, 1.9192, 5.8236)
Luminance0.0192 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1245 #184512
analogous
#261245 #3F1245 #451232
triadic
#3F1245 #453F12 #12453F
tetradic
#3F1245 #452612 #184512 #123245
square
#3F1245 #452612 #184512 #123245
split-complementary
#3F1245 #324512 #124526
monochromatic
#160618 #160618 #3F1245 #6B1F76 #982BA6

Accessibility & contrast

On white

15.18
#3F1245 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F1245
15.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1245#FFFFFF#000000##FFFFFF
##3F12451.0015.181.3815.18
#FFFFFF15.181.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#062246
Deuteranopia (green-blind)
#192844
Tritanopia (blue-blind)
#401A29
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #3f1245;
/* rgb */ color: rgb(63, 18, 69);
/* oklch */ color: oklch(28.1% 0.100 322.8);
Tailwind
colors: {
  custom: {
    50: '#765479',
    500: '#3f1245',
    950: '#000000',
  },
}
SCSS
$custom: #3f1245;
$custom-light: #765479;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1245",
  "rgb": {
    "r": 63,
    "g": 18,
    "b": 69
  },
  "hsl": {
    "h": 292.941,
    "s": 58.621,
    "l": 17.059
  },
  "oklch": {
    "l": 0.28064,
    "c": 0.10044,
    "h": 322.8
  },
  "luminance": 0.01919
}

Semantic roles & 50–950 ramp

primary
#3F1245
secondary
#3D7E35
accent
#E24658
background
#F7F5F7
surface
#EDE8ED
border
#C8C4C8
text
#090309
muted
#7B787B

Preview Lab

Preview with #3F1245

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

Preview Lab → · Contrast checker → · Palette generator →

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