#39176A#39176A

#39176A is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.9% C 0.134 H 296.2°. Best body text is #FFFFFF at 13.96:1 contrast (WCAG AA passes).

Color values

HEX#39176A
RGBrgb(57, 23, 106)
HSLhsl(265, 64%, 25%)
HSVhsv(265, 78%, 42%)
CMYKcmyk(46.2%, 78.3%, 0%, 58.4%)
CIE-LABlab(18.02, 35.49, -41.99)
CIE-LCHlch(18.02, 54.98, 310.20°)
OKLaboklab(30.92% 0.0593 -0.1202)
OKLCHoklch(30.92% 0.134 296.2)
XYZxyz(4.5946, 2.5232, 13.8778)
Luminance0.0252 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39176A #486A17
analogous
#171F6A #39176A #62176A
triadic
#39176A #6A3917 #176A39
tetradic
#39176A #6A171F #486A17 #176A62
square
#39176A #6A171F #486A17 #176A62
split-complementary
#39176A #6A6217 #1F6A17
monochromatic
#0E0519 #1E0C38 #39176A #54229C #6F2DCF

Accessibility & contrast

On white

13.96
#39176A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#39176A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39176A
13.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39176A#FFFFFF#000000##FFFFFF
##39176A1.0013.961.5013.96
#FFFFFF13.961.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D6C
Deuteranopia (green-blind)
#002B68
Tritanopia (blue-blind)
#2C2D3F
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #39176a;
/* rgb */ color: rgb(57, 23, 106);
/* oklch */ color: oklch(30.9% 0.134 296.2);
Tailwind
colors: {
  custom: {
    50: '#755895',
    500: '#39176a',
    950: '#000000',
  },
}
SCSS
$custom: #39176a;
$custom-light: #755895;
$custom-dark: #000000;
JSON
{
  "hex": "#39176a",
  "rgb": {
    "r": 57,
    "g": 23,
    "b": 106
  },
  "hsl": {
    "h": 264.578,
    "s": 64.341,
    "l": 25.294
  },
  "oklch": {
    "l": 0.30924,
    "c": 0.13404,
    "h": 296.2
  },
  "luminance": 0.02523
}

Semantic roles & 50–950 ramp

primary
#39176A
secondary
#77A03D
accent
#E740A3
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030D
muted
#7B787E

Preview Lab

Preview with #39176A

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

Preview Lab → · Contrast checker → · Palette generator →

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