#391C6E#391C6E

#391C6E is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.0% C 0.133 H 293.7°. Best body text is #FFFFFF at 13.42:1 contrast (WCAG AA passes).

Color values

HEX#391C6E
RGBrgb(57, 28, 110)
HSLhsl(261, 59%, 27%)
HSVhsv(261, 75%, 43%)
CMYKcmyk(48.2%, 74.5%, 0%, 56.9%)
CIE-LABlab(19.33, 34.00, -42.46)
CIE-LCHlch(19.33, 54.39, 308.69°)
OKLaboklab(31.97% 0.0533 -0.1216)
OKLCHoklch(31.97% 0.133 293.7)
XYZxyz(4.9163, 2.8260, 15.0353)
Luminance0.0283 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391C6E #516E1C
analogous
#1C286E #391C6E #621C6E
triadic
#391C6E #6E391C #1C6E39
tetradic
#391C6E #6E1C28 #516E1C #1C6E62
square
#391C6E #6E1C28 #516E1C #1C6E62
split-complementary
#391C6E #6E621C #286E1C
monochromatic
#0D0618 #20103D #391C6E #52289F #6C38CC

Accessibility & contrast

On white

13.42
#391C6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#391C6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391C6E
13.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391C6E#FFFFFF#000000##FFFFFF
##391C6E1.0013.421.5713.42
#FFFFFF13.421.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003070
Deuteranopia (green-blind)
#002D6C
Tritanopia (blue-blind)
#293143
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #391c6e;
/* rgb */ color: rgb(57, 28, 110);
/* oklch */ color: oklch(32.0% 0.133 293.7);
Tailwind
colors: {
  custom: {
    50: '#755b98',
    500: '#391c6e',
    950: '#000000',
  },
}
SCSS
$custom: #391c6e;
$custom-light: #755b98;
$custom-dark: #000000;
JSON
{
  "hex": "#391c6e",
  "rgb": {
    "r": 57,
    "g": 28,
    "b": 110
  },
  "hsl": {
    "h": 261.22,
    "s": 59.42,
    "l": 27.059
  },
  "oklch": {
    "l": 0.31965,
    "c": 0.13278,
    "h": 293.7
  },
  "luminance": 0.02826
}

Semantic roles & 50–950 ramp

primary
#391C6E
secondary
#81A343
accent
#E345AB
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #391C6E

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

Preview Lab → · Contrast checker → · Palette generator →

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