#391C6A#391C6A

#391C6A is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.6% C 0.128 H 295.1°. Best body text is #FFFFFF at 13.56:1 contrast (WCAG AA passes).

Color values

HEX#391C6A
RGBrgb(57, 28, 106)
HSLhsl(262, 58%, 26%)
HSVhsv(262, 74%, 42%)
CMYKcmyk(46.2%, 73.6%, 0%, 58.4%)
CIE-LABlab(18.97, 32.81, -40.44)
CIE-LCHlch(18.97, 52.08, 309.06°)
OKLaboklab(31.6% 0.0541 -0.1157)
OKLCHoklch(31.6% 0.128 295.1)
XYZxyz(4.7034, 2.7409, 13.9141)
Luminance0.0274 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391C6A #4D6A1C
analogous
#1C266A #391C6A #601C6A
triadic
#391C6A #6A391C #1C6A39
tetradic
#391C6A #6A1C26 #4D6A1C #1C6A60
square
#391C6A #6A1C26 #4D6A1C #1C6A60
split-complementary
#391C6A #6A601C #266A1C
monochromatic
#0D0618 #1F0F3A #391C6A #53299A #6D36CA

Accessibility & contrast

On white

13.56
#391C6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#391C6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391C6A
13.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391C6A#FFFFFF#000000##FFFFFF
##391C6A1.0013.561.5513.56
#FFFFFF13.561.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F6C
Deuteranopia (green-blind)
#002D68
Tritanopia (blue-blind)
#2C2F40
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #391c6a;
/* rgb */ color: rgb(57, 28, 106);
/* oklch */ color: oklch(31.6% 0.128 295.1);
Tailwind
colors: {
  custom: {
    50: '#745b95',
    500: '#391c6a',
    950: '#000000',
  },
}
SCSS
$custom: #391c6a;
$custom-light: #745b95;
$custom-dark: #000000;
JSON
{
  "hex": "#391c6a",
  "rgb": {
    "r": 57,
    "g": 28,
    "b": 106
  },
  "hsl": {
    "h": 262.308,
    "s": 58.209,
    "l": 26.275
  },
  "oklch": {
    "l": 0.31598,
    "c": 0.12772,
    "h": 295.1
  },
  "luminance": 0.02741
}

Semantic roles & 50–950 ramp

primary
#391C6A
secondary
#7D9F43
accent
#E146A8
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040D
muted
#7B797E

Preview Lab

Preview with #391C6A

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

Preview Lab → · Contrast checker → · Palette generator →

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