#391D74#391D74

#391D74 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.7% C 0.139 H 291.5°. Best body text is #FFFFFF at 13.11:1 contrast (WCAG AA passes).

Color values

HEX#391D74
RGBrgb(57, 29, 116)
HSLhsl(259, 60%, 28%)
HSVhsv(259, 75%, 45%)
CMYKcmyk(50.9%, 75%, 0%, 54.5%)
CIE-LABlab(20.08, 35.24, -45.11)
CIE-LCHlch(20.08, 57.24, 308.00°)
OKLaboklab(32.67% 0.051 -0.1294)
OKLCHoklch(32.67% 0.139 291.5)
XYZxyz(5.2782, 3.0093, 16.8224)
Luminance0.0301 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391D74 #58741D
analogous
#1D2C74 #391D74 #641D74
triadic
#391D74 #74391D #1D7439
tetradic
#391D74 #741D2C #58741D #1D7464
square
#391D74 #741D2C #58741D #1D7464
split-complementary
#391D74 #74641D #2C741D
monochromatic
#0C0618 #211143 #391D74 #5129A5 #6C3DCE

Accessibility & contrast

On white

13.11
#391D74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#391D74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391D74
13.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391D74#FFFFFF#000000##FFFFFF
##391D741.0013.111.6013.11
#FFFFFF13.111.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003277
Deuteranopia (green-blind)
#002F72
Tritanopia (blue-blind)
#263446
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #391d74;
/* rgb */ color: rgb(57, 29, 116);
/* oklch */ color: oklch(32.7% 0.139 291.5);
Tailwind
colors: {
  custom: {
    50: '#765c9d',
    500: '#391d74',
    950: '#000000',
  },
}
SCSS
$custom: #391d74;
$custom-light: #765c9d;
$custom-dark: #000000;
JSON
{
  "hex": "#391d74",
  "rgb": {
    "r": 57,
    "g": 29,
    "b": 116
  },
  "hsl": {
    "h": 259.31,
    "s": 60,
    "l": 28.431
  },
  "oklch": {
    "l": 0.32666,
    "c": 0.13908,
    "h": 291.5
  },
  "luminance": 0.0301
}

Semantic roles & 50–950 ramp

primary
#391D74
secondary
#88A845
accent
#E345B0
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #391D74

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

Preview Lab → · Contrast checker → · Palette generator →

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