#39154C#39154C

#39154C is a dark, moderate violet. Relative luminance 0.019; OKLCH L 28.1% C 0.101 H 311.8°. Best body text is #FFFFFF at 15.16:1 contrast (WCAG AA passes).

Color values

HEX#39154C
RGBrgb(57, 21, 76)
HSLhsl(279, 57%, 19%)
HSVhsv(279, 72%, 30%)
CMYKcmyk(25%, 72.4%, 0%, 70.2%)
CIE-LABlab(15.11, 28.38, -26.63)
CIE-LCHlch(15.11, 38.91, 316.82°)
OKLaboklab(28.05% 0.067 -0.0751)
OKLCHoklch(28.05% 0.101 311.8)
XYZxyz(3.2598, 1.9281, 7.0365)
Luminance0.0193 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39154C #284C15
analogous
#1E154C #39154C #4C1544
triadic
#39154C #4C3915 #154C39
tetradic
#39154C #4C1E15 #284C15 #15444C
square
#39154C #4C1E15 #284C15 #15444C
split-complementary
#39154C #444C15 #154C1E
monochromatic
#120718 #15081C #39154C #5D227C #812FAC

Accessibility & contrast

On white

15.16
#39154C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#39154C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39154C
15.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39154C#FFFFFF#000000##FFFFFF
##39154C1.0015.161.3915.16
#FFFFFF15.161.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00244E
Deuteranopia (green-blind)
#10274B
Tritanopia (blue-blind)
#37202E
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #39154c;
/* rgb */ color: rgb(57, 21, 76);
/* oklch */ color: oklch(28.1% 0.101 311.8);
Tailwind
colors: {
  custom: {
    50: '#72557e',
    500: '#39154c',
    950: '#000000',
  },
}
SCSS
$custom: #39154c;
$custom-light: #72557e;
$custom-dark: #000000;
JSON
{
  "hex": "#39154c",
  "rgb": {
    "r": 57,
    "g": 21,
    "b": 76
  },
  "hsl": {
    "h": 279.273,
    "s": 56.701,
    "l": 19.02
  },
  "oklch": {
    "l": 0.2805,
    "c": 0.10063,
    "h": 311.8
  },
  "luminance": 0.01928
}

Semantic roles & 50–950 ramp

primary
#39154C
secondary
#538439
accent
#E0487C
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#08030A
muted
#7B787C

Preview Lab

Preview with #39154C

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

Preview Lab → · Contrast checker → · Palette generator →

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