#39115D#39115D

#39115D is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.0% C 0.126 H 303.0°. Best body text is #FFFFFF at 14.87:1 contrast (WCAG AA passes).

Color values

HEX#39115D
RGBrgb(57, 17, 93)
HSLhsl(272, 69%, 22%)
HSVhsv(272, 82%, 36%)
CMYKcmyk(38.7%, 81.7%, 0%, 63.5%)
CIE-LABlab(15.80, 34.82, -37.02)
CIE-LCHlch(15.80, 50.82, 313.25°)
OKLaboklab(28.99% 0.0687 -0.1056)
OKLCHoklch(28.99% 0.126 303)
XYZxyz(3.8631, 2.0611, 10.5481)
Luminance0.0206 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39115D #355D11
analogous
#13115D #39115D #5D115B
triadic
#39115D #5D3911 #115D39
tetradic
#39115D #5D1311 #355D11 #115B5D
square
#39115D #5D1311 #355D11 #115B5D
split-complementary
#39115D #5B5D11 #115D13
monochromatic
#10051A #190829 #39115D #591A91 #7824C4

Accessibility & contrast

On white

14.87
#39115D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #39115D
14.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39115D#FFFFFF#000000##FFFFFF
##39115D1.0014.871.4114.87
#FFFFFF14.871.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00275F
Deuteranopia (green-blind)
#00275B
Tritanopia (blue-blind)
#322536
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #39115d;
/* rgb */ color: rgb(57, 17, 93);
/* oklch */ color: oklch(29.0% 0.126 303.0);
Tailwind
colors: {
  custom: {
    50: '#74548c',
    500: '#39115d',
    950: '#000000',
  },
}
SCSS
$custom: #39115d;
$custom-light: #74548c;
$custom-dark: #000000;
JSON
{
  "hex": "#39115d",
  "rgb": {
    "r": 57,
    "g": 17,
    "b": 93
  },
  "hsl": {
    "h": 271.579,
    "s": 69.091,
    "l": 21.569
  },
  "oklch": {
    "l": 0.28992,
    "c": 0.12593,
    "h": 303
  },
  "luminance": 0.02061
}

Semantic roles & 50–950 ramp

primary
#39115D
secondary
#629634
accent
#EC3C8F
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #39115D

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

Preview Lab → · Contrast checker → · Palette generator →

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