#391D53#391D53

#391D53 is a dark, moderate violet. Relative luminance 0.024; OKLCH L 29.8% C 0.096 H 305.2°. Best body text is #FFFFFF at 14.24:1 contrast (WCAG AA passes).

Color values

HEX#391D53
RGBrgb(57, 29, 83)
HSLhsl(271, 48%, 22%)
HSVhsv(271, 65%, 33%)
CMYKcmyk(31.3%, 65.1%, 0%, 67.5%)
CIE-LABlab(17.33, 25.58, -27.82)
CIE-LCHlch(17.33, 37.80, 312.60°)
OKLaboklab(29.83% 0.0555 -0.0786)
OKLCHoklch(29.83% 0.096 305.2)
XYZxyz(3.6877, 2.3731, 8.4457)
Luminance0.0237 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391D53 #37531D
analogous
#1E1D53 #391D53 #531D52
triadic
#391D53 #53391D #1D5339
tetradic
#391D53 #531E1D #37531D #1D5253
square
#391D53 #531E1D #37531D #1D5253
split-complementary
#391D53 #52531D #1D531E
monochromatic
#100817 #1A0D26 #391D53 #582D80 #773DAE

Accessibility & contrast

On white

14.24
#391D53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#391D53 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391D53
14.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391D53#FFFFFF#000000##FFFFFF
##391D531.0014.241.4714.24
#FFFFFF14.241.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#052A55
Deuteranopia (green-blind)
#122B52
Tritanopia (blue-blind)
#342835
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #391d53;
/* rgb */ color: rgb(57, 29, 83);
/* oklch */ color: oklch(29.8% 0.096 305.2);
Tailwind
colors: {
  custom: {
    50: '#725a84',
    500: '#391d53',
    950: '#000000',
  },
}
SCSS
$custom: #391d53;
$custom-light: #725a84;
$custom-dark: #000000;
JSON
{
  "hex": "#391d53",
  "rgb": {
    "r": 57,
    "g": 29,
    "b": 83
  },
  "hsl": {
    "h": 271.111,
    "s": 48.214,
    "l": 21.961
  },
  "oklch": {
    "l": 0.29831,
    "c": 0.0962,
    "h": 305.2
  },
  "luminance": 0.02373
}

Semantic roles & 50–950 ramp

primary
#391D53
secondary
#658844
accent
#D85091
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#08040B
muted
#7B797C

Preview Lab

Preview with #391D53

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

Preview Lab → · Contrast checker → · Palette generator →

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