#39104C#39104C

#39104C is a dark, moderate purple. Relative luminance 0.018; OKLCH L 27.4% C 0.108 H 312.7°. Best body text is #FFFFFF at 15.53:1 contrast (WCAG AA passes).

Color values

HEX#39104C
RGBrgb(57, 16, 76)
HSLhsl(281, 65%, 18%)
HSVhsv(281, 79%, 30%)
CMYKcmyk(25%, 78.9%, 0%, 70.2%)
CIE-LABlab(14.19, 30.95, -28.11)
CIE-LCHlch(14.19, 41.81, 317.75°)
OKLaboklab(27.39% 0.0734 -0.0794)
OKLCHoklch(27.39% 0.108 312.7)
XYZxyz(3.1769, 1.7623, 7.0089)
Luminance0.0176 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39104C #234C10
analogous
#1B104C #39104C #4C1041
triadic
#39104C #4C3910 #104C39
tetradic
#39104C #4C1B10 #234C10 #10414C
square
#39104C #4C1B10 #234C10 #10414C
split-complementary
#39104C #414C10 #104C1B
monochromatic
#130519 #130519 #39104C #5F1B7F #8525B1

Accessibility & contrast

On white

15.53
#39104C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #39104C
15.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39104C#FFFFFF#000000##FFFFFF
##39104C1.0015.531.3515.53
#FFFFFF15.531.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00224E
Deuteranopia (green-blind)
#0A254B
Tritanopia (blue-blind)
#371D2D
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #39104c;
/* rgb */ color: rgb(57, 16, 76);
/* oklch */ color: oklch(27.4% 0.108 312.7);
Tailwind
colors: {
  custom: {
    50: '#72537e',
    500: '#39104c',
    950: '#000000',
  },
}
SCSS
$custom: #39104c;
$custom-light: #72537e;
$custom-dark: #000000;
JSON
{
  "hex": "#39104c",
  "rgb": {
    "r": 57,
    "g": 16,
    "b": 76
  },
  "hsl": {
    "h": 281,
    "s": 65.217,
    "l": 18.039
  },
  "oklch": {
    "l": 0.27393,
    "c": 0.10808,
    "h": 312.7
  },
  "luminance": 0.01762
}

Semantic roles & 50–950 ramp

primary
#39104C
secondary
#4D8632
accent
#E84075
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#08020A
muted
#7B787C

Preview Lab

Preview with #39104C

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

Preview Lab → · Contrast checker → · Palette generator →

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