#39166C#39166C

#39166C is a dark, vivid violet. Relative luminance 0.025; OKLCH L 31.0% C 0.138 H 295.7°. Best body text is #FFFFFF at 13.95:1 contrast (WCAG AA passes).

Color values

HEX#39166C
RGBrgb(57, 22, 108)
HSLhsl(264, 66%, 25%)
HSVhsv(264, 80%, 42%)
CMYKcmyk(47.2%, 79.6%, 0%, 57.6%)
CIE-LABlab(18.04, 36.55, -43.27)
CIE-LCHlch(18.04, 56.65, 310.19°)
OKLaboklab(30.99% 0.0597 -0.124)
OKLCHoklch(30.99% 0.138 295.7)
XYZxyz(4.6803, 2.5263, 14.4255)
Luminance0.0253 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39166C #496C16
analogous
#161E6C #39166C #64166C
triadic
#39166C #6C3916 #166C39
tetradic
#39166C #6C161E #496C16 #166C64
square
#39166C #6C161E #496C16 #166C64
split-complementary
#39166C #6C6416 #1E6C16
monochromatic
#0D0519 #1E0C39 #39166C #54209F #6F2BD2

Accessibility & contrast

On white

13.95
#39166C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#39166C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39166C
13.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39166C#FFFFFF#000000##FFFFFF
##39166C1.0013.951.5113.95
#FFFFFF13.951.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.951.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #39166c;
/* rgb */ color: rgb(57, 22, 108);
/* oklch */ color: oklch(31.0% 0.138 295.7);
Tailwind
colors: {
  custom: {
    50: '#755797',
    500: '#39166c',
    950: '#000000',
  },
}
SCSS
$custom: #39166c;
$custom-light: #755797;
$custom-dark: #000000;
JSON
{
  "hex": "#39166c",
  "rgb": {
    "r": 57,
    "g": 22,
    "b": 108
  },
  "hsl": {
    "h": 264.419,
    "s": 66.154,
    "l": 25.49
  },
  "oklch": {
    "l": 0.30992,
    "c": 0.13759,
    "h": 295.7
  },
  "luminance": 0.02526
}

Semantic roles & 50–950 ramp

primary
#39166C
secondary
#78A23C
accent
#E93FA4
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030D
muted
#7B787E

Preview Lab

Preview with #39166C

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

Preview Lab → · Contrast checker → · Palette generator →

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