#391976#391976

#391976 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.3% C 0.146 H 291.7°. Best body text is #FFFFFF at 13.34:1 contrast (WCAG AA passes).

Color values

HEX#391976
RGBrgb(57, 25, 118)
HSLhsl(261, 65%, 28%)
HSVhsv(261, 79%, 46%)
CMYKcmyk(51.7%, 78.8%, 0%, 53.7%)
CIE-LABlab(19.53, 37.94, -47.30)
CIE-LCHlch(19.53, 60.63, 308.73°)
OKLaboklab(32.34% 0.0541 -0.1358)
OKLCHoklch(32.34% 0.146 291.7)
XYZxyz(5.3041, 2.8729, 17.4111)
Luminance0.0287 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391976 #567619
analogous
#192776 #391976 #671976
triadic
#391976 #763919 #197639
tetradic
#391976 #761927 #567619 #197667
square
#391976 #761927 #567619 #197667
split-complementary
#391976 #766719 #277619
monochromatic
#0C0519 #210E43 #391976 #5124A8 #6C35D4

Accessibility & contrast

On white

13.34
#391976 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#391976 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391976
13.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391976#FFFFFF#000000##FFFFFF
##3919761.0013.341.5713.34
#FFFFFF13.341.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003179
Deuteranopia (green-blind)
#002D74
Tritanopia (blue-blind)
#253346
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #391976;
/* rgb */ color: rgb(57, 25, 118);
/* oklch */ color: oklch(32.3% 0.146 291.7);
Tailwind
colors: {
  custom: {
    50: '#775a9e',
    500: '#391976',
    950: '#000000',
  },
}
SCSS
$custom: #391976;
$custom-light: #775a9e;
$custom-dark: #000000;
JSON
{
  "hex": "#391976",
  "rgb": {
    "r": 57,
    "g": 25,
    "b": 118
  },
  "hsl": {
    "h": 260.645,
    "s": 65.035,
    "l": 28.039
  },
  "oklch": {
    "l": 0.32335,
    "c": 0.14619,
    "h": 291.7
  },
  "luminance": 0.02873
}

Semantic roles & 50–950 ramp

primary
#391976
secondary
#86AB40
accent
#E840AE
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #391976

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

Preview Lab → · Contrast checker → · Palette generator →

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