#3F0638#3F0638

#3F0638 is a dark, moderate purple. Relative luminance 0.015; OKLCH L 25.9% C 0.105 H 333.9°. Best body text is #FFFFFF at 16.22:1 contrast (WCAG AA passes).

Color values

HEX#3F0638
RGBrgb(63, 6, 56)
HSLhsl(307, 83%, 14%)
HSVhsv(307, 90%, 25%)
CMYKcmyk(0%, 90.5%, 11.1%, 75.3%)
CIE-LABlab(12.43, 32.39, -16.77)
CIE-LCHlch(12.43, 36.47, 332.63°)
OKLaboklab(25.91% 0.0941 -0.046)
OKLCHoklch(25.91% 0.105 333.9)
XYZxyz(2.8289, 1.4728, 3.8759)
Luminance0.0147 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F0638 #063F0D
analogous
#29063F #3F0638 #3F061B
triadic
#3F0638 #383F06 #06383F
tetradic
#3F0638 #3F2906 #063F0D #061B3F
square
#3F0638 #3F2906 #063F0D #061B3F
split-complementary
#3F0638 #1B3F06 #063F29
monochromatic
#1C0319 #1C0319 #3F0638 #770B6A #AF119B

Accessibility & contrast

On white

16.22
#3F0638 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#3F0638 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F0638
16.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F0638#FFFFFF#000000##FFFFFF
##3F06381.0016.221.2916.22
#FFFFFF16.221.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#051B39
Deuteranopia (green-blind)
#1B2337
Tritanopia (blue-blind)
#420C1F
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #3f0638;
/* rgb */ color: rgb(63, 6, 56);
/* oklch */ color: oklch(25.9% 0.105 333.9);
Tailwind
colors: {
  custom: {
    50: '#774e6f',
    500: '#3f0638',
    950: '#000000',
  },
}
SCSS
$custom: #3f0638;
$custom-light: #774e6f;
$custom-dark: #000000;
JSON
{
  "hex": "#3f0638",
  "rgb": {
    "r": 63,
    "g": 6,
    "b": 56
  },
  "hsl": {
    "h": 307.368,
    "s": 82.609,
    "l": 13.529
  },
  "oklch": {
    "l": 0.25908,
    "c": 0.10473,
    "h": 333.9
  },
  "luminance": 0.01473
}

Semantic roles & 50–950 ramp

primary
#3F0638
secondary
#227F2D
accent
#F9482F
background
#F7F4F6
surface
#EDE7EC
border
#C8C3C7
text
#090207
muted
#7B787A

Preview Lab

Preview with #3F0638

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

Preview Lab → · Contrast checker → · Palette generator →

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