#39187A#39187A

#39187A is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.6% C 0.152 H 290.7°. Best body text is #FFFFFF at 13.24:1 contrast (WCAG AA passes).

Color values

HEX#39187A
RGBrgb(57, 24, 122)
HSLhsl(260, 67%, 29%)
HSVhsv(260, 80%, 48%)
CMYKcmyk(53.3%, 80.3%, 0%, 52.2%)
CIE-LABlab(19.75, 39.59, -49.49)
CIE-LCHlch(19.75, 63.38, 308.66°)
OKLaboklab(32.61% 0.0537 -0.1422)
OKLCHoklch(32.61% 0.152 290.7)
XYZxyz(5.5258, 2.9280, 18.6826)
Luminance0.0293 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39187A #597A18
analogous
#18287A #39187A #6A187A
triadic
#39187A #7A3918 #187A39
tetradic
#39187A #7A1828 #597A18 #187A6A
square
#39187A #7A1828 #597A18 #187A6A
split-complementary
#39187A #7A6A18 #287A18
monochromatic
#0C051A #210E47 #39187A #5122AD #6C35D7

Accessibility & contrast

On white

13.24
#39187A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #39187A
13.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39187A#FFFFFF#000000##FFFFFF
##39187A1.0013.241.5913.24
#FFFFFF13.241.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00317D
Deuteranopia (green-blind)
#002E78
Tritanopia (blue-blind)
#223448
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #39187a;
/* rgb */ color: rgb(57, 24, 122);
/* oklch */ color: oklch(32.6% 0.152 290.7);
Tailwind
colors: {
  custom: {
    50: '#7759a1',
    500: '#39187a',
    950: '#000000',
  },
}
SCSS
$custom: #39187a;
$custom-light: #7759a1;
$custom-dark: #000000;
JSON
{
  "hex": "#39187a",
  "rgb": {
    "r": 57,
    "g": 24,
    "b": 122
  },
  "hsl": {
    "h": 260.204,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.32614,
    "c": 0.15203,
    "h": 290.7
  },
  "luminance": 0.02928
}

Semantic roles & 50–950 ramp

primary
#39187A
secondary
#89AF3F
accent
#EA3EB0
background
#F7F5FA
surface
#EEE9F3
border
#C9C5CD
text
#09040F
muted
#7B797F

Preview Lab

Preview with #39187A

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

Preview Lab → · Contrast checker → · Palette generator →

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