#39184F#39184F

#39184F is a dark, moderate violet. Relative luminance 0.021; OKLCH L 28.7% C 0.099 H 309.1°. Best body text is #FFFFFF at 14.81:1 contrast (WCAG AA passes).

Color values

HEX#39184F
RGBrgb(57, 24, 79)
HSLhsl(276, 53%, 20%)
HSVhsv(276, 70%, 31%)
CMYKcmyk(27.8%, 69.6%, 0%, 69%)
CIE-LABlab(15.94, 27.47, -27.34)
CIE-LCHlch(15.94, 38.76, 315.14°)
OKLaboklab(28.73% 0.0627 -0.0772)
OKLCHoklch(28.73% 0.099 309.1)
XYZxyz(3.4250, 2.0877, 7.6182)
Luminance0.0209 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39184F #2E4F18
analogous
#1D184F #39184F #4F1849
triadic
#39184F #4F3918 #184F39
tetradic
#39184F #4F1D18 #2E4F18 #18494F
square
#39184F #4F1D18 #2E4F18 #18494F
split-complementary
#39184F #494F18 #184F1D
monochromatic
#110717 #170A20 #39184F #5B267E #7D35AD

Accessibility & contrast

On white

14.81
#39184F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#39184F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39184F
14.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39184F#FFFFFF#000000##FFFFFF
##39184F1.0014.811.4214.81
#FFFFFF14.811.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002651
Deuteranopia (green-blind)
#10284E
Tritanopia (blue-blind)
#362331
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #39184f;
/* rgb */ color: rgb(57, 24, 79);
/* oklch */ color: oklch(28.7% 0.099 309.1);
Tailwind
colors: {
  custom: {
    50: '#725781',
    500: '#39184f',
    950: '#000000',
  },
}
SCSS
$custom: #39184f;
$custom-light: #725781;
$custom-dark: #000000;
JSON
{
  "hex": "#39184f",
  "rgb": {
    "r": 57,
    "g": 24,
    "b": 79
  },
  "hsl": {
    "h": 276,
    "s": 53.398,
    "l": 20.196
  },
  "oklch": {
    "l": 0.28725,
    "c": 0.09944,
    "h": 309.1
  },
  "luminance": 0.02088
}

Semantic roles & 50–950 ramp

primary
#39184F
secondary
#5A863D
accent
#DD4B85
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#08030A
muted
#7B787C

Preview Lab

Preview with #39184F

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

Preview Lab → · Contrast checker → · Palette generator →

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