#391A5C#391A5C

#391A5C is a dark, moderate violet. Relative luminance 0.024; OKLCH L 30.1% C 0.113 H 301.4°. Best body text is #FFFFFF at 14.23:1 contrast (WCAG AA passes).

Color values

HEX#391A5C
RGBrgb(57, 26, 92)
HSLhsl(268, 56%, 23%)
HSVhsv(268, 72%, 36%)
CMYKcmyk(38%, 71.7%, 0%, 63.9%)
CIE-LABlab(17.37, 29.89, -33.80)
CIE-LCHlch(17.37, 45.13, 311.49°)
OKLaboklab(30.08% 0.0588 -0.0962)
OKLCHoklch(30.08% 0.113 301.4)
XYZxyz(3.9880, 2.3813, 10.3727)
Luminance0.0238 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391A5C #3D5C1A
analogous
#1A1C5C #391A5C #5A1A5C
triadic
#391A5C #5C391A #1A5C39
tetradic
#391A5C #5C1A1C #3D5C1A #1A5C5A
square
#391A5C #5C1A1C #3D5C1A #1A5C5A
split-complementary
#391A5C #5C5A1A #1C5C1A
monochromatic
#0F0718 #1B0D2C #391A5C #57278C #7435BB

Accessibility & contrast

On white

14.23
#391A5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #391A5C
14.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391A5C#FFFFFF#000000##FFFFFF
##391A5C1.0014.231.4814.23
#FFFFFF14.231.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A5E
Deuteranopia (green-blind)
#002A5B
Tritanopia (blue-blind)
#322938
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #391a5c;
/* rgb */ color: rgb(57, 26, 92);
/* oklch */ color: oklch(30.1% 0.113 301.4);
Tailwind
colors: {
  custom: {
    50: '#73598b',
    500: '#391a5c',
    950: '#000000',
  },
}
SCSS
$custom: #391a5c;
$custom-light: #73598b;
$custom-dark: #000000;
JSON
{
  "hex": "#391a5c",
  "rgb": {
    "r": 57,
    "g": 26,
    "b": 92
  },
  "hsl": {
    "h": 268.182,
    "s": 55.932,
    "l": 23.137
  },
  "oklch": {
    "l": 0.30079,
    "c": 0.11272,
    "h": 301.4
  },
  "luminance": 0.02381
}

Semantic roles & 50–950 ramp

primary
#391A5C
secondary
#6B9240
accent
#DF4998
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #391A5C

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

Preview Lab → · Contrast checker → · Palette generator →

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