#391690#391690

#391690 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.7% C 0.179 H 285.3°. Best body text is #FFFFFF at 12.42:1 contrast (WCAG AA passes).

Color values

HEX#391690
RGBrgb(57, 22, 144)
HSLhsl(257, 73%, 33%)
HSVhsv(257, 85%, 56%)
CMYKcmyk(60.4%, 84.7%, 0%, 43.5%)
CIE-LABlab(21.79, 46.77, -60.00)
CIE-LCHlch(21.79, 76.07, 307.94°)
OKLaboklab(34.72% 0.0474 -0.1729)
OKLCHoklch(34.72% 0.179 285.3)
XYZxyz(7.0068, 3.4569, 26.6782)
Luminance0.0346 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391690 #6D9016
analogous
#163090 #391690 #761690
triadic
#391690 #903916 #169039
tetradic
#391690 #901630 #6D9016 #169076
square
#391690 #901630 #6D9016 #169076
split-complementary
#391690 #907616 #309016
monochromatic
#0F0626 #240E5B #391690 #4E1EC5 #6D3FE2

Accessibility & contrast

On white

12.42
#391690 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#391690 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391690
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391690#FFFFFF#000000##FFFFFF
##3916901.0012.421.6912.42
#FFFFFF12.421.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003793
Deuteranopia (green-blind)
#00308E
Tritanopia (blue-blind)
#033C55
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #391690;
/* rgb */ color: rgb(57, 22, 144);
/* oklch */ color: oklch(34.7% 0.179 285.3);
Tailwind
colors: {
  custom: {
    50: '#7b5ab2',
    500: '#391690',
    950: '#000000',
  },
}
SCSS
$custom: #391690;
$custom-light: #7b5ab2;
$custom-dark: #000000;
JSON
{
  "hex": "#391690",
  "rgb": {
    "r": 57,
    "g": 22,
    "b": 144
  },
  "hsl": {
    "h": 257.213,
    "s": 73.494,
    "l": 32.549
  },
  "oklch": {
    "l": 0.34723,
    "c": 0.17927,
    "h": 285.3
  },
  "luminance": 0.03457
}

Semantic roles & 50–950 ramp

primary
#391690
secondary
#9DC240
accent
#F038BB
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0411
muted
#7C7980

Preview Lab

Preview with #391690

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

Preview Lab → · Contrast checker → · Palette generator →

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