#3F0A3D#3F0A3D

#3F0A3D is a dark, moderate purple. Relative luminance 0.016; OKLCH L 26.6% C 0.104 H 329.7°. Best body text is #FFFFFF at 15.88:1 contrast (WCAG AA passes).

Color values

HEX#3F0A3D
RGBrgb(63, 10, 61)
HSLhsl(302, 73%, 14%)
HSVhsv(302, 84%, 25%)
CMYKcmyk(0%, 84.1%, 3.2%, 75.3%)
CIE-LABlab(13.30, 31.75, -18.98)
CIE-LCHlch(13.30, 36.99, 329.13°)
OKLaboklab(26.63% 0.0897 -0.0524)
OKLCHoklch(26.63% 0.104 329.7)
XYZxyz(3.0007, 1.6110, 4.5669)
Luminance0.0161 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F0A3D #0A3F0C
analogous
#270A3F #3F0A3D #3F0A23
triadic
#3F0A3D #3D3F0A #0A3D3F
tetradic
#3F0A3D #3F270A #0A3F0C #0A233F
square
#3F0A3D #3F270A #0A3F0C #0A233F
split-complementary
#3F0A3D #233F0A #0A3F27
monochromatic
#1A041A #1A041A #3F0A3D #741270 #A91BA3

Accessibility & contrast

On white

15.88
#3F0A3D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F0A3D
15.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F0A3D#FFFFFF#000000##FFFFFF
##3F0A3D1.0015.881.3215.88
#FFFFFF15.881.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#041E3E
Deuteranopia (green-blind)
#1A253C
Tritanopia (blue-blind)
#421123
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #3f0a3d;
/* rgb */ color: rgb(63, 10, 61);
/* oklch */ color: oklch(26.6% 0.104 329.7);
Tailwind
colors: {
  custom: {
    50: '#765073',
    500: '#3f0a3d',
    950: '#000000',
  },
}
SCSS
$custom: #3f0a3d;
$custom-light: #765073;
$custom-dark: #000000;
JSON
{
  "hex": "#3f0a3d",
  "rgb": {
    "r": 63,
    "g": 10,
    "b": 61
  },
  "hsl": {
    "h": 302.264,
    "s": 72.603,
    "l": 14.314
  },
  "oklch": {
    "l": 0.26629,
    "c": 0.10388,
    "h": 329.7
  },
  "luminance": 0.01611
}

Semantic roles & 50–950 ramp

primary
#3F0A3D
secondary
#297C2C
accent
#EF3F38
background
#F7F4F6
surface
#EDE7EC
border
#C8C3C7
text
#090208
muted
#7B787B

Preview Lab

Preview with #3F0A3D

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

Preview Lab → · Contrast checker → · Palette generator →

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