#39115C#39115C

#39115C is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.9% C 0.125 H 303.5°. Best body text is #FFFFFF at 14.91:1 contrast (WCAG AA passes).

Color values

HEX#39115C
RGBrgb(57, 17, 92)
HSLhsl(272, 69%, 21%)
HSVhsv(272, 82%, 36%)
CMYKcmyk(38%, 81.5%, 0%, 63.9%)
CIE-LABlab(15.71, 34.56, -36.50)
CIE-LCHlch(15.71, 50.26, 313.44°)
OKLaboklab(28.9% 0.0689 -0.104)
OKLCHoklch(28.9% 0.125 303.5)
XYZxyz(3.8191, 2.0435, 10.3164)
Luminance0.0204 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39115C #345C11
analogous
#14115C #39115C #5C115A
triadic
#39115C #5C3911 #115C39
tetradic
#39115C #5C1411 #345C11 #115A5C
square
#39115C #5C1411 #345C11 #115A5C
split-complementary
#39115C #5A5C11 #115C14
monochromatic
#10051A #190728 #39115C #591B90 #7924C3

Accessibility & contrast

On white

14.91
#39115C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#39115C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39115C
14.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39115C#FFFFFF#000000##FFFFFF
##39115C1.0014.911.4114.91
#FFFFFF14.911.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00265E
Deuteranopia (green-blind)
#00275B
Tritanopia (blue-blind)
#322436
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #39115c;
/* rgb */ color: rgb(57, 17, 92);
/* oklch */ color: oklch(28.9% 0.125 303.5);
Tailwind
colors: {
  custom: {
    50: '#74548b',
    500: '#39115c',
    950: '#000000',
  },
}
SCSS
$custom: #39115c;
$custom-light: #74548b;
$custom-dark: #000000;
JSON
{
  "hex": "#39115c",
  "rgb": {
    "r": 57,
    "g": 17,
    "b": 92
  },
  "hsl": {
    "h": 272,
    "s": 68.807,
    "l": 21.373
  },
  "oklch": {
    "l": 0.289,
    "c": 0.1248,
    "h": 303.5
  },
  "luminance": 0.02043
}

Semantic roles & 50–950 ramp

primary
#39115C
secondary
#619534
accent
#EC3C8E
background
#F7F5F8
surface
#EDE8F0
border
#C8C4CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #39115C

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

Preview Lab → · Contrast checker → · Palette generator →

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