#3F0F52#3F0F52

#3F0F52 is a dark, moderate purple. Relative luminance 0.020; OKLCH L 28.7% C 0.118 H 314.2°. Best body text is #FFFFFF at 14.98:1 contrast (WCAG AA passes).

Color values

HEX#3F0F52
RGBrgb(63, 15, 82)
HSLhsl(283, 69%, 19%)
HSVhsv(283, 82%, 32%)
CMYKcmyk(23.2%, 81.7%, 0%, 67.8%)
CIE-LABlab(15.53, 34.22, -30.00)
CIE-LCHlch(15.53, 45.51, 318.76°)
OKLaboklab(28.71% 0.0825 -0.0847)
OKLCHoklch(28.71% 0.118 314.2)
XYZxyz(3.7435, 2.0077, 8.1713)
Luminance0.0201 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F0F52 #22520F
analogous
#1E0F52 #3F0F52 #520F44
triadic
#3F0F52 #523F0F #0F523F
tetradic
#3F0F52 #521E0F #22520F #0F4452
square
#3F0F52 #521E0F #22520F #0F4452
split-complementary
#3F0F52 #44520F #0F521E
monochromatic
#14051A #17061E #3F0F52 #671886 #8E22B9

Accessibility & contrast

On white

14.98
#3F0F52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#3F0F52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F0F52
14.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F0F52#FFFFFF#000000##FFFFFF
##3F0F521.0014.981.4014.98
#FFFFFF14.981.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002454
Deuteranopia (green-blind)
#0A2851
Tritanopia (blue-blind)
#3D1E30
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #3f0f52;
/* rgb */ color: rgb(63, 15, 82);
/* oklch */ color: oklch(28.7% 0.118 314.2);
Tailwind
colors: {
  custom: {
    50: '#775383',
    500: '#3f0f52',
    950: '#000000',
  },
}
SCSS
$custom: #3f0f52;
$custom-light: #775383;
$custom-dark: #000000;
JSON
{
  "hex": "#3f0f52",
  "rgb": {
    "r": 63,
    "g": 15,
    "b": 82
  },
  "hsl": {
    "h": 282.985,
    "s": 69.072,
    "l": 19.02
  },
  "oklch": {
    "l": 0.28705,
    "c": 0.1182,
    "h": 314.2
  },
  "luminance": 0.02008
}

Semantic roles & 50–950 ramp

primary
#3F0F52
secondary
#4B8C31
accent
#EC3C6E
background
#F7F4F8
surface
#EDE8EF
border
#C8C4CA
text
#09030A
muted
#7B787C

Preview Lab

Preview with #3F0F52

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

Preview Lab → · Contrast checker → · Palette generator →

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