#3F0B52#3F0B52

#3F0B52 is a dark, vivid purple. Relative luminance 0.019; OKLCH L 28.3% C 0.123 H 314.7°. Best body text is #FFFFFF at 15.21:1 contrast (WCAG AA passes).

Color values

HEX#3F0B52
RGBrgb(63, 11, 82)
HSLhsl(284, 76%, 18%)
HSVhsv(284, 87%, 32%)
CMYKcmyk(23.2%, 86.6%, 0%, 67.8%)
CIE-LABlab(14.98, 35.79, -30.88)
CIE-LCHlch(14.98, 47.27, 319.21°)
OKLaboklab(28.32% 0.0864 -0.0873)
OKLCHoklch(28.32% 0.123 314.7)
XYZxyz(3.6923, 1.9054, 8.1543)
Luminance0.0191 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F0B52 #1E520B
analogous
#1B0B52 #3F0B52 #520B41
triadic
#3F0B52 #523F0B #0B523F
tetradic
#3F0B52 #521B0B #1E520B #0B4152
square
#3F0B52 #521B0B #1E520B #0B4152
split-complementary
#3F0B52 #41520B #0B521B
monochromatic
#15041B #16041C #3F0B52 #681288 #9219BE

Accessibility & contrast

On white

15.21
#3F0B52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#3F0B52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F0B52
15.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F0B52#FFFFFF#000000##FFFFFF
##3F0B521.0015.211.3815.21
#FFFFFF15.211.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002354
Deuteranopia (green-blind)
#062751
Tritanopia (blue-blind)
#3D1C2F
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #3f0b52;
/* rgb */ color: rgb(63, 11, 82);
/* oklch */ color: oklch(28.3% 0.123 314.7);
Tailwind
colors: {
  custom: {
    50: '#775283',
    500: '#3f0b52',
    950: '#000000',
  },
}
SCSS
$custom: #3f0b52;
$custom-light: #775283;
$custom-dark: #000000;
JSON
{
  "hex": "#3f0b52",
  "rgb": {
    "r": 63,
    "g": 11,
    "b": 82
  },
  "hsl": {
    "h": 283.944,
    "s": 76.344,
    "l": 18.235
  },
  "oklch": {
    "l": 0.28321,
    "c": 0.12278,
    "h": 314.7
  },
  "luminance": 0.01905
}

Semantic roles & 50–950 ramp

primary
#3F0B52
secondary
#458E2B
accent
#F33568
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#09020B
muted
#7B787C

Preview Lab

Preview with #3F0B52

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

Preview Lab → · Contrast checker → · Palette generator →

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