#39186C#39186C

#39186C is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.2% C 0.135 H 295.3°. Best body text is #FFFFFF at 13.80:1 contrast (WCAG AA passes).

Color values

HEX#39186C
RGBrgb(57, 24, 108)
HSLhsl(264, 64%, 26%)
HSVhsv(264, 78%, 42%)
CMYKcmyk(47.2%, 77.8%, 0%, 57.6%)
CIE-LABlab(18.39, 35.55, -42.70)
CIE-LCHlch(18.39, 55.56, 309.78°)
OKLaboklab(31.24% 0.0578 -0.1223)
OKLCHoklch(31.24% 0.135 295.3)
XYZxyz(4.7200, 2.6057, 14.4387)
Luminance0.0261 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39186C #4B6C18
analogous
#18216C #39186C #63186C
triadic
#39186C #6C3918 #186C39
tetradic
#39186C #6C1821 #4B6C18 #186C63
square
#39186C #6C1821 #4B6C18 #186C63
split-complementary
#39186C #6C6318 #216C18
monochromatic
#0D0619 #1F0D3A #39186C #53239E #6E2ED0

Accessibility & contrast

On white

13.80
#39186C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#39186C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39186C
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39186C#FFFFFF#000000##FFFFFF
##39186C1.0013.801.5213.80
#FFFFFF13.801.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D6E
Deuteranopia (green-blind)
#002C6A
Tritanopia (blue-blind)
#2B2E41
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #39186c;
/* rgb */ color: rgb(57, 24, 108);
/* oklch */ color: oklch(31.2% 0.135 295.3);
Tailwind
colors: {
  custom: {
    50: '#755897',
    500: '#39186c',
    950: '#000000',
  },
}
SCSS
$custom: #39186c;
$custom-light: #755897;
$custom-dark: #000000;
JSON
{
  "hex": "#39186c",
  "rgb": {
    "r": 57,
    "g": 24,
    "b": 108
  },
  "hsl": {
    "h": 263.571,
    "s": 63.636,
    "l": 25.882
  },
  "oklch": {
    "l": 0.31241,
    "c": 0.13526,
    "h": 295.3
  },
  "luminance": 0.02606
}

Semantic roles & 50–950 ramp

primary
#39186C
secondary
#7BA23E
accent
#E741A6
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030D
muted
#7B787E

Preview Lab

Preview with #39186C

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

Preview Lab → · Contrast checker → · Palette generator →

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