#39135B#39135B

#39135B is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.0% C 0.121 H 303.6°. Best body text is #FFFFFF at 14.81:1 contrast (WCAG AA passes).

Color values

HEX#39135B
RGBrgb(57, 19, 91)
HSLhsl(272, 65%, 22%)
HSVhsv(272, 79%, 36%)
CMYKcmyk(37.4%, 79.1%, 0%, 64.3%)
CIE-LABlab(15.96, 33.34, -35.43)
CIE-LCHlch(15.96, 48.65, 313.26°)
OKLaboklab(29.04% 0.0671 -0.1009)
OKLCHoklch(29.04% 0.121 303.6)
XYZxyz(3.8081, 2.0909, 10.0985)
Luminance0.0209 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39135B #355B13
analogous
#15135B #39135B #5B1359
triadic
#39135B #5B3913 #135B39
tetradic
#39135B #5B1513 #355B13 #13595B
square
#39135B #5B1513 #355B13 #13595B
split-complementary
#39135B #595B13 #135B15
monochromatic
#100519 #190828 #39135B #591E8E #7828C0

Accessibility & contrast

On white

14.81
#39135B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#39135B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39135B
14.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39135B#FFFFFF#000000##FFFFFF
##39135B1.0014.811.4214.81
#FFFFFF14.811.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00275D
Deuteranopia (green-blind)
#00285A
Tritanopia (blue-blind)
#322536
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #39135b;
/* rgb */ color: rgb(57, 19, 91);
/* oklch */ color: oklch(29.0% 0.121 303.6);
Tailwind
colors: {
  custom: {
    50: '#73558a',
    500: '#39135b',
    950: '#000000',
  },
}
SCSS
$custom: #39135b;
$custom-light: #73558a;
$custom-dark: #000000;
JSON
{
  "hex": "#39135b",
  "rgb": {
    "r": 57,
    "g": 19,
    "b": 91
  },
  "hsl": {
    "h": 271.667,
    "s": 65.455,
    "l": 21.569
  },
  "oklch": {
    "l": 0.29044,
    "c": 0.1212,
    "h": 303.6
  },
  "luminance": 0.02091
}

Semantic roles & 50–950 ramp

primary
#39135B
secondary
#629337
accent
#E83F8F
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #39135B

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

Preview Lab → · Contrast checker → · Palette generator →

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