#39117E#39117E

#39117E is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.3% C 0.163 H 290.5°. Best body text is #FFFFFF at 13.50:1 contrast (WCAG AA passes).

Color values

HEX#39117E
RGBrgb(57, 17, 126)
HSLhsl(262, 76%, 28%)
HSVhsv(262, 87%, 49%)
CMYKcmyk(54.8%, 86.5%, 0%, 50.6%)
CIE-LABlab(19.13, 43.76, -53.07)
CIE-LCHlch(19.13, 68.79, 309.50°)
OKLaboklab(32.31% 0.0572 -0.1526)
OKLCHoklch(32.31% 0.163 290.5)
XYZxyz(5.6526, 2.7769, 19.9728)
Luminance0.0278 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39117E #567E11
analogous
#11207E #39117E #6F117E
triadic
#39117E #7E3911 #117E39
tetradic
#39117E #7E1120 #567E11 #117E6F
square
#39117E #7E1120 #567E11 #117E6F
split-complementary
#39117E #7E6F11 #207E11
monochromatic
#0C041B #210A48 #39117E #5118B4 #6C27E2

Accessibility & contrast

On white

13.50
#39117E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#39117E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39117E
13.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39117E#FFFFFF#000000##FFFFFF
##39117E1.0013.501.5613.50
#FFFFFF13.501.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003081
Deuteranopia (green-blind)
#002C7C
Tritanopia (blue-blind)
#1F3349
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #39117e;
/* rgb */ color: rgb(57, 17, 126);
/* oklch */ color: oklch(32.3% 0.163 290.5);
Tailwind
colors: {
  custom: {
    50: '#7856a4',
    500: '#39117e',
    950: '#000000',
  },
}
SCSS
$custom: #39117e;
$custom-light: #7856a4;
$custom-dark: #000000;
JSON
{
  "hex": "#39117e",
  "rgb": {
    "r": 57,
    "g": 17,
    "b": 126
  },
  "hsl": {
    "h": 262.018,
    "s": 76.224,
    "l": 28.039
  },
  "oklch": {
    "l": 0.32307,
    "c": 0.16299,
    "h": 290.5
  },
  "luminance": 0.02777
}

Semantic roles & 50–950 ramp

primary
#39117E
secondary
#86B437
accent
#F335AD
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A030F
muted
#7C787F

Preview Lab

Preview with #39117E

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

Preview Lab → · Contrast checker → · Palette generator →

#39117E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva