#391A5F#391A5F

#391A5F is a dark, moderate violet. Relative luminance 0.024; OKLCH L 30.3% C 0.117 H 300.1°. Best body text is #FFFFFF at 14.12:1 contrast (WCAG AA passes).

Color values

HEX#391A5F
RGBrgb(57, 26, 95)
HSLhsl(267, 57%, 24%)
HSVhsv(267, 73%, 37%)
CMYKcmyk(40%, 72.6%, 0%, 62.7%)
CIE-LABlab(17.62, 30.75, -35.40)
CIE-LCHlch(17.62, 46.89, 310.98°)
OKLaboklab(30.34% 0.0584 -0.1009)
OKLCHoklch(30.34% 0.117 300.1)
XYZxyz(4.1218, 2.4348, 11.0771)
Luminance0.0244 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391A5F #405F1A
analogous
#1A1D5F #391A5F #5B1A5F
triadic
#391A5F #5F391A #1A5F39
tetradic
#391A5F #5F1A1D #405F1A #1A5F5B
square
#391A5F #5F1A1D #405F1A #1A5F5B
split-complementary
#391A5F #5F5B1A #1D5F1A
monochromatic
#0E0718 #1C0D2F #391A5F #56278F #7334BF

Accessibility & contrast

On white

14.12
#391A5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#391A5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391A5F
14.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391A5F#FFFFFF#000000##FFFFFF
##391A5F1.0014.121.4914.12
#FFFFFF14.121.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B61
Deuteranopia (green-blind)
#002B5E
Tritanopia (blue-blind)
#302A3A
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #391a5f;
/* rgb */ color: rgb(57, 26, 95);
/* oklch */ color: oklch(30.3% 0.117 300.1);
Tailwind
colors: {
  custom: {
    50: '#73598d',
    500: '#391a5f',
    950: '#000000',
  },
}
SCSS
$custom: #391a5f;
$custom-light: #73598d;
$custom-dark: #000000;
JSON
{
  "hex": "#391a5f",
  "rgb": {
    "r": 57,
    "g": 26,
    "b": 95
  },
  "hsl": {
    "h": 266.957,
    "s": 57.025,
    "l": 23.725
  },
  "oklch": {
    "l": 0.30335,
    "c": 0.11653,
    "h": 300.1
  },
  "luminance": 0.02435
}

Semantic roles & 50–950 ramp

primary
#391A5F
secondary
#6F9540
accent
#E0489C
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #391A5F

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

Preview Lab → · Contrast checker → · Palette generator →

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