#391E58#391E58

#391E58 is a dark, moderate violet. Relative luminance 0.025; OKLCH L 30.4% C 0.101 H 302.2°. Best body text is #FFFFFF at 13.99:1 contrast (WCAG AA passes).

Color values

HEX#391E58
RGBrgb(57, 30, 88)
HSLhsl(268, 49%, 23%)
HSVhsv(268, 66%, 35%)
CMYKcmyk(35.2%, 65.9%, 0%, 65.5%)
CIE-LABlab(17.93, 26.38, -30.23)
CIE-LCHlch(17.93, 40.12, 311.12°)
OKLaboklab(30.38% 0.0539 -0.0857)
OKLCHoklch(30.38% 0.101 302.2)
XYZxyz(3.9127, 2.5030, 9.5076)
Luminance0.0250 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391E58 #3D581E
analogous
#1E2058 #391E58 #561E58
triadic
#391E58 #58391E #1E5839
tetradic
#391E58 #581E20 #3D581E #1E5856
square
#391E58 #581E20 #3D581E #1E5856
split-complementary
#391E58 #58561E #20581E
monochromatic
#0F0817 #1B0E2A #391E58 #572E86 #743DB3

Accessibility & contrast

On white

13.99
#391E58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #391E58
13.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391E58#FFFFFF#000000##FFFFFF
##391E581.0013.991.5013.99
#FFFFFF13.991.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B5A
Deuteranopia (green-blind)
#0D2C57
Tritanopia (blue-blind)
#332A37
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #391e58;
/* rgb */ color: rgb(57, 30, 88);
/* oklch */ color: oklch(30.4% 0.101 302.2);
Tailwind
colors: {
  custom: {
    50: '#725b87',
    500: '#391e58',
    950: '#000000',
  },
}
SCSS
$custom: #391e58;
$custom-light: #725b87;
$custom-dark: #000000;
JSON
{
  "hex": "#391e58",
  "rgb": {
    "r": 57,
    "g": 30,
    "b": 88
  },
  "hsl": {
    "h": 267.931,
    "s": 49.153,
    "l": 23.137
  },
  "oklch": {
    "l": 0.30383,
    "c": 0.1012,
    "h": 302.2
  },
  "luminance": 0.02503
}

Semantic roles & 50–950 ramp

primary
#391E58
secondary
#6B8D45
accent
#D94F99
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#08040B
muted
#7B797C

Preview Lab

Preview with #391E58

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

Preview Lab → · Contrast checker → · Palette generator →

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