#391D52#391D52

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

Color values

HEX#391D52
RGBrgb(57, 29, 82)
HSLhsl(272, 48%, 22%)
HSVhsv(272, 65%, 32%)
CMYKcmyk(30.5%, 64.6%, 0%, 67.8%)
CIE-LABlab(17.26, 25.31, -27.26)
CIE-LCHlch(17.26, 37.20, 312.87°)
OKLaboklab(29.76% 0.0555 -0.077)
OKLCHoklch(29.76% 0.095 305.8)
XYZxyz(3.6494, 2.3578, 8.2439)
Luminance0.0236 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391D52 #36521D
analogous
#1F1D52 #391D52 #521D51
triadic
#391D52 #52391D #1D5239
tetradic
#391D52 #521F1D #36521D #1D5152
square
#391D52 #521F1D #36521D #1D5152
split-complementary
#391D52 #51521D #1D521F
monochromatic
#100817 #1A0D25 #391D52 #582D7F #783DAC

Accessibility & contrast

On white

14.27
#391D52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #391D52
14.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391D52#FFFFFF#000000##FFFFFF
##391D521.0014.271.4714.27
#FFFFFF14.271.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#062A54
Deuteranopia (green-blind)
#132B51
Tritanopia (blue-blind)
#352734
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #391d52;
/* rgb */ color: rgb(57, 29, 82);
/* oklch */ color: oklch(29.8% 0.095 305.8);
Tailwind
colors: {
  custom: {
    50: '#725a83',
    500: '#391d52',
    950: '#000000',
  },
}
SCSS
$custom: #391d52;
$custom-light: #725a83;
$custom-dark: #000000;
JSON
{
  "hex": "#391d52",
  "rgb": {
    "r": 57,
    "g": 29,
    "b": 82
  },
  "hsl": {
    "h": 271.698,
    "s": 47.748,
    "l": 21.765
  },
  "oklch": {
    "l": 0.29755,
    "c": 0.09486,
    "h": 305.8
  },
  "luminance": 0.02358
}

Semantic roles & 50–950 ramp

primary
#391D52
secondary
#638744
accent
#D75090
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#08040A
muted
#7B797C

Preview Lab

Preview with #391D52

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

Preview Lab → · Contrast checker → · Palette generator →

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