#3F0A4A#3F0A4A

#3F0A4A is a dark, moderate purple. Relative luminance 0.018; OKLCH L 27.6% C 0.116 H 319.9°. Best body text is #FFFFFF at 15.51:1 contrast (WCAG AA passes).

Color values

HEX#3F0A4A
RGBrgb(63, 10, 74)
HSLhsl(290, 76%, 16%)
HSVhsv(290, 86%, 29%)
CMYKcmyk(14.9%, 86.5%, 0%, 71%)
CIE-LABlab(14.22, 34.39, -26.62)
CIE-LCHlch(14.22, 43.49, 322.26°)
OKLaboklab(27.58% 0.0888 -0.0747)
OKLCHoklch(27.58% 0.116 319.9)
XYZxyz(3.3943, 1.7684, 6.6398)
Luminance0.0177 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F0A4A #154A0A
analogous
#1F0A4A #3F0A4A #4A0A35
triadic
#3F0A4A #4A3F0A #0A4A3F
tetradic
#3F0A4A #4A1F0A #154A0A #0A354A
square
#3F0A4A #4A1F0A #154A0A #0A354A
split-complementary
#3F0A4A #354A0A #0A4A1F
monochromatic
#17041B #17041B #3F0A4A #6D1180 #9B19B6

Accessibility & contrast

On white

15.51
#3F0A4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#3F0A4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F0A4A
15.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F0A4A#FFFFFF#000000##FFFFFF
##3F0A4A1.0015.511.3515.51
#FFFFFF15.511.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00214C
Deuteranopia (green-blind)
#102649
Tritanopia (blue-blind)
#3F182A
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #3f0a4a;
/* rgb */ color: rgb(63, 10, 74);
/* oklch */ color: oklch(27.6% 0.116 319.9);
Tailwind
colors: {
  custom: {
    50: '#77517d',
    500: '#3f0a4a',
    950: '#000000',
  },
}
SCSS
$custom: #3f0a4a;
$custom-light: #77517d;
$custom-dark: #000000;
JSON
{
  "hex": "#3f0a4a",
  "rgb": {
    "r": 63,
    "g": 10,
    "b": 74
  },
  "hsl": {
    "h": 289.688,
    "s": 76.19,
    "l": 16.471
  },
  "oklch": {
    "l": 0.27583,
    "c": 0.11602,
    "h": 319.9
  },
  "luminance": 0.01768
}

Semantic roles & 50–950 ramp

primary
#3F0A4A
secondary
#398729
accent
#F33556
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#090209
muted
#7B787B

Preview Lab

Preview with #3F0A4A

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

Preview Lab → · Contrast checker → · Palette generator →

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