#391A6C#391A6C

#391A6C is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.5% C 0.133 H 294.8°. Best body text is #FFFFFF at 13.65:1 contrast (WCAG AA passes).

Color values

HEX#391A6C
RGBrgb(57, 26, 108)
HSLhsl(263, 61%, 26%)
HSVhsv(263, 76%, 42%)
CMYKcmyk(47.2%, 75.9%, 0%, 57.6%)
CIE-LABlab(18.76, 34.50, -42.09)
CIE-LCHlch(18.76, 54.42, 309.34°)
OKLaboklab(31.5% 0.0558 -0.1205)
OKLCHoklch(31.5% 0.133 294.8)
XYZxyz(4.7628, 2.6912, 14.4530)
Luminance0.0269 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391A6C #4D6C1A
analogous
#1A246C #391A6C #621A6C
triadic
#391A6C #6C391A #1A6C39
tetradic
#391A6C #6C1A24 #4D6C1A #1A6C62
square
#391A6C #6C1A24 #4D6C1A #1A6C62
split-complementary
#391A6C #6C621A #246C1A
monochromatic
#0D0619 #1F0E3B #391A6C #53269D #6D33CE

Accessibility & contrast

On white

13.65
#391A6C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #391A6C
13.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391A6C#FFFFFF#000000##FFFFFF
##391A6C1.0013.651.5413.65
#FFFFFF13.651.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E6E
Deuteranopia (green-blind)
#002C6A
Tritanopia (blue-blind)
#2B2F41
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #391a6c;
/* rgb */ color: rgb(57, 26, 108);
/* oklch */ color: oklch(31.5% 0.133 294.8);
Tailwind
colors: {
  custom: {
    50: '#755a97',
    500: '#391a6c',
    950: '#000000',
  },
}
SCSS
$custom: #391a6c;
$custom-light: #755a97;
$custom-dark: #000000;
JSON
{
  "hex": "#391a6c",
  "rgb": {
    "r": 57,
    "g": 26,
    "b": 108
  },
  "hsl": {
    "h": 262.683,
    "s": 61.194,
    "l": 26.275
  },
  "oklch": {
    "l": 0.31503,
    "c": 0.13281,
    "h": 294.8
  },
  "luminance": 0.02691
}

Semantic roles & 50–950 ramp

primary
#391A6C
secondary
#7DA141
accent
#E443A8
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040D
muted
#7B797E

Preview Lab

Preview with #391A6C

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

Preview Lab → · Contrast checker → · Palette generator →

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