#39135D#39135D

#39135D is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.2% C 0.124 H 302.7°. Best body text is #FFFFFF at 14.73:1 contrast (WCAG AA passes).

Color values

HEX#39135D
RGBrgb(57, 19, 93)
HSLhsl(271, 66%, 22%)
HSVhsv(271, 80%, 36%)
CMYKcmyk(38.7%, 79.6%, 0%, 63.5%)
CIE-LABlab(16.13, 33.88, -36.48)
CIE-LCHlch(16.13, 49.79, 312.88°)
OKLaboklab(29.22% 0.0666 -0.104)
OKLCHoklch(29.22% 0.124 302.7)
XYZxyz(3.8955, 2.1259, 10.5589)
Luminance0.0213 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39135D #375D13
analogous
#14135D #39135D #5D135C
triadic
#39135D #5D3913 #135D39
tetradic
#39135D #5D1413 #375D13 #135C5D
square
#39135D #5D1413 #375D13 #135C5D
split-complementary
#39135D #5C5D13 #135D14
monochromatic
#100519 #1A092A #39135D #581D90 #7728C3

Accessibility & contrast

On white

14.73
#39135D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#39135D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39135D
14.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39135D#FFFFFF#000000##FFFFFF
##39135D1.0014.731.4314.73
#FFFFFF14.731.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00275F
Deuteranopia (green-blind)
#00285C
Tritanopia (blue-blind)
#312637
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #39135d;
/* rgb */ color: rgb(57, 19, 93);
/* oklch */ color: oklch(29.2% 0.124 302.7);
Tailwind
colors: {
  custom: {
    50: '#73558c',
    500: '#39135d',
    950: '#000000',
  },
}
SCSS
$custom: #39135d;
$custom-light: #73558c;
$custom-dark: #000000;
JSON
{
  "hex": "#39135d",
  "rgb": {
    "r": 57,
    "g": 19,
    "b": 93
  },
  "hsl": {
    "h": 270.811,
    "s": 66.071,
    "l": 21.961
  },
  "oklch": {
    "l": 0.29224,
    "c": 0.12352,
    "h": 302.7
  },
  "luminance": 0.02126
}

Semantic roles & 50–950 ramp

primary
#39135D
secondary
#659537
accent
#E93F92
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #39135D

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

Preview Lab → · Contrast checker → · Palette generator →

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