#391A5E#391A5E

#391A5E is a dark, moderate violet. Relative luminance 0.024; OKLCH L 30.2% C 0.115 H 300.5°. Best body text is #FFFFFF at 14.16:1 contrast (WCAG AA passes).

Color values

HEX#391A5E
RGBrgb(57, 26, 94)
HSLhsl(267, 57%, 24%)
HSVhsv(267, 72%, 37%)
CMYKcmyk(39.4%, 72.3%, 0%, 63.1%)
CIE-LABlab(17.54, 30.46, -34.87)
CIE-LCHlch(17.54, 46.30, 311.14°)
OKLaboklab(30.25% 0.0585 -0.0993)
OKLCHoklch(30.25% 0.115 300.5)
XYZxyz(4.0766, 2.4168, 10.8392)
Luminance0.0242 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391A5E #3F5E1A
analogous
#1A1D5E #391A5E #5B1A5E
triadic
#391A5E #5E391A #1A5E39
tetradic
#391A5E #5E1A1D #3F5E1A #1A5E5B
square
#391A5E #5E1A1D #3F5E1A #1A5E5B
split-complementary
#391A5E #5E5B1A #1D5E1A
monochromatic
#0F0718 #1C0D2E #391A5E #56278E #7335BE

Accessibility & contrast

On white

14.16
#391A5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#391A5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391A5E
14.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391A5E#FFFFFF#000000##FFFFFF
##391A5E1.0014.161.4814.16
#FFFFFF14.161.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B60
Deuteranopia (green-blind)
#002B5D
Tritanopia (blue-blind)
#312A39
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #391a5e;
/* rgb */ color: rgb(57, 26, 94);
/* oklch */ color: oklch(30.2% 0.115 300.5);
Tailwind
colors: {
  custom: {
    50: '#73598c',
    500: '#391a5e',
    950: '#000000',
  },
}
SCSS
$custom: #391a5e;
$custom-light: #73598c;
$custom-dark: #000000;
JSON
{
  "hex": "#391a5e",
  "rgb": {
    "r": 57,
    "g": 26,
    "b": 94
  },
  "hsl": {
    "h": 267.353,
    "s": 56.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.30249,
    "c": 0.11526,
    "h": 300.5
  },
  "luminance": 0.02417
}

Semantic roles & 50–950 ramp

primary
#391A5E
secondary
#6E9440
accent
#E0489B
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #391A5E

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

Preview Lab → · Contrast checker → · Palette generator →

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