#3F0942#3F0942

#3F0942 is a dark, moderate purple. Relative luminance 0.016; OKLCH L 26.9% C 0.110 H 325.7°. Best body text is #FFFFFF at 15.80:1 contrast (WCAG AA passes).

Color values

HEX#3F0942
RGBrgb(63, 9, 66)
HSLhsl(297, 76%, 15%)
HSVhsv(297, 86%, 26%)
CMYKcmyk(4.5%, 86.4%, 0%, 74.1%)
CIE-LABlab(13.51, 33.10, -22.18)
CIE-LCHlch(13.51, 39.84, 326.18°)
OKLaboklab(26.89% 0.0906 -0.0617)
OKLCHoklch(26.89% 0.11 325.7)
XYZxyz(3.1309, 1.6457, 5.3059)
Luminance0.0164 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F0942 #0C4209
analogous
#230942 #3F0942 #420929
triadic
#3F0942 #423F09 #09423F
tetradic
#3F0942 #422309 #0C4209 #092942
square
#3F0942 #422309 #0C4209 #092942
split-complementary
#3F0942 #294209 #094223
monochromatic
#1A041B #1A041B #3F0942 #721078 #A618AE

Accessibility & contrast

On white

15.80
#3F0942 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#3F0942 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F0942
15.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F0942#FFFFFF#000000##FFFFFF
##3F09421.0015.801.3315.80
#FFFFFF15.801.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E44
Deuteranopia (green-blind)
#162541
Tritanopia (blue-blind)
#411325
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #3f0942;
/* rgb */ color: rgb(63, 9, 66);
/* oklch */ color: oklch(26.9% 0.110 325.7);
Tailwind
colors: {
  custom: {
    50: '#775077',
    500: '#3f0942',
    950: '#000000',
  },
}
SCSS
$custom: #3f0942;
$custom-light: #775077;
$custom-dark: #000000;
JSON
{
  "hex": "#3f0942",
  "rgb": {
    "r": 63,
    "g": 9,
    "b": 66
  },
  "hsl": {
    "h": 296.842,
    "s": 76,
    "l": 14.706
  },
  "oklch": {
    "l": 0.26887,
    "c": 0.10964,
    "h": 325.7
  },
  "luminance": 0.01645
}

Semantic roles & 50–950 ramp

primary
#3F0942
secondary
#2C8027
accent
#F3353F
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#090208
muted
#7B787B

Preview Lab

Preview with #3F0942

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

Preview Lab → · Contrast checker → · Palette generator →

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