#39187F#39187F

#39187F is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.1% C 0.158 H 289.3°. Best body text is #FFFFFF at 13.04:1 contrast (WCAG AA passes).

Color values

HEX#39187F
RGBrgb(57, 24, 127)
HSLhsl(259, 68%, 30%)
HSVhsv(259, 81%, 50%)
CMYKcmyk(55.1%, 81.1%, 0%, 50.2%)
CIE-LABlab(20.26, 41.03, -51.84)
CIE-LCHlch(20.26, 66.11, 308.36°)
OKLaboklab(33.12% 0.0521 -0.1491)
OKLCHoklch(33.12% 0.158 289.3)
XYZxyz(5.8436, 3.0552, 20.3564)
Luminance0.0306 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39187F #5E7F18
analogous
#182B7F #39187F #6D187F
triadic
#39187F #7F3918 #187F39
tetradic
#39187F #7F182B #5E7F18 #187F6D
square
#39187F #7F182B #5E7F18 #187F6D
split-complementary
#39187F #7F6D18 #2B7F18
monochromatic
#0C051A #220E4C #39187F #5022B2 #6C38D9

Accessibility & contrast

On white

13.04
#39187F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#39187F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39187F
13.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39187F#FFFFFF#000000##FFFFFF
##39187F1.0013.041.6113.04
#FFFFFF13.041.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003382
Deuteranopia (green-blind)
#002E7D
Tritanopia (blue-blind)
#1E364B
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #39187f;
/* rgb */ color: rgb(57, 24, 127);
/* oklch */ color: oklch(33.1% 0.158 289.3);
Tailwind
colors: {
  custom: {
    50: '#785aa5',
    500: '#39187f',
    950: '#000000',
  },
}
SCSS
$custom: #39187f;
$custom-light: #785aa5;
$custom-dark: #000000;
JSON
{
  "hex": "#39187f",
  "rgb": {
    "r": 57,
    "g": 24,
    "b": 127
  },
  "hsl": {
    "h": 259.223,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.33124,
    "c": 0.15793,
    "h": 289.3
  },
  "luminance": 0.03055
}

Semantic roles & 50–950 ramp

primary
#39187F
secondary
#8EB33F
accent
#EB3DB3
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #39187F

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

Preview Lab → · Contrast checker → · Palette generator →

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