#39186D#39186D

#39186D is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.3% C 0.136 H 294.9°. Best body text is #FFFFFF at 13.77:1 contrast (WCAG AA passes).

Color values

HEX#39186D
RGBrgb(57, 24, 109)
HSLhsl(263, 64%, 26%)
HSVhsv(263, 78%, 43%)
CMYKcmyk(47.7%, 78%, 0%, 57.3%)
CIE-LABlab(18.48, 35.84, -43.19)
CIE-LCHlch(18.48, 56.12, 309.68°)
OKLaboklab(31.34% 0.0575 -0.1237)
OKLCHoklch(31.34% 0.136 294.9)
XYZxyz(4.7735, 2.6271, 14.7206)
Luminance0.0263 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39186D #4C6D18
analogous
#18216D #39186D #63186D
triadic
#39186D #6D3918 #186D39
tetradic
#39186D #6D1821 #4C6D18 #186D63
square
#39186D #6D1821 #4C6D18 #186D63
split-complementary
#39186D #6D6318 #216D18
monochromatic
#0D0619 #1F0D3B #39186D #53239F #6E2ED1

Accessibility & contrast

On white

13.77
#39186D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #39186D
13.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39186D#FFFFFF#000000##FFFFFF
##39186D1.0013.771.5313.77
#FFFFFF13.771.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E6F
Deuteranopia (green-blind)
#002C6B
Tritanopia (blue-blind)
#2A2E41
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #39186d;
/* rgb */ color: rgb(57, 24, 109);
/* oklch */ color: oklch(31.3% 0.136 294.9);
Tailwind
colors: {
  custom: {
    50: '#755998',
    500: '#39186d',
    950: '#000000',
  },
}
SCSS
$custom: #39186d;
$custom-light: #755998;
$custom-dark: #000000;
JSON
{
  "hex": "#39186d",
  "rgb": {
    "r": 57,
    "g": 24,
    "b": 109
  },
  "hsl": {
    "h": 263.294,
    "s": 63.91,
    "l": 26.078
  },
  "oklch": {
    "l": 0.31336,
    "c": 0.13646,
    "h": 294.9
  },
  "luminance": 0.02627
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #39186D

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

Preview Lab → · Contrast checker → · Palette generator →

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