#39164F#39164F

#39164F is a dark, moderate violet. Relative luminance 0.020; OKLCH L 28.4% C 0.103 H 309.6°. Best body text is #FFFFFF at 14.98:1 contrast (WCAG AA passes).

Color values

HEX#39164F
RGBrgb(57, 22, 79)
HSLhsl(277, 56%, 20%)
HSVhsv(277, 72%, 31%)
CMYKcmyk(27.8%, 72.2%, 0%, 69%)
CIE-LABlab(15.53, 28.60, -28.00)
CIE-LCHlch(15.53, 40.03, 315.61°)
OKLaboklab(28.43% 0.0654 -0.0791)
OKLCHoklch(28.43% 0.103 309.6)
XYZxyz(3.3853, 2.0083, 7.6049)
Luminance0.0201 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39164F #2C4F16
analogous
#1C164F #39164F #4F1649
triadic
#39164F #4F3916 #164F39
tetradic
#39164F #4F1C16 #2C4F16 #16494F
square
#39164F #4F1C16 #2C4F16 #16494F
split-complementary
#39164F #494F16 #164F1C
monochromatic
#110718 #16091F #39164F #5C237F #7E31AF

Accessibility & contrast

On white

14.98
#39164F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#39164F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39164F
14.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39164F#FFFFFF#000000##FFFFFF
##39164F1.0014.981.4014.98
#FFFFFF14.981.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002551
Deuteranopia (green-blind)
#0D274E
Tritanopia (blue-blind)
#362230
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #39164f;
/* rgb */ color: rgb(57, 22, 79);
/* oklch */ color: oklch(28.4% 0.103 309.6);
Tailwind
colors: {
  custom: {
    50: '#725681',
    500: '#39164f',
    950: '#000000',
  },
}
SCSS
$custom: #39164f;
$custom-light: #725681;
$custom-dark: #000000;
JSON
{
  "hex": "#39164f",
  "rgb": {
    "r": 57,
    "g": 22,
    "b": 79
  },
  "hsl": {
    "h": 276.842,
    "s": 56.436,
    "l": 19.804
  },
  "oklch": {
    "l": 0.28429,
    "c": 0.10265,
    "h": 309.6
  },
  "luminance": 0.02008
}

Semantic roles & 50–950 ramp

primary
#39164F
secondary
#58863A
accent
#E04883
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#08030A
muted
#7B787C

Preview Lab

Preview with #39164F

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

Preview Lab → · Contrast checker → · Palette generator →

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