#39115B#39115B

#39115B is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.8% C 0.124 H 304.0°. Best body text is #FFFFFF at 14.94:1 contrast (WCAG AA passes).

Color values

HEX#39115B
RGBrgb(57, 17, 91)
HSLhsl(272, 69%, 21%)
HSVhsv(272, 81%, 36%)
CMYKcmyk(37.4%, 81.3%, 0%, 64.3%)
CIE-LABlab(15.62, 34.30, -35.97)
CIE-LCHlch(15.62, 49.70, 313.63°)
OKLaboklab(28.81% 0.0692 -0.1025)
OKLCHoklch(28.81% 0.124 304)
XYZxyz(3.7757, 2.0261, 10.0877)
Luminance0.0203 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39115B #335B11
analogous
#14115B #39115B #5B1158
triadic
#39115B #5B3911 #115B39
tetradic
#39115B #5B1411 #335B11 #11585B
square
#39115B #5B1411 #335B11 #11585B
split-complementary
#39115B #585B11 #115B14
monochromatic
#10051A #190727 #39115B #591B8F #7A24C2

Accessibility & contrast

On white

14.94
#39115B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #39115B
14.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39115B#FFFFFF#000000##FFFFFF
##39115B1.0014.941.4114.94
#FFFFFF14.941.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00265D
Deuteranopia (green-blind)
#00275A
Tritanopia (blue-blind)
#322435
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #39115b;
/* rgb */ color: rgb(57, 17, 91);
/* oklch */ color: oklch(28.8% 0.124 304.0);
Tailwind
colors: {
  custom: {
    50: '#73548a',
    500: '#39115b',
    950: '#000000',
  },
}
SCSS
$custom: #39115b;
$custom-light: #73548a;
$custom-dark: #000000;
JSON
{
  "hex": "#39115b",
  "rgb": {
    "r": 57,
    "g": 17,
    "b": 91
  },
  "hsl": {
    "h": 272.432,
    "s": 68.519,
    "l": 21.176
  },
  "oklch": {
    "l": 0.28809,
    "c": 0.12367,
    "h": 304
  },
  "luminance": 0.02026
}

Semantic roles & 50–950 ramp

primary
#39115B
secondary
#609434
accent
#EB3C8D
background
#F7F5F8
surface
#EDE8F0
border
#C8C4CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #39115B

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

Preview Lab → · Contrast checker → · Palette generator →

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