#391774#391774

#391774 is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.9% C 0.146 H 292.7°. Best body text is #FFFFFF at 13.56:1 contrast (WCAG AA passes).

Color values

HEX#391774
RGBrgb(57, 23, 116)
HSLhsl(262, 67%, 27%)
HSVhsv(262, 80%, 45%)
CMYKcmyk(50.9%, 80.2%, 0%, 54.5%)
CIE-LABlab(18.99, 38.34, -46.90)
CIE-LCHlch(18.99, 60.58, 309.27°)
OKLaboklab(31.9% 0.0564 -0.1346)
OKLCHoklch(31.9% 0.146 292.7)
XYZxyz(5.1452, 2.7434, 16.7780)
Luminance0.0274 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391774 #527417
analogous
#172474 #391774 #671774
triadic
#391774 #743917 #177439
tetradic
#391774 #741724 #527417 #177467
square
#391774 #741724 #527417 #177467
split-complementary
#391774 #746717 #247417
monochromatic
#0D051A #200D41 #391774 #5221A7 #6C30D6

Accessibility & contrast

On white

13.56
#391774 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#391774 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391774
13.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391774#FFFFFF#000000##FFFFFF
##3917741.0013.561.5513.56
#FFFFFF13.561.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F77
Deuteranopia (green-blind)
#002C72
Tritanopia (blue-blind)
#263145
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #391774;
/* rgb */ color: rgb(57, 23, 116);
/* oklch */ color: oklch(31.9% 0.146 292.7);
Tailwind
colors: {
  custom: {
    50: '#76589d',
    500: '#391774',
    950: '#000000',
  },
}
SCSS
$custom: #391774;
$custom-light: #76589d;
$custom-dark: #000000;
JSON
{
  "hex": "#391774",
  "rgb": {
    "r": 57,
    "g": 23,
    "b": 116
  },
  "hsl": {
    "h": 261.935,
    "s": 66.906,
    "l": 27.255
  },
  "oklch": {
    "l": 0.31895,
    "c": 0.14597,
    "h": 292.7
  },
  "luminance": 0.02744
}

Semantic roles & 50–950 ramp

primary
#391774
secondary
#82A93D
accent
#EA3EAB
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #391774

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

Preview Lab → · Contrast checker → · Palette generator →

#391774 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva