#39154D#39154D

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

Color values

HEX#39154D
RGBrgb(57, 21, 77)
HSLhsl(279, 57%, 19%)
HSVhsv(279, 73%, 30%)
CMYKcmyk(26%, 72.7%, 0%, 69.8%)
CIE-LABlab(15.18, 28.63, -27.20)
CIE-LCHlch(15.18, 39.49, 316.47°)
OKLaboklab(28.13% 0.0669 -0.0767)
OKLCHoklch(28.13% 0.102 311.1)
XYZxyz(3.2948, 1.9421, 7.2210)
Luminance0.0194 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39154D #294D15
analogous
#1D154D #39154D #4D1545
triadic
#39154D #4D3915 #154D39
tetradic
#39154D #4D1D15 #294D15 #15454D
square
#39154D #4D1D15 #294D15 #15454D
split-complementary
#39154D #454D15 #154D1D
monochromatic
#120718 #15081D #39154D #5D227D #802FAD

Accessibility & contrast

On white

15.13
#39154D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #39154D
15.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39154D#FFFFFF#000000##FFFFFF
##39154D1.0015.131.3915.13
#FFFFFF15.131.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00244F
Deuteranopia (green-blind)
#0E274C
Tritanopia (blue-blind)
#36202F
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #39154d;
/* rgb */ color: rgb(57, 21, 77);
/* oklch */ color: oklch(28.1% 0.102 311.1);
Tailwind
colors: {
  custom: {
    50: '#72557f',
    500: '#39154d',
    950: '#000000',
  },
}
SCSS
$custom: #39154d;
$custom-light: #72557f;
$custom-dark: #000000;
JSON
{
  "hex": "#39154d",
  "rgb": {
    "r": 57,
    "g": 21,
    "b": 77
  },
  "hsl": {
    "h": 278.571,
    "s": 57.143,
    "l": 19.216
  },
  "oklch": {
    "l": 0.28128,
    "c": 0.10182,
    "h": 311.1
  },
  "luminance": 0.01942
}

Semantic roles & 50–950 ramp

primary
#39154D
secondary
#548539
accent
#E0477E
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#08030A
muted
#7B787C

Preview Lab

Preview with #39154D

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

Preview Lab → · Contrast checker → · Palette generator →

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