#39167C#39167C

#39167C is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.6% C 0.156 H 290.4°. Best body text is #FFFFFF at 13.29:1 contrast (WCAG AA passes).

Color values

HEX#39167C
RGBrgb(57, 22, 124)
HSLhsl(261, 70%, 29%)
HSVhsv(261, 82%, 49%)
CMYKcmyk(54%, 82.3%, 0%, 51.4%)
CIE-LABlab(19.63, 41.10, -50.97)
CIE-LCHlch(19.63, 65.47, 308.88°)
OKLaboklab(32.59% 0.0546 -0.1465)
OKLCHoklch(32.59% 0.156 290.4)
XYZxyz(5.6113, 2.8987, 19.3287)
Luminance0.0290 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39167C #597C16
analogous
#16267C #39167C #6C167C
triadic
#39167C #7C3916 #167C39
tetradic
#39167C #7C1626 #597C16 #167C6C
square
#39167C #7C1626 #597C16 #167C6C
split-complementary
#39167C #7C6C16 #267C16
monochromatic
#0C051A #210D48 #39167C #511FB0 #6C32DB

Accessibility & contrast

On white

13.29
#39167C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#39167C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39167C
13.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39167C#FFFFFF#000000##FFFFFF
##39167C1.0013.291.5813.29
#FFFFFF13.291.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00317F
Deuteranopia (green-blind)
#002D7A
Tritanopia (blue-blind)
#203449
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #39167c;
/* rgb */ color: rgb(57, 22, 124);
/* oklch */ color: oklch(32.6% 0.156 290.4);
Tailwind
colors: {
  custom: {
    50: '#7858a3',
    500: '#39167c',
    950: '#000000',
  },
}
SCSS
$custom: #39167c;
$custom-light: #7858a3;
$custom-dark: #000000;
JSON
{
  "hex": "#39167c",
  "rgb": {
    "r": 57,
    "g": 22,
    "b": 124
  },
  "hsl": {
    "h": 260.588,
    "s": 69.863,
    "l": 28.627
  },
  "oklch": {
    "l": 0.32592,
    "c": 0.15636,
    "h": 290.4
  },
  "luminance": 0.02899
}

Semantic roles & 50–950 ramp

primary
#39167C
secondary
#89B13D
accent
#ED3BB0
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #39167C

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

Preview Lab → · Contrast checker → · Palette generator →

#39167C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva