#39157C#39157C

#39157C is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.5% C 0.157 H 290.6°. Best body text is #FFFFFF at 13.36:1 contrast (WCAG AA passes).

Color values

HEX#39157C
RGBrgb(57, 21, 124)
HSLhsl(261, 71%, 28%)
HSVhsv(261, 83%, 49%)
CMYKcmyk(54%, 83.1%, 0%, 51.4%)
CIE-LABlab(19.48, 41.55, -51.22)
CIE-LCHlch(19.48, 65.95, 309.05°)
OKLaboklab(32.49% 0.0553 -0.1472)
OKLCHoklch(32.49% 0.157 290.6)
XYZxyz(5.5926, 2.8612, 19.3225)
Luminance0.0286 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39157C #587C15
analogous
#15247C #39157C #6C157C
triadic
#39157C #7C3915 #157C39
tetradic
#39157C #7C1524 #587C15 #157C6C
square
#39157C #7C1524 #587C15 #157C6C
split-complementary
#39157C #7C6C15 #247C15
monochromatic
#0C041A #210C48 #39157C #511EB0 #6C30DC

Accessibility & contrast

On white

13.36
#39157C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#39157C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39157C
13.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39157C#FFFFFF#000000##FFFFFF
##39157C1.0013.361.5713.36
#FFFFFF13.361.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00317F
Deuteranopia (green-blind)
#002D7A
Tritanopia (blue-blind)
#203349
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #39157c;
/* rgb */ color: rgb(57, 21, 124);
/* oklch */ color: oklch(32.5% 0.157 290.6);
Tailwind
colors: {
  custom: {
    50: '#7858a3',
    500: '#39157c',
    950: '#000000',
  },
}
SCSS
$custom: #39157c;
$custom-light: #7858a3;
$custom-dark: #000000;
JSON
{
  "hex": "#39157c",
  "rgb": {
    "r": 57,
    "g": 21,
    "b": 124
  },
  "hsl": {
    "h": 260.971,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.32485,
    "c": 0.15729,
    "h": 290.6
  },
  "luminance": 0.02861
}

Semantic roles & 50–950 ramp

primary
#39157C
secondary
#88B13C
accent
#EE3AAF
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A030F
muted
#7C787F

Preview Lab

Preview with #39157C

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

Preview Lab → · Contrast checker → · Palette generator →

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