#391A6B#391A6B

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

Color values

HEX#391A6B
RGBrgb(57, 26, 107)
HSLhsl(263, 61%, 26%)
HSVhsv(263, 76%, 42%)
CMYKcmyk(46.7%, 75.7%, 0%, 58%)
CIE-LABlab(18.67, 34.21, -41.58)
CIE-LCHlch(18.67, 53.85, 309.44°)
OKLaboklab(31.41% 0.056 -0.119)
OKLCHoklch(31.41% 0.132 295.2)
XYZxyz(4.7099, 2.6701, 14.1743)
Luminance0.0267 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391A6B #4C6B1A
analogous
#1A236B #391A6B #611A6B
triadic
#391A6B #6B391A #1A6B39
tetradic
#391A6B #6B1A23 #4C6B1A #1A6B61
square
#391A6B #6B1A23 #4C6B1A #1A6B61
split-complementary
#391A6B #6B611A #236B1A
monochromatic
#0D0619 #1F0E3A #391A6B #53269C #6E32CD

Accessibility & contrast

On white

13.69
#391A6B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#391A6B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391A6B
13.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391A6B#FFFFFF#000000##FFFFFF
##391A6B1.0013.691.5313.69
#FFFFFF13.691.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E6D
Deuteranopia (green-blind)
#002C69
Tritanopia (blue-blind)
#2B2F40
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #391a6b;
/* rgb */ color: rgb(57, 26, 107);
/* oklch */ color: oklch(31.4% 0.132 295.2);
Tailwind
colors: {
  custom: {
    50: '#755a96',
    500: '#391a6b',
    950: '#000000',
  },
}
SCSS
$custom: #391a6b;
$custom-light: #755a96;
$custom-dark: #000000;
JSON
{
  "hex": "#391a6b",
  "rgb": {
    "r": 57,
    "g": 26,
    "b": 107
  },
  "hsl": {
    "h": 262.963,
    "s": 60.902,
    "l": 26.078
  },
  "oklch": {
    "l": 0.3141,
    "c": 0.13158,
    "h": 295.2
  },
  "luminance": 0.0267
}

Semantic roles & 50–950 ramp

primary
#391A6B
secondary
#7CA040
accent
#E444A7
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040D
muted
#7B797E

Preview Lab

Preview with #391A6B

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

Preview Lab → · Contrast checker → · Palette generator →

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