#39177F#39177F

#39177F is a dark, vivid violet. Relative luminance 0.030; OKLCH L 33.0% C 0.159 H 289.4°. Best body text is #FFFFFF at 13.10:1 contrast (WCAG AA passes).

Color values

HEX#39177F
RGBrgb(57, 23, 127)
HSLhsl(260, 69%, 29%)
HSVhsv(260, 82%, 50%)
CMYKcmyk(55.1%, 81.9%, 0%, 50.2%)
CIE-LABlab(20.10, 41.50, -52.10)
CIE-LCHlch(20.10, 66.61, 308.54°)
OKLaboklab(33.01% 0.0529 -0.1498)
OKLCHoklch(33.01% 0.159 289.4)
XYZxyz(5.8234, 3.0147, 20.3496)
Luminance0.0301 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39177F #5D7F17
analogous
#17297F #39177F #6D177F
triadic
#39177F #7F3917 #177F39
tetradic
#39177F #7F1729 #5D7F17 #177F6D
square
#39177F #7F1729 #5D7F17 #177F6D
split-complementary
#39177F #7F6D17 #297F17
monochromatic
#0C051A #220E4B #39177F #5020B3 #6C36DB

Accessibility & contrast

On white

13.10
#39177F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#39177F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39177F
13.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39177F#FFFFFF#000000##FFFFFF
##39177F1.0013.101.6013.10
#FFFFFF13.101.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003282
Deuteranopia (green-blind)
#002E7D
Tritanopia (blue-blind)
#1E354B
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #39177f;
/* rgb */ color: rgb(57, 23, 127);
/* oklch */ color: oklch(33.0% 0.159 289.4);
Tailwind
colors: {
  custom: {
    50: '#7859a5',
    500: '#39177f',
    950: '#000000',
  },
}
SCSS
$custom: #39177f;
$custom-light: #7859a5;
$custom-dark: #000000;
JSON
{
  "hex": "#39177f",
  "rgb": {
    "r": 57,
    "g": 23,
    "b": 127
  },
  "hsl": {
    "h": 259.615,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.33012,
    "c": 0.1589,
    "h": 289.4
  },
  "luminance": 0.03015
}

Semantic roles & 50–950 ramp

primary
#39177F
secondary
#8DB43E
accent
#EC3CB2
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #39177F

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

Preview Lab → · Contrast checker → · Palette generator →

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