#39186E#39186E

#39186E is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.4% C 0.138 H 294.6°. Best body text is #FFFFFF at 13.73:1 contrast (WCAG AA passes).

Color values

HEX#39186E
RGBrgb(57, 24, 110)
HSLhsl(263, 64%, 26%)
HSVhsv(263, 78%, 43%)
CMYKcmyk(48.2%, 78.2%, 0%, 56.9%)
CIE-LABlab(18.58, 36.12, -43.69)
CIE-LCHlch(18.58, 56.69, 309.59°)
OKLaboklab(31.43% 0.0573 -0.1252)
OKLCHoklch(31.43% 0.138 294.6)
XYZxyz(4.8277, 2.6488, 15.0057)
Luminance0.0265 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39186E #4D6E18
analogous
#18226E #39186E #64186E
triadic
#39186E #6E3918 #186E39
tetradic
#39186E #6E1822 #4D6E18 #186E64
square
#39186E #6E1822 #4D6E18 #186E64
split-complementary
#39186E #6E6418 #226E18
monochromatic
#0D0519 #1F0D3C #39186E #5323A0 #6D2FD2

Accessibility & contrast

On white

13.73
#39186E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #39186E
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39186E#FFFFFF#000000##FFFFFF
##39186E1.0013.731.5313.73
#FFFFFF13.731.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E70
Deuteranopia (green-blind)
#002C6C
Tritanopia (blue-blind)
#2A2F42
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #39186e;
/* rgb */ color: rgb(57, 24, 110);
/* oklch */ color: oklch(31.4% 0.138 294.6);
Tailwind
colors: {
  custom: {
    50: '#755998',
    500: '#39186e',
    950: '#000000',
  },
}
SCSS
$custom: #39186e;
$custom-light: #755998;
$custom-dark: #000000;
JSON
{
  "hex": "#39186e",
  "rgb": {
    "r": 57,
    "g": 24,
    "b": 110
  },
  "hsl": {
    "h": 263.023,
    "s": 64.179,
    "l": 26.275
  },
  "oklch": {
    "l": 0.31431,
    "c": 0.13768,
    "h": 294.6
  },
  "luminance": 0.02649
}

Semantic roles & 50–950 ramp

primary
#39186E
secondary
#7DA43E
accent
#E741A7
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #39186E

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

Preview Lab → · Contrast checker → · Palette generator →

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