#39135A#39135A

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

Color values

HEX#39135A
RGBrgb(57, 19, 90)
HSLhsl(272, 65%, 21%)
HSVhsv(272, 79%, 35%)
CMYKcmyk(36.7%, 78.9%, 0%, 64.7%)
CIE-LABlab(15.87, 33.08, -34.90)
CIE-LCHlch(15.87, 48.09, 313.46°)
OKLaboklab(28.96% 0.0673 -0.0994)
OKLCHoklch(28.96% 0.12 304.1)
XYZxyz(3.7653, 2.0738, 9.8728)
Luminance0.0207 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39135A #345A13
analogous
#16135A #39135A #5A1358
triadic
#39135A #5A3913 #135A39
tetradic
#39135A #5A1613 #345A13 #13585A
square
#39135A #5A1613 #345A13 #13585A
split-complementary
#39135A #585A13 #135A16
monochromatic
#100519 #190827 #39135A #591E8D #7928BF

Accessibility & contrast

On white

14.84
#39135A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#39135A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39135A
14.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39135A#FFFFFF#000000##FFFFFF
##39135A1.0014.841.4114.84
#FFFFFF14.841.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00275C
Deuteranopia (green-blind)
#002759
Tritanopia (blue-blind)
#332435
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #39135a;
/* rgb */ color: rgb(57, 19, 90);
/* oklch */ color: oklch(29.0% 0.120 304.1);
Tailwind
colors: {
  custom: {
    50: '#735589',
    500: '#39135a',
    950: '#000000',
  },
}
SCSS
$custom: #39135a;
$custom-light: #735589;
$custom-dark: #000000;
JSON
{
  "hex": "#39135a",
  "rgb": {
    "r": 57,
    "g": 19,
    "b": 90
  },
  "hsl": {
    "h": 272.113,
    "s": 65.138,
    "l": 21.373
  },
  "oklch": {
    "l": 0.28955,
    "c": 0.12003,
    "h": 304.1
  },
  "luminance": 0.02074
}

Semantic roles & 50–950 ramp

primary
#39135A
secondary
#619237
accent
#E8408E
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030B
muted
#7B787C

Preview Lab

Preview with #39135A

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

Preview Lab → · Contrast checker → · Palette generator →

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