#3F0F42#3F0F42

#3F0F42 is a dark, moderate purple. Relative luminance 0.018; OKLCH L 27.5% C 0.102 H 325.4°. Best body text is #FFFFFF at 15.46:1 contrast (WCAG AA passes).

Color values

HEX#3F0F42
RGBrgb(63, 15, 66)
HSLhsl(296, 63%, 16%)
HSVhsv(296, 77%, 26%)
CMYKcmyk(4.5%, 77.3%, 0%, 74.1%)
CIE-LABlab(14.36, 30.68, -20.83)
CIE-LCHlch(14.36, 37.08, 325.83°)
OKLaboklab(27.49% 0.0839 -0.0578)
OKLCHoklch(27.49% 0.102 325.4)
XYZxyz(3.2040, 1.7920, 5.3303)
Luminance0.0179 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F0F42 #12420F
analogous
#250F42 #3F0F42 #420F2B
triadic
#3F0F42 #423F0F #0F423F
tetradic
#3F0F42 #42250F #12420F #0F2B42
square
#3F0F42 #42250F #12420F #0F2B42
split-complementary
#3F0F42 #2B420F #0F4225
monochromatic
#180619 #180619 #3F0F42 #6F1A74 #9E26A6

Accessibility & contrast

On white

15.46
#3F0F42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#3F0F42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F0F42
15.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F0F42#FFFFFF#000000##FFFFFF
##3F0F421.0015.461.3615.46
#FFFFFF15.461.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#052143
Deuteranopia (green-blind)
#192641
Tritanopia (blue-blind)
#411727
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #3f0f42;
/* rgb */ color: rgb(63, 15, 66);
/* oklch */ color: oklch(27.5% 0.102 325.4);
Tailwind
colors: {
  custom: {
    50: '#765276',
    500: '#3f0f42',
    950: '#000000',
  },
}
SCSS
$custom: #3f0f42;
$custom-light: #765276;
$custom-dark: #000000;
JSON
{
  "hex": "#3f0f42",
  "rgb": {
    "r": 63,
    "g": 15,
    "b": 66
  },
  "hsl": {
    "h": 296.471,
    "s": 62.963,
    "l": 15.882
  },
  "oklch": {
    "l": 0.27494,
    "c": 0.10189,
    "h": 325.4
  },
  "luminance": 0.01792
}

Semantic roles & 50–950 ramp

primary
#3F0F42
secondary
#357C30
accent
#E6424B
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#090208
muted
#7B787B

Preview Lab

Preview with #3F0F42

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

Preview Lab → · Contrast checker → · Palette generator →

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