#39187C#39187C

#39187C is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.8% C 0.154 H 290.1°. Best body text is #FFFFFF at 13.16:1 contrast (WCAG AA passes).

Color values

HEX#39187C
RGBrgb(57, 24, 124)
HSLhsl(260, 68%, 29%)
HSVhsv(260, 81%, 49%)
CMYKcmyk(54%, 80.6%, 0%, 51.4%)
CIE-LABlab(19.96, 40.17, -50.44)
CIE-LCHlch(19.96, 64.48, 308.53°)
OKLaboklab(32.82% 0.0531 -0.145)
OKLCHoklch(32.82% 0.154 290.1)
XYZxyz(5.6510, 2.9781, 19.3419)
Luminance0.0298 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39187C #5B7C18
analogous
#18297C #39187C #6B187C
triadic
#39187C #7C3918 #187C39
tetradic
#39187C #7C1829 #5B7C18 #187C6B
square
#39187C #7C1829 #5B7C18 #187C6B
split-complementary
#39187C #7C6B18 #297C18
monochromatic
#0C051A #210E49 #39187C #5122AF #6C36D8

Accessibility & contrast

On white

13.16
#39187C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#39187C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39187C
13.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39187C#FFFFFF#000000##FFFFFF
##39187C1.0013.161.6013.16
#FFFFFF13.161.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00327F
Deuteranopia (green-blind)
#002E7A
Tritanopia (blue-blind)
#20354A
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #39187c;
/* rgb */ color: rgb(57, 24, 124);
/* oklch */ color: oklch(32.8% 0.154 290.1);
Tailwind
colors: {
  custom: {
    50: '#7859a3',
    500: '#39187c',
    950: '#000000',
  },
}
SCSS
$custom: #39187c;
$custom-light: #7859a3;
$custom-dark: #000000;
JSON
{
  "hex": "#39187c",
  "rgb": {
    "r": 57,
    "g": 24,
    "b": 124
  },
  "hsl": {
    "h": 259.8,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.32817,
    "c": 0.1544,
    "h": 290.1
  },
  "luminance": 0.02978
}

Semantic roles & 50–950 ramp

primary
#39187C
secondary
#8BB13F
accent
#EA3DB1
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #39187C

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

Preview Lab → · Contrast checker → · Palette generator →

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