#391E6B#391E6B

#391E6B is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.0% C 0.126 H 294.2°. Best body text is #FFFFFF at 13.36:1 contrast (WCAG AA passes).

Color values

HEX#391E6B
RGBrgb(57, 30, 107)
HSLhsl(261, 56%, 27%)
HSVhsv(261, 72%, 42%)
CMYKcmyk(46.7%, 72%, 0%, 58%)
CIE-LABlab(19.47, 31.97, -40.28)
CIE-LCHlch(19.47, 51.42, 308.44°)
OKLaboklab(31.98% 0.0517 -0.1152)
OKLCHoklch(31.98% 0.126 294.2)
XYZxyz(4.8047, 2.8598, 14.2059)
Luminance0.0286 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391E6B #506B1E
analogous
#1E2A6B #391E6B #601E6B
triadic
#391E6B #6B391E #1E6B39
tetradic
#391E6B #6B1E2A #506B1E #1E6B60
square
#391E6B #6B1E2A #506B1E #1E6B60
split-complementary
#391E6B #6B601E #2A6B1E
monochromatic
#0D0718 #20113B #391E6B #522B9B #6D3BC8

Accessibility & contrast

On white

13.36
#391E6B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#391E6B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391E6B
13.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391E6B#FFFFFF#000000##FFFFFF
##391E6B1.0013.361.5713.36
#FFFFFF13.361.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00306D
Deuteranopia (green-blind)
#002E69
Tritanopia (blue-blind)
#2B3142
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #391e6b;
/* rgb */ color: rgb(57, 30, 107);
/* oklch */ color: oklch(32.0% 0.126 294.2);
Tailwind
colors: {
  custom: {
    50: '#745c96',
    500: '#391e6b',
    950: '#000000',
  },
}
SCSS
$custom: #391e6b;
$custom-light: #745c96;
$custom-dark: #000000;
JSON
{
  "hex": "#391e6b",
  "rgb": {
    "r": 57,
    "g": 30,
    "b": 107
  },
  "hsl": {
    "h": 261.039,
    "s": 56.204,
    "l": 26.863
  },
  "oklch": {
    "l": 0.31982,
    "c": 0.1263,
    "h": 294.2
  },
  "luminance": 0.0286
}

Semantic roles & 50–950 ramp

primary
#391E6B
secondary
#809F45
accent
#DF48AA
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040D
muted
#7B797E

Preview Lab

Preview with #391E6B

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

Preview Lab → · Contrast checker → · Palette generator →

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