#391A6E#391A6E

#391A6E is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.7% C 0.135 H 294.1°. Best body text is #FFFFFF at 13.58:1 contrast (WCAG AA passes).

Color values

HEX#391A6E
RGBrgb(57, 26, 110)
HSLhsl(262, 62%, 27%)
HSVhsv(262, 76%, 43%)
CMYKcmyk(48.2%, 76.4%, 0%, 56.9%)
CIE-LABlab(18.95, 35.08, -43.09)
CIE-LCHlch(18.95, 55.56, 309.15°)
OKLaboklab(31.69% 0.0553 -0.1234)
OKLCHoklch(31.69% 0.135 294.1)
XYZxyz(4.8704, 2.7343, 15.0200)
Luminance0.0273 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391A6E #4F6E1A
analogous
#1A256E #391A6E #631A6E
triadic
#391A6E #6E391A #1A6E39
tetradic
#391A6E #6E1A25 #4F6E1A #1A6E63
square
#391A6E #6E1A25 #4F6E1A #1A6E63
split-complementary
#391A6E #6E631A #256E1A
monochromatic
#0D0619 #1F0E3D #391A6E #5326A0 #6D34CF

Accessibility & contrast

On white

13.58
#391A6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #391A6E
13.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391A6E#FFFFFF#000000##FFFFFF
##391A6E1.0013.581.5513.58
#FFFFFF13.581.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F70
Deuteranopia (green-blind)
#002D6C
Tritanopia (blue-blind)
#2A3042
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #391a6e;
/* rgb */ color: rgb(57, 26, 110);
/* oklch */ color: oklch(31.7% 0.135 294.1);
Tailwind
colors: {
  custom: {
    50: '#755a98',
    500: '#391a6e',
    950: '#000000',
  },
}
SCSS
$custom: #391a6e;
$custom-light: #755a98;
$custom-dark: #000000;
JSON
{
  "hex": "#391a6e",
  "rgb": {
    "r": 57,
    "g": 26,
    "b": 110
  },
  "hsl": {
    "h": 262.143,
    "s": 61.765,
    "l": 26.667
  },
  "oklch": {
    "l": 0.31691,
    "c": 0.13528,
    "h": 294.1
  },
  "luminance": 0.02734
}

Semantic roles & 50–950 ramp

primary
#391A6E
secondary
#7FA341
accent
#E543A9
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #391A6E

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

Preview Lab → · Contrast checker → · Palette generator →

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