#391685#391685

#391685 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.5% C 0.167 H 288.0°. Best body text is #FFFFFF at 12.90:1 contrast (WCAG AA passes).

Color values

HEX#391685
RGBrgb(57, 22, 133)
HSLhsl(259, 72%, 30%)
HSVhsv(259, 83%, 52%)
CMYKcmyk(57.1%, 83.5%, 0%, 47.8%)
CIE-LABlab(20.58, 43.66, -55.10)
CIE-LCHlch(20.58, 70.30, 308.39°)
OKLaboklab(33.53% 0.0515 -0.1586)
OKLCHoklch(33.53% 0.167 288)
XYZxyz(6.2066, 3.1368, 22.4642)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391685 #628516
analogous
#162A85 #391685 #701685
triadic
#391685 #853916 #168539
tetradic
#391685 #85162A #628516 #168570
square
#391685 #85162A #628516 #168570
split-complementary
#391685 #857016 #2A8516
monochromatic
#0C051C #220D50 #391685 #501FBA #6C37DE

Accessibility & contrast

On white

12.90
#391685 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#391685 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391685
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391685#FFFFFF#000000##FFFFFF
##3916851.0012.901.6312.90
#FFFFFF12.901.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003488
Deuteranopia (green-blind)
#002F83
Tritanopia (blue-blind)
#17384E
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #391685;
/* rgb */ color: rgb(57, 22, 133);
/* oklch */ color: oklch(33.5% 0.167 288.0);
Tailwind
colors: {
  custom: {
    50: '#7959aa',
    500: '#391685',
    950: '#000000',
  },
}
SCSS
$custom: #391685;
$custom-light: #7959aa;
$custom-dark: #000000;
JSON
{
  "hex": "#391685",
  "rgb": {
    "r": 57,
    "g": 22,
    "b": 133
  },
  "hsl": {
    "h": 258.919,
    "s": 71.613,
    "l": 30.392
  },
  "oklch": {
    "l": 0.33535,
    "c": 0.16675,
    "h": 288
  },
  "luminance": 0.03137
}

Semantic roles & 50–950 ramp

primary
#391685
secondary
#92B93E
accent
#EE39B5
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #391685

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

Preview Lab → · Contrast checker → · Palette generator →

#391685 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva