#39184E#39184E

#39184E is a dark, moderate violet. Relative luminance 0.021; OKLCH L 28.6% C 0.098 H 309.7°. Best body text is #FFFFFF at 14.85:1 contrast (WCAG AA passes).

Color values

HEX#39184E
RGBrgb(57, 24, 78)
HSLhsl(277, 53%, 20%)
HSVhsv(277, 69%, 31%)
CMYKcmyk(26.9%, 69.2%, 0%, 69.4%)
CIE-LABlab(15.87, 27.21, -26.78)
CIE-LCHlch(15.87, 38.18, 315.46°)
OKLaboklab(28.65% 0.0628 -0.0755)
OKLCHoklch(28.65% 0.098 309.7)
XYZxyz(3.3889, 2.0732, 7.4279)
Luminance0.0207 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39184E #2D4E18
analogous
#1E184E #39184E #4E1848
triadic
#39184E #4E3918 #184E39
tetradic
#39184E #4E1E18 #2D4E18 #18484E
square
#39184E #4E1E18 #2D4E18 #18484E
split-complementary
#39184E #484E18 #184E1E
monochromatic
#110717 #170A1F #39184E #5B267D #7D35AC

Accessibility & contrast

On white

14.85
#39184E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#39184E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39184E
14.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39184E#FFFFFF#000000##FFFFFF
##39184E1.0014.851.4114.85
#FFFFFF14.851.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#012650
Deuteranopia (green-blind)
#11284D
Tritanopia (blue-blind)
#362330
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #39184e;
/* rgb */ color: rgb(57, 24, 78);
/* oklch */ color: oklch(28.6% 0.098 309.7);
Tailwind
colors: {
  custom: {
    50: '#725780',
    500: '#39184e',
    950: '#000000',
  },
}
SCSS
$custom: #39184e;
$custom-light: #725780;
$custom-dark: #000000;
JSON
{
  "hex": "#39184e",
  "rgb": {
    "r": 57,
    "g": 24,
    "b": 78
  },
  "hsl": {
    "h": 276.667,
    "s": 52.941,
    "l": 20
  },
  "oklch": {
    "l": 0.28647,
    "c": 0.09819,
    "h": 309.7
  },
  "luminance": 0.02073
}

Semantic roles & 50–950 ramp

primary
#39184E
secondary
#59853D
accent
#DC4B84
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#08030A
muted
#7B787C

Preview Lab

Preview with #39184E

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

Preview Lab → · Contrast checker → · Palette generator →

#39184E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva