#39187E#39187E

#39187E is a dark, vivid violet. Relative luminance 0.030; OKLCH L 33.0% C 0.157 H 289.6°. Best body text is #FFFFFF at 13.08:1 contrast (WCAG AA passes).

Color values

HEX#39187E
RGBrgb(57, 24, 126)
HSLhsl(259, 68%, 29%)
HSVhsv(259, 81%, 49%)
CMYKcmyk(54.8%, 81%, 0%, 50.6%)
CIE-LABlab(20.16, 40.74, -51.37)
CIE-LCHlch(20.16, 65.57, 308.42°)
OKLaboklab(33.02% 0.0525 -0.1477)
OKLCHoklch(33.02% 0.157 289.6)
XYZxyz(5.7788, 3.0292, 20.0148)
Luminance0.0303 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39187E #5D7E18
analogous
#182A7E #39187E #6C187E
triadic
#39187E #7E3918 #187E39
tetradic
#39187E #7E182A #5D7E18 #187E6C
square
#39187E #7E182A #5D7E18 #187E6C
split-complementary
#39187E #7E6C18 #2A7E18
monochromatic
#0C051A #220E4B #39187E #5022B1 #6C37D9

Accessibility & contrast

On white

13.08
#39187E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#39187E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39187E
13.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39187E#FFFFFF#000000##FFFFFF
##39187E1.0013.081.6113.08
#FFFFFF13.081.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003381
Deuteranopia (green-blind)
#002E7C
Tritanopia (blue-blind)
#1F354B
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #39187e;
/* rgb */ color: rgb(57, 24, 126);
/* oklch */ color: oklch(33.0% 0.157 289.6);
Tailwind
colors: {
  custom: {
    50: '#785aa4',
    500: '#39187e',
    950: '#000000',
  },
}
SCSS
$custom: #39187e;
$custom-light: #785aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#39187e",
  "rgb": {
    "r": 57,
    "g": 24,
    "b": 126
  },
  "hsl": {
    "h": 259.412,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.33021,
    "c": 0.15676,
    "h": 289.6
  },
  "luminance": 0.03029
}

Semantic roles & 50–950 ramp

primary
#39187E
secondary
#8DB23F
accent
#EB3DB3
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #39187E

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

Preview Lab → · Contrast checker → · Palette generator →

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