#391992#391992

#391992 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 35.2% C 0.179 H 284.6°. Best body text is #FFFFFF at 12.15:1 contrast (WCAG AA passes).

Color values

HEX#391992
RGBrgb(57, 25, 146)
HSLhsl(256, 71%, 34%)
HSVhsv(256, 83%, 57%)
CMYKcmyk(61%, 82.9%, 0%, 42.7%)
CIE-LABlab(22.44, 46.07, -60.16)
CIE-LCHlch(22.44, 75.77, 307.44°)
OKLaboklab(35.24% 0.045 -0.1734)
OKLCHoklch(35.24% 0.179 284.6)
XYZxyz(7.2217, 3.6400, 27.5106)
Luminance0.0364 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391992 #729219
analogous
#193592 #391992 #751992
triadic
#391992 #923919 #199239
tetradic
#391992 #921935 #729219 #199275
square
#391992 #921935 #729219 #199275
split-complementary
#391992 #927519 #359219
monochromatic
#100729 #25105E #391992 #4D22C6 #6F46DF

Accessibility & contrast

On white

12.15
#391992 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#391992 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391992
12.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391992#FFFFFF#000000##FFFFFF
##3919921.0012.151.7312.15
#FFFFFF12.151.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003995
Deuteranopia (green-blind)
#003290
Tritanopia (blue-blind)
#003E57
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #391992;
/* rgb */ color: rgb(57, 25, 146);
/* oklch */ color: oklch(35.2% 0.179 284.6);
Tailwind
colors: {
  custom: {
    50: '#7c5bb3',
    500: '#391992',
    950: '#000000',
  },
}
SCSS
$custom: #391992;
$custom-light: #7c5bb3;
$custom-dark: #000000;
JSON
{
  "hex": "#391992",
  "rgb": {
    "r": 57,
    "g": 25,
    "b": 146
  },
  "hsl": {
    "h": 255.868,
    "s": 70.76,
    "l": 33.529
  },
  "oklch": {
    "l": 0.3524,
    "c": 0.17913,
    "h": 284.6
  },
  "luminance": 0.0364
}

Semantic roles & 50–950 ramp

primary
#391992
secondary
#A0C146
accent
#EE3ABE
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0411
muted
#7C7980

Preview Lab

Preview with #391992

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

Preview Lab → · Contrast checker → · Palette generator →

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