#39166A#39166A

#39166A is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.8% C 0.135 H 296.5°. Best body text is #FFFFFF at 14.03:1 contrast (WCAG AA passes).

Color values

HEX#39166A
RGBrgb(57, 22, 106)
HSLhsl(265, 66%, 25%)
HSVhsv(265, 79%, 42%)
CMYKcmyk(46.2%, 79.2%, 0%, 58.4%)
CIE-LABlab(17.85, 35.99, -42.28)
CIE-LCHlch(17.85, 55.52, 310.41°)
OKLaboklab(30.8% 0.0603 -0.121)
OKLCHoklch(30.8% 0.135 296.5)
XYZxyz(4.5751, 2.4842, 13.8713)
Luminance0.0248 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39166A #476A16
analogous
#161D6A #39166A #63166A
triadic
#39166A #6A3916 #166A39
tetradic
#39166A #6A161D #476A16 #166A63
square
#39166A #6A161D #476A16 #166A63
split-complementary
#39166A #6A6316 #1D6A16
monochromatic
#0E0519 #1E0B37 #39166A #54219D #702BCF

Accessibility & contrast

On white

14.03
#39166A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#39166A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39166A
14.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39166A#FFFFFF#000000##FFFFFF
##39166A1.0014.031.5014.03
#FFFFFF14.031.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C6C
Deuteranopia (green-blind)
#002B68
Tritanopia (blue-blind)
#2C2C3F
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #39166a;
/* rgb */ color: rgb(57, 22, 106);
/* oklch */ color: oklch(30.8% 0.135 296.5);
Tailwind
colors: {
  custom: {
    50: '#755795',
    500: '#39166a',
    950: '#000000',
  },
}
SCSS
$custom: #39166a;
$custom-light: #755795;
$custom-dark: #000000;
JSON
{
  "hex": "#39166a",
  "rgb": {
    "r": 57,
    "g": 22,
    "b": 106
  },
  "hsl": {
    "h": 265,
    "s": 65.625,
    "l": 25.098
  },
  "oklch": {
    "l": 0.308,
    "c": 0.13522,
    "h": 296.5
  },
  "luminance": 0.02484
}

Semantic roles & 50–950 ramp

primary
#39166A
secondary
#76A03B
accent
#E93FA2
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030D
muted
#7B787E

Preview Lab

Preview with #39166A

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

Preview Lab → · Contrast checker → · Palette generator →

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