#391C6B#391C6B

#391C6B is a dark, vivid violet. Relative luminance 0.028; OKLCH L 31.7% C 0.129 H 294.7°. Best body text is #FFFFFF at 13.53:1 contrast (WCAG AA passes).

Color values

HEX#391C6B
RGBrgb(57, 28, 107)
HSLhsl(262, 59%, 26%)
HSVhsv(262, 74%, 42%)
CMYKcmyk(46.7%, 73.8%, 0%, 58%)
CIE-LABlab(19.06, 33.11, -40.94)
CIE-LCHlch(19.06, 52.66, 308.96°)
OKLaboklab(31.69% 0.0539 -0.1172)
OKLCHoklch(31.69% 0.129 294.7)
XYZxyz(4.7557, 2.7618, 14.1896)
Luminance0.0276 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391C6B #4E6B1C
analogous
#1C276B #391C6B #611C6B
triadic
#391C6B #6B391C #1C6B39
tetradic
#391C6B #6B1C27 #4E6B1C #1C6B61
square
#391C6B #6B1C27 #4E6B1C #1C6B61
split-complementary
#391C6B #6B611C #276B1C
monochromatic
#0D0618 #1F0F3A #391C6B #53299C #6D37CB

Accessibility & contrast

On white

13.53
#391C6B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #391C6B
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391C6B#FFFFFF#000000##FFFFFF
##391C6B1.0013.531.5513.53
#FFFFFF13.531.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F6D
Deuteranopia (green-blind)
#002D69
Tritanopia (blue-blind)
#2B3041
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #391c6b;
/* rgb */ color: rgb(57, 28, 107);
/* oklch */ color: oklch(31.7% 0.129 294.7);
Tailwind
colors: {
  custom: {
    50: '#755b96',
    500: '#391c6b',
    950: '#000000',
  },
}
SCSS
$custom: #391c6b;
$custom-light: #755b96;
$custom-dark: #000000;
JSON
{
  "hex": "#391c6b",
  "rgb": {
    "r": 57,
    "g": 28,
    "b": 107
  },
  "hsl": {
    "h": 262.025,
    "s": 58.519,
    "l": 26.471
  },
  "oklch": {
    "l": 0.31689,
    "c": 0.12899,
    "h": 294.7
  },
  "luminance": 0.02762
}

Semantic roles & 50–950 ramp

primary
#391C6B
secondary
#7EA043
accent
#E246A9
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040D
muted
#7B797E

Preview Lab

Preview with #391C6B

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

Preview Lab → · Contrast checker → · Palette generator →

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