#391E4E#391E4E

#391E4E is a dark, moderate violet. Relative luminance 0.023; OKLCH L 29.6% C 0.088 H 307.9°. Best body text is #FFFFFF at 14.29:1 contrast (WCAG AA passes).

Color values

HEX#391E4E
RGBrgb(57, 30, 78)
HSLhsl(274, 44%, 21%)
HSVhsv(274, 62%, 31%)
CMYKcmyk(26.9%, 61.5%, 0%, 69.4%)
CIE-LABlab(17.22, 23.58, -24.61)
CIE-LCHlch(17.22, 34.09, 313.77°)
OKLaboklab(29.63% 0.0539 -0.0692)
OKLCHoklch(29.63% 0.088 307.9)
XYZxyz(3.5265, 2.3485, 7.4738)
Luminance0.0235 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391E4E #334E1E
analogous
#211E4E #391E4E #4E1E4B
triadic
#391E4E #4E391E #1E4E39
tetradic
#391E4E #4E211E #334E1E #1E4B4E
square
#391E4E #4E211E #334E1E #1E4B4E
split-complementary
#391E4E #4B4E1E #1E4E21
monochromatic
#100916 #190D22 #391E4E #592F7A #7A40A6

Accessibility & contrast

On white

14.29
#391E4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #391E4E
14.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391E4E#FFFFFF#000000##FFFFFF
##391E4E1.0014.291.4714.29
#FFFFFF14.291.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E2950
Deuteranopia (green-blind)
#172B4D
Tritanopia (blue-blind)
#362732
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #391e4e;
/* rgb */ color: rgb(57, 30, 78);
/* oklch */ color: oklch(29.6% 0.088 307.9);
Tailwind
colors: {
  custom: {
    50: '#715b80',
    500: '#391e4e',
    950: '#000000',
  },
}
SCSS
$custom: #391e4e;
$custom-light: #715b80;
$custom-dark: #000000;
JSON
{
  "hex": "#391e4e",
  "rgb": {
    "r": 57,
    "g": 30,
    "b": 78
  },
  "hsl": {
    "h": 273.75,
    "s": 44.444,
    "l": 21.176
  },
  "oklch": {
    "l": 0.29633,
    "c": 0.08771,
    "h": 307.9
  },
  "luminance": 0.02348
}

Semantic roles & 50–950 ramp

primary
#391E4E
secondary
#608345
accent
#D4548C
background
#F6F5F7
surface
#ECE9EE
border
#C7C5C9
text
#08040A
muted
#7B797C

Preview Lab

Preview with #391E4E

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

Preview Lab → · Contrast checker → · Palette generator →

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