#391661#391661

#391661 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.0% C 0.124 H 300.2°. Best body text is #FFFFFF at 14.37:1 contrast (WCAG AA passes).

Color values

HEX#391661
RGBrgb(57, 22, 97)
HSLhsl(268, 63%, 23%)
HSVhsv(268, 77%, 38%)
CMYKcmyk(41.2%, 77.3%, 0%, 62%)
CIE-LABlab(17.02, 33.47, -37.70)
CIE-LCHlch(17.02, 50.41, 311.60°)
OKLaboklab(29.96% 0.0625 -0.1076)
OKLCHoklch(29.96% 0.124 300.2)
XYZxyz(4.1314, 2.3067, 11.5345)
Luminance0.0231 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391661 #3E6116
analogous
#161861 #391661 #5E1661
triadic
#391661 #613916 #166139
tetradic
#391661 #611618 #3E6116 #16615E
square
#391661 #611618 #3E6116 #16615E
split-complementary
#391661 #615E16 #186116
monochromatic
#0F0619 #1C0B2F #391661 #562193 #742DC5

Accessibility & contrast

On white

14.37
#391661 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#391661 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391661
14.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391661#FFFFFF#000000##FFFFFF
##3916611.0014.371.4614.37
#FFFFFF14.371.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A63
Deuteranopia (green-blind)
#00295F
Tritanopia (blue-blind)
#30293A
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #391661;
/* rgb */ color: rgb(57, 22, 97);
/* oklch */ color: oklch(30.0% 0.124 300.2);
Tailwind
colors: {
  custom: {
    50: '#74578f',
    500: '#391661',
    950: '#000000',
  },
}
SCSS
$custom: #391661;
$custom-light: #74578f;
$custom-dark: #000000;
JSON
{
  "hex": "#391661",
  "rgb": {
    "r": 57,
    "g": 22,
    "b": 97
  },
  "hsl": {
    "h": 268,
    "s": 63.025,
    "l": 23.333
  },
  "oklch": {
    "l": 0.29962,
    "c": 0.12446,
    "h": 300.2
  },
  "luminance": 0.02307
}

Semantic roles & 50–950 ramp

primary
#391661
secondary
#6C983B
accent
#E64299
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #391661

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

Preview Lab → · Contrast checker → · Palette generator →

#391661 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva