#3F0F57#3F0F57

#3F0F57 is a dark, vivid purple. Relative luminance 0.021; OKLCH L 29.1% C 0.123 H 311.3°. Best body text is #FFFFFF at 14.82:1 contrast (WCAG AA passes).

Color values

HEX#3F0F57
RGBrgb(63, 15, 87)
HSLhsl(280, 71%, 20%)
HSVhsv(280, 83%, 34%)
CMYKcmyk(27.6%, 82.8%, 0%, 65.9%)
CIE-LABlab(15.94, 35.40, -32.73)
CIE-LCHlch(15.94, 48.22, 317.24°)
OKLaboklab(29.12% 0.0815 -0.0927)
OKLCHoklch(29.12% 0.123 311.3)
XYZxyz(3.9407, 2.0866, 9.2101)
Luminance0.0209 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F0F57 #27570F
analogous
#1B0F57 #3F0F57 #570F4B
triadic
#3F0F57 #573F0F #0F573F
tetradic
#3F0F57 #571B0F #27570F #0F4B57
square
#3F0F57 #571B0F #27570F #0F4B57
split-complementary
#3F0F57 #4B570F #0F571B
monochromatic
#13051A #190623 #3F0F57 #65188B #8B21BF

Accessibility & contrast

On white

14.82
#3F0F57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#3F0F57 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F0F57
14.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F0F57#FFFFFF#000000##FFFFFF
##3F0F571.0014.821.4214.82
#FFFFFF14.821.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002559
Deuteranopia (green-blind)
#022856
Tritanopia (blue-blind)
#3C2033
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #3f0f57;
/* rgb */ color: rgb(63, 15, 87);
/* oklch */ color: oklch(29.1% 0.123 311.3);
Tailwind
colors: {
  custom: {
    50: '#775487',
    500: '#3f0f57',
    950: '#000000',
  },
}
SCSS
$custom: #3f0f57;
$custom-light: #775487;
$custom-dark: #000000;
JSON
{
  "hex": "#3f0f57",
  "rgb": {
    "r": 63,
    "g": 15,
    "b": 87
  },
  "hsl": {
    "h": 280,
    "s": 70.588,
    "l": 20
  },
  "oklch": {
    "l": 0.29121,
    "c": 0.12343,
    "h": 311.3
  },
  "luminance": 0.02087
}

Semantic roles & 50–950 ramp

primary
#3F0F57
secondary
#519131
accent
#ED3A76
background
#F7F5F8
surface
#EDE8EF
border
#C8C4CA
text
#09030B
muted
#7B787C

Preview Lab

Preview with #3F0F57

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

Preview Lab → · Contrast checker → · Palette generator →

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