#3F0A3E#3F0A3E

#3F0A3E is a dark, moderate purple. Relative luminance 0.016; OKLCH L 26.7% C 0.105 H 328.9°. Best body text is #FFFFFF at 15.86:1 contrast (WCAG AA passes).

Color values

HEX#3F0A3E
RGBrgb(63, 10, 62)
HSLhsl(301, 73%, 14%)
HSVhsv(301, 84%, 25%)
CMYKcmyk(0%, 84.1%, 1.6%, 75.3%)
CIE-LABlab(13.36, 31.94, -19.58)
CIE-LCHlch(13.36, 37.46, 328.49°)
OKLaboklab(26.7% 0.0897 -0.0542)
OKLCHoklch(26.7% 0.105 328.9)
XYZxyz(3.0279, 1.6219, 4.7101)
Luminance0.0162 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F0A3E #0A3F0B
analogous
#260A3F #3F0A3E #3F0A24
triadic
#3F0A3E #3E3F0A #0A3E3F
tetradic
#3F0A3E #3F260A #0A3F0B #0A243F
square
#3F0A3E #3F260A #0A3F0B #0A243F
split-complementary
#3F0A3E #243F0A #0A3F26
monochromatic
#1A041A #1A041A #3F0A3E #741272 #A91BA6

Accessibility & contrast

On white

15.86
#3F0A3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#3F0A3E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F0A3E
15.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F0A3E#FFFFFF#000000##FFFFFF
##3F0A3E1.0015.861.3215.86
#FFFFFF15.861.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031E3F
Deuteranopia (green-blind)
#19253D
Tritanopia (blue-blind)
#411223
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #3f0a3e;
/* rgb */ color: rgb(63, 10, 62);
/* oklch */ color: oklch(26.7% 0.105 328.9);
Tailwind
colors: {
  custom: {
    50: '#765073',
    500: '#3f0a3e',
    950: '#000000',
  },
}
SCSS
$custom: #3f0a3e;
$custom-light: #765073;
$custom-dark: #000000;
JSON
{
  "hex": "#3f0a3e",
  "rgb": {
    "r": 63,
    "g": 10,
    "b": 62
  },
  "hsl": {
    "h": 301.132,
    "s": 72.603,
    "l": 14.314
  },
  "oklch": {
    "l": 0.26697,
    "c": 0.10478,
    "h": 328.9
  },
  "luminance": 0.01622
}

Semantic roles & 50–950 ramp

primary
#3F0A3E
secondary
#297C2A
accent
#EF3C38
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#090208
muted
#7B787B

Preview Lab

Preview with #3F0A3E

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

Preview Lab → · Contrast checker → · Palette generator →

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