#391C68#391C68

#391C68 is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.4% C 0.125 H 295.8°. Best body text is #FFFFFF at 13.64:1 contrast (WCAG AA passes).

Color values

HEX#391C68
RGBrgb(57, 28, 104)
HSLhsl(263, 58%, 26%)
HSVhsv(263, 73%, 41%)
CMYKcmyk(45.2%, 73.1%, 0%, 59.2%)
CIE-LABlab(18.80, 32.23, -39.42)
CIE-LCHlch(18.80, 50.91, 309.27°)
OKLaboklab(31.42% 0.0545 -0.1127)
OKLCHoklch(31.42% 0.125 295.8)
XYZxyz(4.6006, 2.6997, 13.3727)
Luminance0.0270 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391C68 #4B681C
analogous
#1C2568 #391C68 #5F1C68
triadic
#391C68 #68391C #1C6839
tetradic
#391C68 #681C25 #4B681C #1C685F
square
#391C68 #681C25 #4B681C #1C685F
split-complementary
#391C68 #685F1C #25681C
monochromatic
#0D0618 #1F0F38 #391C68 #532998 #6E36C8

Accessibility & contrast

On white

13.64
#391C68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#391C68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391C68
13.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391C68#FFFFFF#000000##FFFFFF
##391C681.0013.641.5413.64
#FFFFFF13.641.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E6A
Deuteranopia (green-blind)
#002D66
Tritanopia (blue-blind)
#2D2F3F
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #391c68;
/* rgb */ color: rgb(57, 28, 104);
/* oklch */ color: oklch(31.4% 0.125 295.8);
Tailwind
colors: {
  custom: {
    50: '#745b94',
    500: '#391c68',
    950: '#000000',
  },
}
SCSS
$custom: #391c68;
$custom-light: #745b94;
$custom-dark: #000000;
JSON
{
  "hex": "#391c68",
  "rgb": {
    "r": 57,
    "g": 28,
    "b": 104
  },
  "hsl": {
    "h": 262.895,
    "s": 57.576,
    "l": 25.882
  },
  "oklch": {
    "l": 0.31418,
    "c": 0.12517,
    "h": 295.8
  },
  "luminance": 0.027
}

Semantic roles & 50–950 ramp

primary
#391C68
secondary
#7B9D43
accent
#E147A6
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09040D
muted
#7B797E

Preview Lab

Preview with #391C68

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

Preview Lab → · Contrast checker → · Palette generator →

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