#39187B#39187B

#39187B is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.7% C 0.153 H 290.4°. Best body text is #FFFFFF at 13.20:1 contrast (WCAG AA passes).

Color values

HEX#39187B
RGBrgb(57, 24, 123)
HSLhsl(260, 67%, 29%)
HSVhsv(260, 80%, 48%)
CMYKcmyk(53.7%, 80.5%, 0%, 51.8%)
CIE-LABlab(19.85, 39.88, -49.97)
CIE-LCHlch(19.85, 63.93, 308.59°)
OKLaboklab(32.71% 0.0534 -0.1436)
OKLCHoklch(32.71% 0.153 290.4)
XYZxyz(5.5881, 2.9529, 19.0106)
Luminance0.0295 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39187B #5A7B18
analogous
#18297B #39187B #6B187B
triadic
#39187B #7B3918 #187B39
tetradic
#39187B #7B1829 #5A7B18 #187B6B
square
#39187B #7B1829 #5A7B18 #187B6B
split-complementary
#39187B #7B6B18 #297B18
monochromatic
#0C051A #210E48 #39187B #5122AE #6C36D8

Accessibility & contrast

On white

13.20
#39187B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#39187B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39187B
13.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39187B#FFFFFF#000000##FFFFFF
##39187B1.0013.201.5913.20
#FFFFFF13.201.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00327E
Deuteranopia (green-blind)
#002E79
Tritanopia (blue-blind)
#213449
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #39187b;
/* rgb */ color: rgb(57, 24, 123);
/* oklch */ color: oklch(32.7% 0.153 290.4);
Tailwind
colors: {
  custom: {
    50: '#7759a2',
    500: '#39187b',
    950: '#000000',
  },
}
SCSS
$custom: #39187b;
$custom-light: #7759a2;
$custom-dark: #000000;
JSON
{
  "hex": "#39187b",
  "rgb": {
    "r": 57,
    "g": 24,
    "b": 123
  },
  "hsl": {
    "h": 260,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.32715,
    "c": 0.15321,
    "h": 290.4
  },
  "luminance": 0.02953
}

Semantic roles & 50–950 ramp

primary
#39187B
secondary
#8AB03F
accent
#EA3EB1
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #39187B

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

Preview Lab → · Contrast checker → · Palette generator →

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