#391E56#391E56

#391E56 is a dark, moderate violet. Relative luminance 0.025; OKLCH L 30.2% C 0.099 H 303.2°. Best body text is #FFFFFF at 14.06:1 contrast (WCAG AA passes).

Color values

HEX#391E56
RGBrgb(57, 30, 86)
HSLhsl(269, 48%, 23%)
HSVhsv(269, 65%, 34%)
CMYKcmyk(33.7%, 65.1%, 0%, 66.3%)
CIE-LABlab(17.78, 25.81, -29.12)
CIE-LCHlch(17.78, 38.91, 311.55°)
OKLaboklab(30.23% 0.054 -0.0824)
OKLCHoklch(30.23% 0.099 303.2)
XYZxyz(3.8309, 2.4703, 9.0773)
Luminance0.0247 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391E56 #3B561E
analogous
#1E1F56 #391E56 #551E56
triadic
#391E56 #56391E #1E5639
tetradic
#391E56 #561E1F #3B561E #1E5655
square
#391E56 #561E1F #3B561E #1E5655
split-complementary
#391E56 #56551E #1F561E
monochromatic
#0F0817 #1B0E29 #391E56 #572E83 #753EB1

Accessibility & contrast

On white

14.06
#391E56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#391E56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391E56
14.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391E56#FFFFFF#000000##FFFFFF
##391E561.0014.061.4914.06
#FFFFFF14.061.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#032B58
Deuteranopia (green-blind)
#102B55
Tritanopia (blue-blind)
#342936
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #391e56;
/* rgb */ color: rgb(57, 30, 86);
/* oklch */ color: oklch(30.2% 0.099 303.2);
Tailwind
colors: {
  custom: {
    50: '#725b86',
    500: '#391e56',
    950: '#000000',
  },
}
SCSS
$custom: #391e56;
$custom-light: #725b86;
$custom-dark: #000000;
JSON
{
  "hex": "#391e56",
  "rgb": {
    "r": 57,
    "g": 30,
    "b": 86
  },
  "hsl": {
    "h": 268.929,
    "s": 48.276,
    "l": 22.745
  },
  "oklch": {
    "l": 0.30228,
    "c": 0.09852,
    "h": 303.2
  },
  "luminance": 0.0247
}

Semantic roles & 50–950 ramp

primary
#391E56
secondary
#698B45
accent
#D85096
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#08040B
muted
#7B797C

Preview Lab

Preview with #391E56

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

Preview Lab → · Contrast checker → · Palette generator →

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