#39165A#39165A

#39165A is a dark, moderate violet. Relative luminance 0.022; OKLCH L 29.3% C 0.116 H 303.5°. Best body text is #FFFFFF at 14.62:1 contrast (WCAG AA passes).

Color values

HEX#39165A
RGBrgb(57, 22, 90)
HSLhsl(271, 61%, 22%)
HSVhsv(271, 76%, 35%)
CMYKcmyk(36.7%, 75.6%, 0%, 64.7%)
CIE-LABlab(16.41, 31.54, -34.02)
CIE-LCHlch(16.41, 46.39, 312.84°)
OKLaboklab(29.34% 0.064 -0.0968)
OKLCHoklch(29.34% 0.116 303.5)
XYZxyz(3.8193, 2.1819, 9.8908)
Luminance0.0218 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39165A #375A16
analogous
#17165A #39165A #5A1659
triadic
#39165A #5A3916 #165A39
tetradic
#39165A #5A1716 #375A16 #16595A
square
#39165A #5A1716 #375A16 #16595A
split-complementary
#39165A #595A16 #165A17
monochromatic
#100619 #1A0A29 #39165A #58228B #772EBC

Accessibility & contrast

On white

14.62
#39165A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#39165A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39165A
14.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39165A#FFFFFF#000000##FFFFFF
##39165A1.0014.621.4414.62
#FFFFFF14.621.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00285C
Deuteranopia (green-blind)
#002959
Tritanopia (blue-blind)
#322636
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #39165a;
/* rgb */ color: rgb(57, 22, 90);
/* oklch */ color: oklch(29.3% 0.116 303.5);
Tailwind
colors: {
  custom: {
    50: '#735689',
    500: '#39165a',
    950: '#000000',
  },
}
SCSS
$custom: #39165a;
$custom-light: #735689;
$custom-dark: #000000;
JSON
{
  "hex": "#39165a",
  "rgb": {
    "r": 57,
    "g": 22,
    "b": 90
  },
  "hsl": {
    "h": 270.882,
    "s": 60.714,
    "l": 21.961
  },
  "oklch": {
    "l": 0.29341,
    "c": 0.11601,
    "h": 303.5
  },
  "luminance": 0.02182
}

Semantic roles & 50–950 ramp

primary
#39165A
secondary
#65913B
accent
#E44492
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030B
muted
#7B787C

Preview Lab

Preview with #39165A

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

Preview Lab → · Contrast checker → · Palette generator →

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