#39186F#39186F

#39186F is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.5% C 0.139 H 294.2°. Best body text is #FFFFFF at 13.69:1 contrast (WCAG AA passes).

Color values

HEX#39186F
RGBrgb(57, 24, 111)
HSLhsl(263, 64%, 26%)
HSVhsv(263, 78%, 44%)
CMYKcmyk(48.6%, 78.4%, 0%, 56.5%)
CIE-LABlab(18.67, 36.41, -44.18)
CIE-LCHlch(18.67, 57.25, 309.49°)
OKLaboklab(31.53% 0.057 -0.1267)
OKLCHoklch(31.53% 0.139 294.2)
XYZxyz(4.8824, 2.6707, 15.2941)
Luminance0.0267 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39186F #4E6F18
analogous
#18236F #39186F #65186F
triadic
#39186F #6F3918 #186F39
tetradic
#39186F #6F1823 #4E6F18 #186F65
square
#39186F #6F1823 #4E6F18 #186F65
split-complementary
#39186F #6F6518 #236F18
monochromatic
#0D0519 #1F0D3D #39186F #5323A1 #6D2FD2

Accessibility & contrast

On white

13.69
#39186F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#39186F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39186F
13.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39186F#FFFFFF#000000##FFFFFF
##39186F1.0013.691.5313.69
#FFFFFF13.691.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E71
Deuteranopia (green-blind)
#002C6D
Tritanopia (blue-blind)
#292F42
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #39186f;
/* rgb */ color: rgb(57, 24, 111);
/* oklch */ color: oklch(31.5% 0.139 294.2);
Tailwind
colors: {
  custom: {
    50: '#765999',
    500: '#39186f',
    950: '#000000',
  },
}
SCSS
$custom: #39186f;
$custom-light: #765999;
$custom-dark: #000000;
JSON
{
  "hex": "#39186f",
  "rgb": {
    "r": 57,
    "g": 24,
    "b": 111
  },
  "hsl": {
    "h": 262.759,
    "s": 64.444,
    "l": 26.471
  },
  "oklch": {
    "l": 0.31527,
    "c": 0.13889,
    "h": 294.2
  },
  "luminance": 0.02671
}

Semantic roles & 50–950 ramp

primary
#39186F
secondary
#7EA53E
accent
#E740A8
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #39186F

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

Preview Lab → · Contrast checker → · Palette generator →

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