#39104A#39104A

#39104A is a dark, moderate purple. Relative luminance 0.017; OKLCH L 27.2% C 0.106 H 314.1°. Best body text is #FFFFFF at 15.59:1 contrast (WCAG AA passes).

Color values

HEX#39104A
RGBrgb(57, 16, 74)
HSLhsl(282, 64%, 18%)
HSVhsv(282, 78%, 29%)
CMYKcmyk(23%, 78.4%, 0%, 71%)
CIE-LABlab(14.03, 30.46, -26.98)
CIE-LCHlch(14.03, 40.69, 318.46°)
OKLaboklab(27.23% 0.0736 -0.0761)
OKLCHoklch(27.23% 0.106 314.1)
XYZxyz(3.1085, 1.7350, 6.6484)
Luminance0.0174 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39104A #214A10
analogous
#1C104A #39104A #4A103E
triadic
#39104A #4A3910 #104A39
tetradic
#39104A #4A1C10 #214A10 #103E4A
square
#39104A #4A1C10 #214A10 #103E4A
split-complementary
#39104A #3E4A10 #104A1C
monochromatic
#130519 #130519 #39104A #601B7C #8726AF

Accessibility & contrast

On white

15.59
#39104A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#39104A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39104A
15.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39104A#FFFFFF#000000##FFFFFF
##39104A1.0015.591.3515.59
#FFFFFF15.591.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00214C
Deuteranopia (green-blind)
#0D2549
Tritanopia (blue-blind)
#371C2B
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #39104a;
/* rgb */ color: rgb(57, 16, 74);
/* oklch */ color: oklch(27.2% 0.106 314.1);
Tailwind
colors: {
  custom: {
    50: '#72527d',
    500: '#39104a',
    950: '#000000',
  },
}
SCSS
$custom: #39104a;
$custom-light: #72527d;
$custom-dark: #000000;
JSON
{
  "hex": "#39104a",
  "rgb": {
    "r": 57,
    "g": 16,
    "b": 74
  },
  "hsl": {
    "h": 282.414,
    "s": 64.444,
    "l": 17.647
  },
  "oklch": {
    "l": 0.27231,
    "c": 0.10586,
    "h": 314.1
  },
  "luminance": 0.01735
}

Semantic roles & 50–950 ramp

primary
#39104A
secondary
#4A8432
accent
#E74071
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#080209
muted
#7B787B

Preview Lab

Preview with #39104A

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

Preview Lab → · Contrast checker → · Palette generator →

#39104A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva