#39176C#39176C

#39176C is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.1% C 0.136 H 295.5°. Best body text is #FFFFFF at 13.88:1 contrast (WCAG AA passes).

Color values

HEX#39176C
RGBrgb(57, 23, 108)
HSLhsl(264, 65%, 26%)
HSVhsv(264, 79%, 42%)
CMYKcmyk(47.2%, 78.7%, 0%, 57.6%)
CIE-LABlab(18.21, 36.06, -42.99)
CIE-LCHlch(18.21, 56.11, 309.99°)
OKLaboklab(31.12% 0.0588 -0.1231)
OKLCHoklch(31.12% 0.136 295.5)
XYZxyz(4.6998, 2.5652, 14.4320)
Luminance0.0256 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39176C #4A6C17
analogous
#171F6C #39176C #63176C
triadic
#39176C #6C3917 #176C39
tetradic
#39176C #6C171F #4A6C17 #176C63
square
#39176C #6C171F #4A6C17 #176C63
split-complementary
#39176C #6C6317 #1F6C17
monochromatic
#0D0519 #1E0C3A #39176C #54229E #6E2CD1

Accessibility & contrast

On white

13.88
#39176C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#39176C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39176C
13.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39176C#FFFFFF#000000##FFFFFF
##39176C1.0013.881.5113.88
#FFFFFF13.881.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D6E
Deuteranopia (green-blind)
#002B6A
Tritanopia (blue-blind)
#2B2E40
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #39176c;
/* rgb */ color: rgb(57, 23, 108);
/* oklch */ color: oklch(31.1% 0.136 295.5);
Tailwind
colors: {
  custom: {
    50: '#755897',
    500: '#39176c',
    950: '#000000',
  },
}
SCSS
$custom: #39176c;
$custom-light: #755897;
$custom-dark: #000000;
JSON
{
  "hex": "#39176c",
  "rgb": {
    "r": 57,
    "g": 23,
    "b": 108
  },
  "hsl": {
    "h": 264,
    "s": 64.885,
    "l": 25.686
  },
  "oklch": {
    "l": 0.31115,
    "c": 0.13645,
    "h": 295.5
  },
  "luminance": 0.02565
}

Semantic roles & 50–950 ramp

primary
#39176C
secondary
#7AA23D
accent
#E840A5
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030D
muted
#7B787E

Preview Lab

Preview with #39176C

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

Preview Lab → · Contrast checker → · Palette generator →

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