#3F0A3A#3F0A3A

#3F0A3A is a dark, moderate purple. Relative luminance 0.016; OKLCH L 26.4% C 0.101 H 332.3°. Best body text is #FFFFFF at 15.96:1 contrast (WCAG AA passes).

Color values

HEX#3F0A3A
RGBrgb(63, 10, 58)
HSLhsl(306, 73%, 14%)
HSVhsv(306, 84%, 25%)
CMYKcmyk(0%, 84.1%, 7.9%, 75.3%)
CIE-LABlab(13.11, 31.18, -17.14)
CIE-LCHlch(13.11, 35.58, 331.20°)
OKLaboklab(26.43% 0.0896 -0.0471)
OKLCHoklch(26.43% 0.101 332.3)
XYZxyz(2.9222, 1.5796, 4.1532)
Luminance0.0158 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F0A3A #0A3F0F
analogous
#2A0A3F #3F0A3A #3F0A20
triadic
#3F0A3A #3A3F0A #0A3A3F
tetradic
#3F0A3A #3F2A0A #0A3F0F #0A203F
square
#3F0A3A #3F2A0A #0A3F0F #0A203F
split-complementary
#3F0A3A #203F0A #0A3F2A
monochromatic
#1A0418 #1A0418 #3F0A3A #74126B #A91B9B

Accessibility & contrast

On white

15.96
#3F0A3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F0A3A
15.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F0A3A#FFFFFF#000000##FFFFFF
##3F0A3A1.0015.961.3215.96
#FFFFFF15.961.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#071D3B
Deuteranopia (green-blind)
#1B2439
Tritanopia (blue-blind)
#421021
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #3f0a3a;
/* rgb */ color: rgb(63, 10, 58);
/* oklch */ color: oklch(26.4% 0.101 332.3);
Tailwind
colors: {
  custom: {
    50: '#765070',
    500: '#3f0a3a',
    950: '#000000',
  },
}
SCSS
$custom: #3f0a3a;
$custom-light: #765070;
$custom-dark: #000000;
JSON
{
  "hex": "#3f0a3a",
  "rgb": {
    "r": 63,
    "g": 10,
    "b": 58
  },
  "hsl": {
    "h": 305.66,
    "s": 72.603,
    "l": 14.314
  },
  "oklch": {
    "l": 0.26429,
    "c": 0.10122,
    "h": 332.3
  },
  "luminance": 0.01579
}

Semantic roles & 50–950 ramp

primary
#3F0A3A
secondary
#297C30
accent
#EF4A38
background
#F7F4F6
surface
#EDE7EC
border
#C8C3C7
text
#090207
muted
#7B787A

Preview Lab

Preview with #3F0A3A

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

Preview Lab → · Contrast checker → · Palette generator →

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