#39186A#39186A

#39186A is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.1% C 0.133 H 296.0°. Best body text is #FFFFFF at 13.88:1 contrast (WCAG AA passes).

Color values

HEX#39186A
RGBrgb(57, 24, 106)
HSLhsl(264, 63%, 25%)
HSVhsv(264, 77%, 42%)
CMYKcmyk(46.2%, 77.4%, 0%, 58.4%)
CIE-LABlab(18.20, 34.98, -41.70)
CIE-LCHlch(18.20, 54.42, 309.99°)
OKLaboklab(31.05% 0.0583 -0.1193)
OKLCHoklch(31.05% 0.133 296)
XYZxyz(4.6148, 2.5636, 13.8846)
Luminance0.0256 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39186A #496A18
analogous
#18206A #39186A #62186A
triadic
#39186A #6A3918 #186A39
tetradic
#39186A #6A1820 #496A18 #186A62
square
#39186A #6A1820 #496A18 #186A62
split-complementary
#39186A #6A6218 #206A18
monochromatic
#0D0619 #1E0D38 #39186A #54239C #6F2FCE

Accessibility & contrast

On white

13.88
#39186A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#39186A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39186A
13.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39186A#FFFFFF#000000##FFFFFF
##39186A1.0013.881.5113.88
#FFFFFF13.881.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D6C
Deuteranopia (green-blind)
#002B68
Tritanopia (blue-blind)
#2C2D3F
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #39186a;
/* rgb */ color: rgb(57, 24, 106);
/* oklch */ color: oklch(31.1% 0.133 296.0);
Tailwind
colors: {
  custom: {
    50: '#755895',
    500: '#39186a',
    950: '#000000',
  },
}
SCSS
$custom: #39186a;
$custom-light: #755895;
$custom-dark: #000000;
JSON
{
  "hex": "#39186a",
  "rgb": {
    "r": 57,
    "g": 24,
    "b": 106
  },
  "hsl": {
    "h": 264.146,
    "s": 63.077,
    "l": 25.49
  },
  "oklch": {
    "l": 0.31052,
    "c": 0.13283,
    "h": 296
  },
  "luminance": 0.02564
}

Semantic roles & 50–950 ramp

primary
#39186A
secondary
#78A03E
accent
#E642A4
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030D
muted
#7B787E

Preview Lab

Preview with #39186A

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

Preview Lab → · Contrast checker → · Palette generator →

#39186A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva