#39115A#39115A

#39115A is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.7% C 0.123 H 304.5°. Best body text is #FFFFFF at 14.98:1 contrast (WCAG AA passes).

Color values

HEX#39115A
RGBrgb(57, 17, 90)
HSLhsl(273, 68%, 21%)
HSVhsv(273, 81%, 35%)
CMYKcmyk(36.7%, 81.1%, 0%, 64.7%)
CIE-LABlab(15.53, 34.03, -35.45)
CIE-LCHlch(15.53, 49.14, 313.83°)
OKLaboklab(28.72% 0.0695 -0.1009)
OKLCHoklch(28.72% 0.123 304.5)
XYZxyz(3.7328, 2.0090, 9.8620)
Luminance0.0201 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39115A #325A11
analogous
#15115A #39115A #5A1156
triadic
#39115A #5A3911 #115A39
tetradic
#39115A #5A1511 #325A11 #11565A
square
#39115A #5A1511 #325A11 #11565A
split-complementary
#39115A #565A11 #115A15
monochromatic
#10051A #180727 #39115A #5A1B8D #7A24C1

Accessibility & contrast

On white

14.98
#39115A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#39115A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39115A
14.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39115A#FFFFFF#000000##FFFFFF
##39115A1.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)
#00265C
Deuteranopia (green-blind)
#002759
Tritanopia (blue-blind)
#332335
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #39115a;
/* rgb */ color: rgb(57, 17, 90);
/* oklch */ color: oklch(28.7% 0.123 304.5);
Tailwind
colors: {
  custom: {
    50: '#735489',
    500: '#39115a',
    950: '#000000',
  },
}
SCSS
$custom: #39115a;
$custom-light: #735489;
$custom-dark: #000000;
JSON
{
  "hex": "#39115a",
  "rgb": {
    "r": 57,
    "g": 17,
    "b": 90
  },
  "hsl": {
    "h": 272.877,
    "s": 68.224,
    "l": 20.98
  },
  "oklch": {
    "l": 0.28718,
    "c": 0.12253,
    "h": 304.5
  },
  "luminance": 0.02009
}

Semantic roles & 50–950 ramp

primary
#39115A
secondary
#5F9334
accent
#EB3D8C
background
#F7F5F8
surface
#EDE8F0
border
#C8C4CB
text
#08030B
muted
#7B787C

Preview Lab

Preview with #39115A

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

Preview Lab → · Contrast checker → · Palette generator →

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