#3F0C55#3F0C55

#3F0C55 is a dark, vivid purple. Relative luminance 0.020; OKLCH L 28.7% C 0.125 H 312.8°. Best body text is #FFFFFF at 15.05:1 contrast (WCAG AA passes).

Color values

HEX#3F0C55
RGBrgb(63, 12, 85)
HSLhsl(282, 75%, 19%)
HSVhsv(282, 86%, 33%)
CMYKcmyk(25.9%, 85.9%, 0%, 66.7%)
CIE-LABlab(15.36, 36.11, -32.31)
CIE-LCHlch(15.36, 48.46, 318.18°)
OKLaboklab(28.66% 0.0848 -0.0915)
OKLCHoklch(28.66% 0.125 312.8)
XYZxyz(3.8208, 1.9757, 8.7726)
Luminance0.0198 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F0C55 #22550C
analogous
#1B0C55 #3F0C55 #550C47
triadic
#3F0C55 #553F0C #0C553F
tetradic
#3F0C55 #551B0C #22550C #0C4755
square
#3F0C55 #551B0C #22550C #0C4755
split-complementary
#3F0C55 #47550C #0C551B
monochromatic
#14041B #17041F #3F0C55 #67148B #8E1BC0

Accessibility & contrast

On white

15.05
#3F0C55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F0C55
15.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F0C55#FFFFFF#000000##FFFFFF
##3F0C551.0015.051.4015.05
#FFFFFF15.051.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002457
Deuteranopia (green-blind)
#022754
Tritanopia (blue-blind)
#3C1E31
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #3f0c55;
/* rgb */ color: rgb(63, 12, 85);
/* oklch */ color: oklch(28.7% 0.125 312.8);
Tailwind
colors: {
  custom: {
    50: '#775285',
    500: '#3f0c55',
    950: '#000000',
  },
}
SCSS
$custom: #3f0c55;
$custom-light: #775285;
$custom-dark: #000000;
JSON
{
  "hex": "#3f0c55",
  "rgb": {
    "r": 63,
    "g": 12,
    "b": 85
  },
  "hsl": {
    "h": 281.918,
    "s": 75.258,
    "l": 19.02
  },
  "oklch": {
    "l": 0.28664,
    "c": 0.12472,
    "h": 312.8
  },
  "luminance": 0.01976
}

Semantic roles & 50–950 ramp

primary
#3F0C55
secondary
#4B902D
accent
#F2366F
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#09020B
muted
#7B787C

Preview Lab

Preview with #3F0C55

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

Preview Lab → · Contrast checker → · Palette generator →

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