#39154B#39154B

#39154B is a dark, moderate purple. Relative luminance 0.019; OKLCH L 28.0% C 0.099 H 312.4°. Best body text is #FFFFFF at 15.19:1 contrast (WCAG AA passes).

Color values

HEX#39154B
RGBrgb(57, 21, 75)
HSLhsl(280, 56%, 19%)
HSVhsv(280, 72%, 29%)
CMYKcmyk(24%, 72%, 0%, 70.6%)
CIE-LABlab(15.03, 28.12, -26.06)
CIE-LCHlch(15.03, 38.34, 317.18°)
OKLaboklab(27.97% 0.0671 -0.0734)
OKLCHoklch(27.97% 0.099 312.4)
XYZxyz(3.2253, 1.9143, 6.8548)
Luminance0.0191 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39154B #274B15
analogous
#1E154B #39154B #4B1542
triadic
#39154B #4B3915 #154B39
tetradic
#39154B #4B1E15 #274B15 #15424B
square
#39154B #4B1E15 #274B15 #15424B
split-complementary
#39154B #424B15 #154B1E
monochromatic
#120718 #15081B #39154B #5D227B #8230AB

Accessibility & contrast

On white

15.19
#39154B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#39154B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39154B
15.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39154B#FFFFFF#000000##FFFFFF
##39154B1.0015.191.3815.19
#FFFFFF15.191.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00244D
Deuteranopia (green-blind)
#11274A
Tritanopia (blue-blind)
#37202D
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #39154b;
/* rgb */ color: rgb(57, 21, 75);
/* oklch */ color: oklch(28.0% 0.099 312.4);
Tailwind
colors: {
  custom: {
    50: '#72557e',
    500: '#39154b',
    950: '#000000',
  },
}
SCSS
$custom: #39154b;
$custom-light: #72557e;
$custom-dark: #000000;
JSON
{
  "hex": "#39154b",
  "rgb": {
    "r": 57,
    "g": 21,
    "b": 75
  },
  "hsl": {
    "h": 280,
    "s": 56.25,
    "l": 18.824
  },
  "oklch": {
    "l": 0.27973,
    "c": 0.09944,
    "h": 312.4
  },
  "luminance": 0.01914
}

Semantic roles & 50–950 ramp

primary
#39154B
secondary
#528339
accent
#E0487B
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#08030A
muted
#7B787C

Preview Lab

Preview with #39154B

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

Preview Lab → · Contrast checker → · Palette generator →

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