#39176F#39176F

#39176F is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.4% C 0.140 H 294.4°. Best body text is #FFFFFF at 13.76:1 contrast (WCAG AA passes).

Color values

HEX#39176F
RGBrgb(57, 23, 111)
HSLhsl(263, 66%, 26%)
HSVhsv(263, 79%, 44%)
CMYKcmyk(48.6%, 79.3%, 0%, 56.5%)
CIE-LABlab(18.50, 36.91, -44.47)
CIE-LCHlch(18.50, 57.80, 309.70°)
OKLaboklab(31.4% 0.0579 -0.1275)
OKLCHoklch(31.4% 0.14 294.4)
XYZxyz(4.8622, 2.6302, 15.2873)
Luminance0.0263 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39176F #4D6F17
analogous
#17216F #39176F #65176F
triadic
#39176F #6F3917 #176F39
tetradic
#39176F #6F1721 #4D6F17 #176F65
square
#39176F #6F1721 #4D6F17 #176F65
split-complementary
#39176F #6F6517 #216F17
monochromatic
#0D0519 #1F0C3C #39176F #5322A2 #6D2DD3

Accessibility & contrast

On white

13.76
#39176F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#39176F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39176F
13.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39176F#FFFFFF#000000##FFFFFF
##39176F1.0013.761.5313.76
#FFFFFF13.761.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E71
Deuteranopia (green-blind)
#002C6D
Tritanopia (blue-blind)
#292F42
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #39176f;
/* rgb */ color: rgb(57, 23, 111);
/* oklch */ color: oklch(31.4% 0.140 294.4);
Tailwind
colors: {
  custom: {
    50: '#765899',
    500: '#39176f',
    950: '#000000',
  },
}
SCSS
$custom: #39176f;
$custom-light: #765899;
$custom-dark: #000000;
JSON
{
  "hex": "#39176f",
  "rgb": {
    "r": 57,
    "g": 23,
    "b": 111
  },
  "hsl": {
    "h": 263.182,
    "s": 65.672,
    "l": 26.275
  },
  "oklch": {
    "l": 0.31404,
    "c": 0.14002,
    "h": 294.4
  },
  "luminance": 0.0263
}

Semantic roles & 50–950 ramp

primary
#39176F
secondary
#7DA53D
accent
#E93FA7
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #39176F

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

Preview Lab → · Contrast checker → · Palette generator →

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