#3F0F56#3F0F56

#3F0F56 is a dark, vivid purple. Relative luminance 0.021; OKLCH L 29.0% C 0.122 H 311.9°. Best body text is #FFFFFF at 14.85:1 contrast (WCAG AA passes).

Color values

HEX#3F0F56
RGBrgb(63, 15, 86)
HSLhsl(281, 70%, 20%)
HSVhsv(281, 83%, 34%)
CMYKcmyk(26.7%, 82.6%, 0%, 66.3%)
CIE-LABlab(15.85, 35.16, -32.19)
CIE-LCHlch(15.85, 47.67, 317.53°)
OKLaboklab(29.04% 0.0817 -0.0911)
OKLCHoklch(29.04% 0.122 311.9)
XYZxyz(3.9001, 2.0704, 8.9965)
Luminance0.0207 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F0F56 #26560F
analogous
#1B0F56 #3F0F56 #560F4A
triadic
#3F0F56 #563F0F #0F563F
tetradic
#3F0F56 #561B0F #26560F #0F4A56
square
#3F0F56 #561B0F #26560F #0F4A56
split-complementary
#3F0F56 #4A560F #0F561B
monochromatic
#13051A #190622 #3F0F56 #65188A #8B21BE

Accessibility & contrast

On white

14.85
#3F0F56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#3F0F56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F0F56
14.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F0F56#FFFFFF#000000##FFFFFF
##3F0F561.0014.851.4114.85
#FFFFFF14.851.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002558
Deuteranopia (green-blind)
#042855
Tritanopia (blue-blind)
#3C2032
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #3f0f56;
/* rgb */ color: rgb(63, 15, 86);
/* oklch */ color: oklch(29.0% 0.122 311.9);
Tailwind
colors: {
  custom: {
    50: '#775386',
    500: '#3f0f56',
    950: '#000000',
  },
}
SCSS
$custom: #3f0f56;
$custom-light: #775386;
$custom-dark: #000000;
JSON
{
  "hex": "#3f0f56",
  "rgb": {
    "r": 63,
    "g": 15,
    "b": 86
  },
  "hsl": {
    "h": 280.563,
    "s": 70.297,
    "l": 19.804
  },
  "oklch": {
    "l": 0.29037,
    "c": 0.12238,
    "h": 311.9
  },
  "luminance": 0.0207
}

Semantic roles & 50–950 ramp

primary
#3F0F56
secondary
#509031
accent
#ED3B74
background
#F7F5F8
surface
#EDE8EF
border
#C8C4CA
text
#09030B
muted
#7B787C

Preview Lab

Preview with #3F0F56

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

Preview Lab → · Contrast checker → · Palette generator →

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