#391D6E#391D6E

#391D6E is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.1% C 0.131 H 293.4°. Best body text is #FFFFFF at 13.34:1 contrast (WCAG AA passes).

Color values

HEX#391D6E
RGBrgb(57, 29, 110)
HSLhsl(261, 58%, 27%)
HSVhsv(261, 74%, 43%)
CMYKcmyk(48.2%, 73.6%, 0%, 56.9%)
CIE-LABlab(19.53, 33.44, -42.13)
CIE-LCHlch(19.53, 53.79, 308.44°)
OKLaboklab(32.11% 0.0523 -0.1207)
OKLCHoklch(32.11% 0.131 293.4)
XYZxyz(4.9404, 2.8742, 15.0433)
Luminance0.0287 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391D6E #526E1D
analogous
#1D296E #391D6E #621D6E
triadic
#391D6E #6E391D #1D6E39
tetradic
#391D6E #6E1D29 #526E1D #1D6E62
square
#391D6E #6E1D29 #526E1D #1D6E62
split-complementary
#391D6E #6E621D #296E1D
monochromatic
#0D0618 #20103E #391D6E #522A9E #6C3ACB

Accessibility & contrast

On white

13.34
#391D6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #391D6E
13.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391D6E#FFFFFF#000000##FFFFFF
##391D6E1.0013.341.5713.34
#FFFFFF13.341.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003070
Deuteranopia (green-blind)
#002E6C
Tritanopia (blue-blind)
#293143
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #391d6e;
/* rgb */ color: rgb(57, 29, 110);
/* oklch */ color: oklch(32.1% 0.131 293.4);
Tailwind
colors: {
  custom: {
    50: '#755b98',
    500: '#391d6e',
    950: '#000000',
  },
}
SCSS
$custom: #391d6e;
$custom-light: #755b98;
$custom-dark: #000000;
JSON
{
  "hex": "#391d6e",
  "rgb": {
    "r": 57,
    "g": 29,
    "b": 110
  },
  "hsl": {
    "h": 260.741,
    "s": 58.273,
    "l": 27.255
  },
  "oklch": {
    "l": 0.32107,
    "c": 0.13149,
    "h": 293.4
  },
  "luminance": 0.02874
}

Semantic roles & 50–950 ramp

primary
#391D6E
secondary
#82A244
accent
#E146AC
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #391D6E

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

Preview Lab → · Contrast checker → · Palette generator →

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