#39135C#39135C

#39135C is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.1% C 0.122 H 303.1°. Best body text is #FFFFFF at 14.77:1 contrast (WCAG AA passes).

Color values

HEX#39135C
RGBrgb(57, 19, 92)
HSLhsl(271, 66%, 22%)
HSVhsv(271, 79%, 36%)
CMYKcmyk(38%, 79.3%, 0%, 63.9%)
CIE-LABlab(16.05, 33.61, -35.96)
CIE-LCHlch(16.05, 49.22, 313.07°)
OKLaboklab(29.13% 0.0669 -0.1025)
OKLCHoklch(29.13% 0.122 303.1)
XYZxyz(3.8515, 2.1083, 10.3272)
Luminance0.0211 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39135C #365C13
analogous
#15135C #39135C #5C135B
triadic
#39135C #5C3913 #135C39
tetradic
#39135C #5C1513 #365C13 #135B5C
square
#39135C #5C1513 #365C13 #135B5C
split-complementary
#39135C #5B5C13 #135C15
monochromatic
#100519 #1A0929 #39135C #581D8F #7828C1

Accessibility & contrast

On white

14.77
#39135C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #39135C
14.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39135C#FFFFFF#000000##FFFFFF
##39135C1.0014.771.4214.77
#FFFFFF14.771.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #39135c;
/* rgb */ color: rgb(57, 19, 92);
/* oklch */ color: oklch(29.1% 0.122 303.1);
Tailwind
colors: {
  custom: {
    50: '#73558b',
    500: '#39135c',
    950: '#000000',
  },
}
SCSS
$custom: #39135c;
$custom-light: #73558b;
$custom-dark: #000000;
JSON
{
  "hex": "#39135c",
  "rgb": {
    "r": 57,
    "g": 19,
    "b": 92
  },
  "hsl": {
    "h": 271.233,
    "s": 65.766,
    "l": 21.765
  },
  "oklch": {
    "l": 0.29134,
    "c": 0.12236,
    "h": 303.1
  },
  "luminance": 0.02108
}

Semantic roles & 50–950 ramp

primary
#39135C
secondary
#639437
accent
#E93F90
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #39135C

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

Preview Lab → · Contrast checker → · Palette generator →

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