#391C58#391C58

#391C58 is a dark, moderate violet. Relative luminance 0.024; OKLCH L 30.1% C 0.104 H 302.8°. Best body text is #FFFFFF at 14.18:1 contrast (WCAG AA passes).

Color values

HEX#391C58
RGBrgb(57, 28, 88)
HSLhsl(269, 52%, 23%)
HSVhsv(269, 68%, 35%)
CMYKcmyk(35.2%, 68.2%, 0%, 65.5%)
CIE-LABlab(17.48, 27.59, -30.95)
CIE-LCHlch(17.48, 41.46, 311.72°)
OKLaboklab(30.06% 0.0566 -0.0878)
OKLCHoklch(30.06% 0.104 302.8)
XYZxyz(3.8636, 2.4049, 9.4913)
Luminance0.0240 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391C58 #3B581C
analogous
#1C1D58 #391C58 #571C58
triadic
#391C58 #58391C #1C5839
tetradic
#391C58 #581C1D #3B581C #1C5857
square
#391C58 #581C1D #3B581C #1C5857
split-complementary
#391C58 #58571C #1D581C
monochromatic
#0F0717 #1B0D2A #391C58 #572B86 #753AB5

Accessibility & contrast

On white

14.18
#391C58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#391C58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391C58
14.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391C58#FFFFFF#000000##FFFFFF
##391C581.0014.181.4814.18
#FFFFFF14.181.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A5A
Deuteranopia (green-blind)
#092B57
Tritanopia (blue-blind)
#332937
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #391c58;
/* rgb */ color: rgb(57, 28, 88);
/* oklch */ color: oklch(30.1% 0.104 302.8);
Tailwind
colors: {
  custom: {
    50: '#725a88',
    500: '#391c58',
    950: '#000000',
  },
}
SCSS
$custom: #391c58;
$custom-light: #725a88;
$custom-dark: #000000;
JSON
{
  "hex": "#391c58",
  "rgb": {
    "r": 57,
    "g": 28,
    "b": 88
  },
  "hsl": {
    "h": 269,
    "s": 51.724,
    "l": 22.745
  },
  "oklch": {
    "l": 0.30058,
    "c": 0.10447,
    "h": 302.8
  },
  "luminance": 0.02405
}

Semantic roles & 50–950 ramp

primary
#391C58
secondary
#698E42
accent
#DB4D96
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#08040B
muted
#7B797C

Preview Lab

Preview with #391C58

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

Preview Lab → · Contrast checker → · Palette generator →

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