#39186B#39186B

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

Color values

HEX#39186B
RGBrgb(57, 24, 107)
HSLhsl(264, 63%, 26%)
HSVhsv(264, 78%, 42%)
CMYKcmyk(46.7%, 77.6%, 0%, 58%)
CIE-LABlab(18.30, 35.26, -42.20)
CIE-LCHlch(18.30, 54.99, 309.89°)
OKLaboklab(31.15% 0.0581 -0.1208)
OKLCHoklch(31.15% 0.134 295.7)
XYZxyz(4.6671, 2.5845, 14.1600)
Luminance0.0259 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39186B #4A6B18
analogous
#18216B #39186B #62186B
triadic
#39186B #6B3918 #186B39
tetradic
#39186B #6B1821 #4A6B18 #186B62
square
#39186B #6B1821 #4A6B18 #186B62
split-complementary
#39186B #6B6218 #216B18
monochromatic
#0D0619 #1E0D39 #39186B #54239D #6E2ECF

Accessibility & contrast

On white

13.84
#39186B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #39186B
13.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39186B#FFFFFF#000000##FFFFFF
##39186B1.0013.841.5213.84
#FFFFFF13.841.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D6D
Deuteranopia (green-blind)
#002B69
Tritanopia (blue-blind)
#2B2E40
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #39186b;
/* rgb */ color: rgb(57, 24, 107);
/* oklch */ color: oklch(31.1% 0.134 295.7);
Tailwind
colors: {
  custom: {
    50: '#755896',
    500: '#39186b',
    950: '#000000',
  },
}
SCSS
$custom: #39186b;
$custom-light: #755896;
$custom-dark: #000000;
JSON
{
  "hex": "#39186b",
  "rgb": {
    "r": 57,
    "g": 24,
    "b": 107
  },
  "hsl": {
    "h": 263.855,
    "s": 63.359,
    "l": 25.686
  },
  "oklch": {
    "l": 0.31146,
    "c": 0.13405,
    "h": 295.7
  },
  "luminance": 0.02585
}

Semantic roles & 50–950 ramp

primary
#39186B
secondary
#7AA13E
accent
#E641A5
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030D
muted
#7B787E

Preview Lab

Preview with #39186B

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

Preview Lab → · Contrast checker → · Palette generator →

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