#39156F#39156F

#39156F is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.2% C 0.142 H 294.8°. Best body text is #FFFFFF at 13.90:1 contrast (WCAG AA passes).

Color values

HEX#39156F
RGBrgb(57, 21, 111)
HSLhsl(264, 68%, 26%)
HSVhsv(264, 81%, 44%)
CMYKcmyk(48.6%, 81.1%, 0%, 56.5%)
CIE-LABlab(18.16, 37.88, -45.02)
CIE-LCHlch(18.16, 58.84, 310.08°)
OKLaboklab(31.17% 0.0597 -0.1291)
OKLCHoklch(31.17% 0.142 294.8)
XYZxyz(4.8240, 2.5538, 15.2746)
Luminance0.0255 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39156F #4B6F15
analogous
#151E6F #39156F #66156F
triadic
#39156F #6F3915 #156F39
tetradic
#39156F #6F151E #4B6F15 #156F66
square
#39156F #6F151E #4B6F15 #156F66
split-complementary
#39156F #6F6615 #1E6F15
monochromatic
#0D051A #1F0B3C #39156F #531FA2 #6E28D6

Accessibility & contrast

On white

13.90
#39156F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#39156F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39156F
13.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39156F#FFFFFF#000000##FFFFFF
##39156F1.0013.901.5113.90
#FFFFFF13.901.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D72
Deuteranopia (green-blind)
#002B6D
Tritanopia (blue-blind)
#292E42
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #39156f;
/* rgb */ color: rgb(57, 21, 111);
/* oklch */ color: oklch(31.2% 0.142 294.8);
Tailwind
colors: {
  custom: {
    50: '#765799',
    500: '#39156f',
    950: '#000000',
  },
}
SCSS
$custom: #39156f;
$custom-light: #765799;
$custom-dark: #000000;
JSON
{
  "hex": "#39156f",
  "rgb": {
    "r": 57,
    "g": 21,
    "b": 111
  },
  "hsl": {
    "h": 264,
    "s": 68.182,
    "l": 25.882
  },
  "oklch": {
    "l": 0.31167,
    "c": 0.14222,
    "h": 294.8
  },
  "luminance": 0.02554
}

Semantic roles & 50–950 ramp

primary
#39156F
secondary
#7BA53A
accent
#EB3DA5
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #39156F

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

Preview Lab → · Contrast checker → · Palette generator →

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