#391A74#391A74

#391A74 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.3% C 0.143 H 292.1°. Best body text is #FFFFFF at 13.34:1 contrast (WCAG AA passes).

Color values

HEX#391A74
RGBrgb(57, 26, 116)
HSLhsl(261, 63%, 28%)
HSVhsv(261, 78%, 45%)
CMYKcmyk(50.9%, 77.6%, 0%, 54.5%)
CIE-LABlab(19.51, 36.84, -46.04)
CIE-LCHlch(19.51, 58.96, 308.67°)
OKLaboklab(32.27% 0.0538 -0.1321)
OKLCHoklch(32.27% 0.143 292.1)
XYZxyz(5.2082, 2.8694, 16.7990)
Luminance0.0287 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391A74 #55741A
analogous
#1A2874 #391A74 #661A74
triadic
#391A74 #74391A #1A7439
tetradic
#391A74 #741A28 #55741A #1A7466
square
#391A74 #741A28 #55741A #1A7466
split-complementary
#391A74 #74661A #28741A
monochromatic
#0C0619 #200F42 #391A74 #5225A6 #6C36D2

Accessibility & contrast

On white

13.34
#391A74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#391A74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391A74
13.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391A74#FFFFFF#000000##FFFFFF
##391A741.0013.341.5713.34
#FFFFFF13.341.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003177
Deuteranopia (green-blind)
#002D72
Tritanopia (blue-blind)
#263246
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #391a74;
/* rgb */ color: rgb(57, 26, 116);
/* oklch */ color: oklch(32.3% 0.143 292.1);
Tailwind
colors: {
  custom: {
    50: '#765a9d',
    500: '#391a74',
    950: '#000000',
  },
}
SCSS
$custom: #391a74;
$custom-light: #765a9d;
$custom-dark: #000000;
JSON
{
  "hex": "#391a74",
  "rgb": {
    "r": 57,
    "g": 26,
    "b": 116
  },
  "hsl": {
    "h": 260.667,
    "s": 63.38,
    "l": 27.843
  },
  "oklch": {
    "l": 0.32265,
    "c": 0.14265,
    "h": 292.1
  },
  "luminance": 0.0287
}

Semantic roles & 50–950 ramp

primary
#391A74
secondary
#85A941
accent
#E641AE
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #391A74

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

Preview Lab → · Contrast checker → · Palette generator →

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