#3F0844#3F0844

#3F0844 is a dark, moderate purple. Relative luminance 0.016; OKLCH L 26.9% C 0.113 H 324.3°. Best body text is #FFFFFF at 15.79:1 contrast (WCAG AA passes).

Color values

HEX#3F0844
RGBrgb(63, 8, 68)
HSLhsl(295, 79%, 15%)
HSVhsv(295, 88%, 27%)
CMYKcmyk(7.4%, 88.2%, 0%, 73.3%)
CIE-LABlab(13.52, 33.87, -23.56)
CIE-LCHlch(13.52, 41.26, 325.18°)
OKLaboklab(26.94% 0.0915 -0.0658)
OKLCHoklch(26.94% 0.113 324.3)
XYZxyz(3.1800, 1.6480, 5.6183)
Luminance0.0165 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F0844 #0D4408
analogous
#210844 #3F0844 #44082B
triadic
#3F0844 #443F08 #08443F
tetradic
#3F0844 #442108 #0D4408 #082B44
square
#3F0844 #442108 #0D4408 #082B44
split-complementary
#3F0844 #2B4408 #084421
monochromatic
#19031B #19031B #3F0844 #720E7B #A415B2

Accessibility & contrast

On white

15.79
#3F0844 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#3F0844 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F0844
15.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F0844#FFFFFF#000000##FFFFFF
##3F08441.0015.791.3315.79
#FFFFFF15.791.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E46
Deuteranopia (green-blind)
#142543
Tritanopia (blue-blind)
#401426
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #3f0844;
/* rgb */ color: rgb(63, 8, 68);
/* oklch */ color: oklch(26.9% 0.113 324.3);
Tailwind
colors: {
  custom: {
    50: '#775078',
    500: '#3f0844',
    950: '#000000',
  },
}
SCSS
$custom: #3f0844;
$custom-light: #775078;
$custom-dark: #000000;
JSON
{
  "hex": "#3f0844",
  "rgb": {
    "r": 63,
    "g": 8,
    "b": 68
  },
  "hsl": {
    "h": 295,
    "s": 78.947,
    "l": 14.902
  },
  "oklch": {
    "l": 0.26943,
    "c": 0.11266,
    "h": 324.3
  },
  "luminance": 0.01648
}

Semantic roles & 50–950 ramp

primary
#3F0844
secondary
#2D8226
accent
#F53243
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#090209
muted
#7B787B

Preview Lab

Preview with #3F0844

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

Preview Lab → · Contrast checker → · Palette generator →

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