#3F0843#3F0843

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

Color values

HEX#3F0843
RGBrgb(63, 8, 67)
HSLhsl(296, 79%, 15%)
HSVhsv(296, 88%, 26%)
CMYKcmyk(6%, 88.1%, 0%, 73.7%)
CIE-LABlab(13.45, 33.67, -22.98)
CIE-LCHlch(13.45, 40.77, 325.69°)
OKLaboklab(26.87% 0.0916 -0.0641)
OKLCHoklch(26.87% 0.112 325)
XYZxyz(3.1498, 1.6359, 5.4590)
Luminance0.0164 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F0843 #0C4308
analogous
#220843 #3F0843 #43082A
triadic
#3F0843 #433F08 #08433F
tetradic
#3F0843 #432208 #0C4308 #082A43
square
#3F0843 #432208 #0C4308 #082A43
split-complementary
#3F0843 #2A4308 #084322
monochromatic
#1A031B #1A031B #3F0843 #720F7A #A615B0

Accessibility & contrast

On white

15.82
#3F0843 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F0843
15.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F0843#FFFFFF#000000##FFFFFF
##3F08431.0015.821.3315.82
#FFFFFF15.821.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E45
Deuteranopia (green-blind)
#152542
Tritanopia (blue-blind)
#411326
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #3f0843;
/* rgb */ color: rgb(63, 8, 67);
/* oklch */ color: oklch(26.9% 0.112 325.0);
Tailwind
colors: {
  custom: {
    50: '#774f77',
    500: '#3f0843',
    950: '#000000',
  },
}
SCSS
$custom: #3f0843;
$custom-light: #774f77;
$custom-dark: #000000;
JSON
{
  "hex": "#3f0843",
  "rgb": {
    "r": 63,
    "g": 8,
    "b": 67
  },
  "hsl": {
    "h": 295.932,
    "s": 78.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.26868,
    "c": 0.11174,
    "h": 325
  },
  "luminance": 0.01636
}

Semantic roles & 50–950 ramp

primary
#3F0843
secondary
#2C8125
accent
#F53340
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#090209
muted
#7B787B

Preview Lab

Preview with #3F0843

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

Preview Lab → · Contrast checker → · Palette generator →

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