#39104B#39104B

#39104B is a dark, moderate purple. Relative luminance 0.017; OKLCH L 27.3% C 0.107 H 313.4°. Best body text is #FFFFFF at 15.56:1 contrast (WCAG AA passes).

Color values

HEX#39104B
RGBrgb(57, 16, 75)
HSLhsl(282, 65%, 18%)
HSVhsv(282, 79%, 29%)
CMYKcmyk(24%, 78.7%, 0%, 70.6%)
CIE-LABlab(14.11, 30.70, -27.55)
CIE-LCHlch(14.11, 41.25, 318.10°)
OKLaboklab(27.31% 0.0735 -0.0777)
OKLCHoklch(27.31% 0.107 313.4)
XYZxyz(3.1424, 1.7485, 6.8272)
Luminance0.0175 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39104B #224B10
analogous
#1B104B #39104B #4B103F
triadic
#39104B #4B3910 #104B39
tetradic
#39104B #4B1B10 #224B10 #103F4B
square
#39104B #4B1B10 #224B10 #103F4B
split-complementary
#39104B #3F4B10 #104B1B
monochromatic
#130519 #130519 #39104B #5F1B7D #8626B0

Accessibility & contrast

On white

15.56
#39104B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #39104B
15.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39104B#FFFFFF#000000##FFFFFF
##39104B1.0015.561.3515.56
#FFFFFF15.561.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00224D
Deuteranopia (green-blind)
#0B254A
Tritanopia (blue-blind)
#371D2C
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #39104b;
/* rgb */ color: rgb(57, 16, 75);
/* oklch */ color: oklch(27.3% 0.107 313.4);
Tailwind
colors: {
  custom: {
    50: '#72527e',
    500: '#39104b',
    950: '#000000',
  },
}
SCSS
$custom: #39104b;
$custom-light: #72527e;
$custom-dark: #000000;
JSON
{
  "hex": "#39104b",
  "rgb": {
    "r": 57,
    "g": 16,
    "b": 75
  },
  "hsl": {
    "h": 281.695,
    "s": 64.835,
    "l": 17.843
  },
  "oklch": {
    "l": 0.27312,
    "c": 0.10697,
    "h": 313.4
  },
  "luminance": 0.01748
}

Semantic roles & 50–950 ramp

primary
#39104B
secondary
#4B8532
accent
#E84073
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#08020A
muted
#7B787C

Preview Lab

Preview with #39104B

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

Preview Lab → · Contrast checker → · Palette generator →

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