#391A4E#391A4E

#391A4E is a dark, moderate violet. Relative luminance 0.022; OKLCH L 29.0% C 0.095 H 309.2°. Best body text is #FFFFFF at 14.67:1 contrast (WCAG AA passes).

Color values

HEX#391A4E
RGBrgb(57, 26, 78)
HSLhsl(276, 50%, 20%)
HSVhsv(276, 67%, 31%)
CMYKcmyk(26.9%, 66.7%, 0%, 69.4%)
CIE-LABlab(16.30, 26.03, -26.08)
CIE-LCHlch(16.30, 36.85, 314.94°)
OKLaboklab(28.96% 0.0599 -0.0735)
OKLCHoklch(28.96% 0.095 309.2)
XYZxyz(3.4316, 2.1588, 7.4422)
Luminance0.0216 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391A4E #2F4E1A
analogous
#1F1A4E #391A4E #4E1A49
triadic
#391A4E #4E391A #1A4E39
tetradic
#391A4E #4E1F1A #2F4E1A #1A494E
square
#391A4E #4E1F1A #2F4E1A #1A494E
split-complementary
#391A4E #494E1A #1A4E1F
monochromatic
#110817 #170B20 #391A4E #5B297C #7C39AA

Accessibility & contrast

On white

14.67
#391A4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#391A4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391A4E
14.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391A4E#FFFFFF#000000##FFFFFF
##391A4E1.0014.671.4314.67
#FFFFFF14.671.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#052750
Deuteranopia (green-blind)
#13294D
Tritanopia (blue-blind)
#362431
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #391a4e;
/* rgb */ color: rgb(57, 26, 78);
/* oklch */ color: oklch(29.0% 0.095 309.2);
Tailwind
colors: {
  custom: {
    50: '#715880',
    500: '#391a4e',
    950: '#000000',
  },
}
SCSS
$custom: #391a4e;
$custom-light: #715880;
$custom-dark: #000000;
JSON
{
  "hex": "#391a4e",
  "rgb": {
    "r": 57,
    "g": 26,
    "b": 78
  },
  "hsl": {
    "h": 275.769,
    "s": 50,
    "l": 20.392
  },
  "oklch": {
    "l": 0.28961,
    "c": 0.0948,
    "h": 309.2
  },
  "luminance": 0.02159
}

Semantic roles & 50–950 ramp

primary
#391A4E
secondary
#5B8440
accent
#DA4E87
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#08030A
muted
#7B787C

Preview Lab

Preview with #391A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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