#391E57#391E57

#391E57 is a dark, moderate violet. Relative luminance 0.025; OKLCH L 30.3% C 0.100 H 302.7°. Best body text is #FFFFFF at 14.02:1 contrast (WCAG AA passes).

Color values

HEX#391E57
RGBrgb(57, 30, 87)
HSLhsl(268, 49%, 23%)
HSVhsv(268, 66%, 34%)
CMYKcmyk(34.5%, 65.5%, 0%, 65.9%)
CIE-LABlab(17.86, 26.10, -29.68)
CIE-LCHlch(17.86, 39.52, 311.33°)
OKLaboklab(30.31% 0.0539 -0.0841)
OKLCHoklch(30.31% 0.1 302.7)
XYZxyz(3.8715, 2.4865, 9.2910)
Luminance0.0249 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391E57 #3C571E
analogous
#1E1F57 #391E57 #551E57
triadic
#391E57 #57391E #1E5739
tetradic
#391E57 #571E1F #3C571E #1E5755
square
#391E57 #571E1F #3C571E #1E5755
split-complementary
#391E57 #57551E #1F571E
monochromatic
#0F0817 #1B0E29 #391E57 #572E85 #753DB2

Accessibility & contrast

On white

14.02
#391E57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#391E57 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391E57
14.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391E57#FFFFFF#000000##FFFFFF
##391E571.0014.021.5014.02
#FFFFFF14.021.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#012B59
Deuteranopia (green-blind)
#0E2C56
Tritanopia (blue-blind)
#332A37
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #391e57;
/* rgb */ color: rgb(57, 30, 87);
/* oklch */ color: oklch(30.3% 0.100 302.7);
Tailwind
colors: {
  custom: {
    50: '#725b87',
    500: '#391e57',
    950: '#000000',
  },
}
SCSS
$custom: #391e57;
$custom-light: #725b87;
$custom-dark: #000000;
JSON
{
  "hex": "#391e57",
  "rgb": {
    "r": 57,
    "g": 30,
    "b": 87
  },
  "hsl": {
    "h": 268.421,
    "s": 48.718,
    "l": 22.941
  },
  "oklch": {
    "l": 0.30305,
    "c": 0.09987,
    "h": 302.7
  },
  "luminance": 0.02487
}

Semantic roles & 50–950 ramp

primary
#391E57
secondary
#6A8C45
accent
#D85097
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#08040B
muted
#7B797C

Preview Lab

Preview with #391E57

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

Preview Lab → · Contrast checker → · Palette generator →

#391E57 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva