#39108D#39108D

#39108D is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.9% C 0.180 H 286.6°. Best body text is #FFFFFF at 12.86:1 contrast (WCAG AA passes).

Color values

HEX#39108D
RGBrgb(57, 16, 141)
HSLhsl(260, 80%, 31%)
HSVhsv(260, 89%, 55%)
CMYKcmyk(59.6%, 88.7%, 0%, 44.7%)
CIE-LABlab(20.69, 48.20, -59.95)
CIE-LCHlch(20.69, 76.93, 308.80°)
OKLaboklab(33.87% 0.0516 -0.1727)
OKLCHoklch(33.87% 0.18 286.6)
XYZxyz(6.6789, 3.1631, 25.4527)
Luminance0.0316 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39108D #648D10
analogous
#10258D #39108D #77108D
triadic
#39108D #8D3910 #108D39
tetradic
#39108D #8D1025 #648D10 #108D77
square
#39108D #8D1025 #648D10 #108D77
split-complementary
#39108D #8D7710 #258D10
monochromatic
#0D041F #230A56 #39108D #4F16C4 #6C30E7

Accessibility & contrast

On white

12.86
#39108D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#39108D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39108D
12.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39108D#FFFFFF#000000##FFFFFF
##39108D1.0012.861.6312.86
#FFFFFF12.861.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003590
Deuteranopia (green-blind)
#002E8B
Tritanopia (blue-blind)
#0B3952
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #39108d;
/* rgb */ color: rgb(57, 16, 141);
/* oklch */ color: oklch(33.9% 0.180 286.6);
Tailwind
colors: {
  custom: {
    50: '#7b57b0',
    500: '#39108d',
    950: '#000000',
  },
}
SCSS
$custom: #39108d;
$custom-light: #7b57b0;
$custom-dark: #000000;
JSON
{
  "hex": "#39108d",
  "rgb": {
    "r": 57,
    "g": 16,
    "b": 141
  },
  "hsl": {
    "h": 259.68,
    "s": 79.618,
    "l": 30.784
  },
  "oklch": {
    "l": 0.33869,
    "c": 0.18022,
    "h": 286.6
  },
  "luminance": 0.03164
}

Semantic roles & 50–950 ramp

primary
#39108D
secondary
#94C237
accent
#F632B6
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0311
muted
#7C7880

Preview Lab

Preview with #39108D

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

Preview Lab → · Contrast checker → · Palette generator →

#39108D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva