#39176B#39176B

#39176B is a dark, vivid violet. Relative luminance 0.025; OKLCH L 31.0% C 0.135 H 295.9°. Best body text is #FFFFFF at 13.92:1 contrast (WCAG AA passes).

Color values

HEX#39176B
RGBrgb(57, 23, 107)
HSLhsl(264, 65%, 25%)
HSVhsv(264, 79%, 42%)
CMYKcmyk(46.7%, 78.5%, 0%, 58%)
CIE-LABlab(18.12, 35.77, -42.49)
CIE-LCHlch(18.12, 55.54, 310.09°)
OKLaboklab(31.02% 0.059 -0.1217)
OKLCHoklch(31.02% 0.135 295.9)
XYZxyz(4.6469, 2.5441, 14.1533)
Luminance0.0254 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39176B #496B17
analogous
#171F6B #39176B #63176B
triadic
#39176B #6B3917 #176B39
tetradic
#39176B #6B171F #496B17 #176B63
square
#39176B #6B171F #496B17 #176B63
split-complementary
#39176B #6B6317 #1F6B17
monochromatic
#0D0519 #1E0C39 #39176B #54229D #6F2DD0

Accessibility & contrast

On white

13.92
#39176B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #39176B
13.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39176B#FFFFFF#000000##FFFFFF
##39176B1.0013.921.5113.92
#FFFFFF13.921.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D6D
Deuteranopia (green-blind)
#002B69
Tritanopia (blue-blind)
#2B2D40
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #39176b;
/* rgb */ color: rgb(57, 23, 107);
/* oklch */ color: oklch(31.0% 0.135 295.9);
Tailwind
colors: {
  custom: {
    50: '#755896',
    500: '#39176b',
    950: '#000000',
  },
}
SCSS
$custom: #39176b;
$custom-light: #755896;
$custom-dark: #000000;
JSON
{
  "hex": "#39176b",
  "rgb": {
    "r": 57,
    "g": 23,
    "b": 107
  },
  "hsl": {
    "h": 264.286,
    "s": 64.615,
    "l": 25.49
  },
  "oklch": {
    "l": 0.31019,
    "c": 0.13524,
    "h": 295.9
  },
  "luminance": 0.02544
}

Semantic roles & 50–950 ramp

primary
#39176B
secondary
#78A13D
accent
#E840A4
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030D
muted
#7B787E

Preview Lab

Preview with #39176B

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

Preview Lab → · Contrast checker → · Palette generator →

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