#391D68#391D68

#391D68 is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.6% C 0.124 H 295.5°. Best body text is #FFFFFF at 13.55:1 contrast (WCAG AA passes).

Color values

HEX#391D68
RGBrgb(57, 29, 104)
HSLhsl(262, 56%, 26%)
HSVhsv(262, 72%, 41%)
CMYKcmyk(45.2%, 72.1%, 0%, 59.2%)
CIE-LABlab(19.00, 31.65, -39.08)
CIE-LCHlch(19.00, 50.29, 309.01°)
OKLaboklab(31.57% 0.0534 -0.1117)
OKLCHoklch(31.57% 0.124 295.5)
XYZxyz(4.6247, 2.7480, 13.3808)
Luminance0.0275 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391D68 #4C681D
analogous
#1D2668 #391D68 #5E1D68
triadic
#391D68 #68391D #1D6839
tetradic
#391D68 #681D26 #4C681D #1D685E
square
#391D68 #681D26 #4C681D #1D685E
split-complementary
#391D68 #685E1D #26681D
monochromatic
#0D0718 #1F1038 #391D68 #532A98 #6E38C7

Accessibility & contrast

On white

13.55
#391D68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#391D68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391D68
13.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391D68#FFFFFF#000000##FFFFFF
##391D681.0013.551.5513.55
#FFFFFF13.551.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F6A
Deuteranopia (green-blind)
#002D66
Tritanopia (blue-blind)
#2C2F40
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #391d68;
/* rgb */ color: rgb(57, 29, 104);
/* oklch */ color: oklch(31.6% 0.124 295.5);
Tailwind
colors: {
  custom: {
    50: '#745b94',
    500: '#391d68',
    950: '#000000',
  },
}
SCSS
$custom: #391d68;
$custom-light: #745b94;
$custom-dark: #000000;
JSON
{
  "hex": "#391d68",
  "rgb": {
    "r": 57,
    "g": 29,
    "b": 104
  },
  "hsl": {
    "h": 262.4,
    "s": 56.391,
    "l": 26.078
  },
  "oklch": {
    "l": 0.31565,
    "c": 0.1238,
    "h": 295.5
  },
  "luminance": 0.02748
}

Semantic roles & 50–950 ramp

primary
#391D68
secondary
#7C9D44
accent
#E048A7
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09040D
muted
#7B797E

Preview Lab

Preview with #391D68

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

Preview Lab → · Contrast checker → · Palette generator →

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