#39184C#39184C

#39184C is a dark, moderate violet. Relative luminance 0.020; OKLCH L 28.5% C 0.096 H 311.0°. Best body text is #FFFFFF at 14.90:1 contrast (WCAG AA passes).

Color values

HEX#39184C
RGBrgb(57, 24, 76)
HSLhsl(278, 52%, 20%)
HSVhsv(278, 68%, 30%)
CMYKcmyk(25%, 68.4%, 0%, 70.2%)
CIE-LABlab(15.72, 26.68, -25.64)
CIE-LCHlch(15.72, 37.01, 316.14°)
OKLaboklab(28.5% 0.0628 -0.0722)
OKLCHoklch(28.5% 0.096 311)
XYZxyz(3.3182, 2.0450, 7.0560)
Luminance0.0204 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39184C #2B4C18
analogous
#1F184C #39184C #4C1845
triadic
#39184C #4C3918 #184C39
tetradic
#39184C #4C1F18 #2B4C18 #18454C
square
#39184C #4C1F18 #2B4C18 #18454C
split-complementary
#39184C #454C18 #184C1F
monochromatic
#110717 #16091D #39184C #5C277B #7F35A9

Accessibility & contrast

On white

14.90
#39184C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #39184C
14.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39184C#FFFFFF#000000##FFFFFF
##39184C1.0014.901.4114.90
#FFFFFF14.901.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03264E
Deuteranopia (green-blind)
#13284B
Tritanopia (blue-blind)
#37222F
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #39184c;
/* rgb */ color: rgb(57, 24, 76);
/* oklch */ color: oklch(28.5% 0.096 311.0);
Tailwind
colors: {
  custom: {
    50: '#71577e',
    500: '#39184c',
    950: '#000000',
  },
}
SCSS
$custom: #39184c;
$custom-light: #71577e;
$custom-dark: #000000;
JSON
{
  "hex": "#39184c",
  "rgb": {
    "r": 57,
    "g": 24,
    "b": 76
  },
  "hsl": {
    "h": 278.077,
    "s": 52,
    "l": 19.608
  },
  "oklch": {
    "l": 0.28496,
    "c": 0.0957,
    "h": 311
  },
  "luminance": 0.02045
}

Semantic roles & 50–950 ramp

primary
#39184C
secondary
#57833D
accent
#DB4C81
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#08030A
muted
#7B787C

Preview Lab

Preview with #39184C

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

Preview Lab → · Contrast checker → · Palette generator →

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