#39135F#39135F

#39135F is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.4% C 0.126 H 301.7°. Best body text is #FFFFFF at 14.66:1 contrast (WCAG AA passes).

Color values

HEX#39135F
RGBrgb(57, 19, 95)
HSLhsl(270, 67%, 22%)
HSVhsv(270, 80%, 37%)
CMYKcmyk(40%, 80%, 0%, 62.7%)
CIE-LABlab(16.31, 34.42, -37.52)
CIE-LCHlch(16.31, 50.92, 312.53°)
OKLaboklab(29.41% 0.0661 -0.1071)
OKLCHoklch(29.41% 0.126 301.7)
XYZxyz(3.9853, 2.1618, 11.0316)
Luminance0.0216 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39135F #395F13
analogous
#13135F #39135F #5F135F
triadic
#39135F #5F3913 #135F39
tetradic
#39135F #5F1313 #395F13 #135F5F
square
#39135F #5F1313 #395F13 #135F5F
split-complementary
#39135F #5F5F13 #135F13
monochromatic
#0F051A #1A092C #39135F #581D92 #7627C5

Accessibility & contrast

On white

14.66
#39135F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #39135F
14.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39135F#FFFFFF#000000##FFFFFF
##39135F1.0014.661.4314.66
#FFFFFF14.661.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002861
Deuteranopia (green-blind)
#00285D
Tritanopia (blue-blind)
#312638
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #39135f;
/* rgb */ color: rgb(57, 19, 95);
/* oklch */ color: oklch(29.4% 0.126 301.7);
Tailwind
colors: {
  custom: {
    50: '#74558d',
    500: '#39135f',
    950: '#000000',
  },
}
SCSS
$custom: #39135f;
$custom-light: #74558d;
$custom-dark: #000000;
JSON
{
  "hex": "#39135f",
  "rgb": {
    "r": 57,
    "g": 19,
    "b": 95
  },
  "hsl": {
    "h": 270,
    "s": 66.667,
    "l": 22.353
  },
  "oklch": {
    "l": 0.29407,
    "c": 0.12584,
    "h": 301.7
  },
  "luminance": 0.02162
}

Semantic roles & 50–950 ramp

primary
#39135F
secondary
#679737
accent
#EA3E94
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #39135F

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

Preview Lab → · Contrast checker → · Palette generator →

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