#391555#391555

#391555 is a dark, moderate violet. Relative luminance 0.021; OKLCH L 28.8% C 0.111 H 306.3°. Best body text is #FFFFFF at 14.87:1 contrast (WCAG AA passes).

Color values

HEX#391555
RGBrgb(57, 21, 85)
HSLhsl(274, 60%, 21%)
HSVhsv(274, 75%, 33%)
CMYKcmyk(32.9%, 75.3%, 0%, 66.7%)
CIE-LABlab(15.81, 30.72, -31.63)
CIE-LCHlch(15.81, 44.10, 314.17°)
OKLaboklab(28.78% 0.066 -0.0898)
OKLCHoklch(28.78% 0.111 306.3)
XYZxyz(3.5948, 2.0621, 8.8012)
Luminance0.0206 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391555 #315515
analogous
#191555 #391555 #551551
triadic
#391555 #553915 #155539
tetradic
#391555 #551915 #315515 #155155
square
#391555 #551915 #315515 #155155
split-complementary
#391555 #515515 #155519
monochromatic
#100619 #180924 #391555 #5A2186 #7B2DB7

Accessibility & contrast

On white

14.87
#391555 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#391555 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391555
14.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391555#FFFFFF#000000##FFFFFF
##3915551.0014.871.4114.87
#FFFFFF14.871.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002657
Deuteranopia (green-blind)
#032854
Tritanopia (blue-blind)
#342333
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #391555;
/* rgb */ color: rgb(57, 21, 85);
/* oklch */ color: oklch(28.8% 0.111 306.3);
Tailwind
colors: {
  custom: {
    50: '#725685',
    500: '#391555',
    950: '#000000',
  },
}
SCSS
$custom: #391555;
$custom-light: #725685;
$custom-dark: #000000;
JSON
{
  "hex": "#391555",
  "rgb": {
    "r": 57,
    "g": 21,
    "b": 85
  },
  "hsl": {
    "h": 273.75,
    "s": 60.377,
    "l": 20.784
  },
  "oklch": {
    "l": 0.28779,
    "c": 0.11141,
    "h": 306.3
  },
  "luminance": 0.02062
}

Semantic roles & 50–950 ramp

primary
#391555
secondary
#5E8D39
accent
#E4448A
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#08030B
muted
#7B787C

Preview Lab

Preview with #391555

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

Preview Lab → · Contrast checker → · Palette generator →

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