#39187D#39187D

#39187D is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.9% C 0.156 H 289.8°. Best body text is #FFFFFF at 13.12:1 contrast (WCAG AA passes).

Color values

HEX#39187D
RGBrgb(57, 24, 125)
HSLhsl(260, 68%, 29%)
HSVhsv(260, 81%, 49%)
CMYKcmyk(54.4%, 80.8%, 0%, 51%)
CIE-LABlab(20.06, 40.46, -50.90)
CIE-LCHlch(20.06, 65.02, 308.48°)
OKLaboklab(32.92% 0.0528 -0.1463)
OKLCHoklch(32.92% 0.156 289.8)
XYZxyz(5.7146, 3.0035, 19.6767)
Luminance0.0300 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39187D #5C7D18
analogous
#182A7D #39187D #6C187D
triadic
#39187D #7D3918 #187D39
tetradic
#39187D #7D182A #5C7D18 #187D6C
square
#39187D #7D182A #5C7D18 #187D6C
split-complementary
#39187D #7D6C18 #2A7D18
monochromatic
#0C051A #220E4A #39187D #5022B0 #6C37D9

Accessibility & contrast

On white

13.12
#39187D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#39187D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39187D
13.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39187D#FFFFFF#000000##FFFFFF
##39187D1.0013.121.6013.12
#FFFFFF13.121.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003280
Deuteranopia (green-blind)
#002E7B
Tritanopia (blue-blind)
#1F354A
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #39187d;
/* rgb */ color: rgb(57, 24, 125);
/* oklch */ color: oklch(32.9% 0.156 289.8);
Tailwind
colors: {
  custom: {
    50: '#7859a4',
    500: '#39187d',
    950: '#000000',
  },
}
SCSS
$custom: #39187d;
$custom-light: #7859a4;
$custom-dark: #000000;
JSON
{
  "hex": "#39187d",
  "rgb": {
    "r": 57,
    "g": 24,
    "b": 125
  },
  "hsl": {
    "h": 259.604,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.32919,
    "c": 0.15558,
    "h": 289.8
  },
  "luminance": 0.03004
}

Semantic roles & 50–950 ramp

primary
#39187D
secondary
#8CB23F
accent
#EB3DB2
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #39187D

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

Preview Lab → · Contrast checker → · Palette generator →

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