#391671#391671

#391671 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.5% C 0.143 H 293.9°. Best body text is #FFFFFF at 13.75:1 contrast (WCAG AA passes).

Color values

HEX#391671
RGBrgb(57, 22, 113)
HSLhsl(263, 67%, 26%)
HSVhsv(263, 81%, 44%)
CMYKcmyk(49.6%, 80.5%, 0%, 55.7%)
CIE-LABlab(18.52, 37.97, -45.73)
CIE-LCHlch(18.52, 59.44, 309.71°)
OKLaboklab(31.48% 0.0582 -0.1312)
OKLCHoklch(31.48% 0.144 293.9)
XYZxyz(4.9541, 2.6358, 15.8673)
Luminance0.0264 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391671 #4E7116
analogous
#162171 #391671 #671671
triadic
#391671 #713916 #167139
tetradic
#391671 #711621 #4E7116 #167167
square
#391671 #711621 #4E7116 #167167
split-complementary
#391671 #716716 #217116
monochromatic
#0D051A #1F0C3E #391671 #5320A4 #6D2CD6

Accessibility & contrast

On white

13.75
#391671 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#391671 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391671
13.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391671#FFFFFF#000000##FFFFFF
##3916711.0013.751.5313.75
#FFFFFF13.751.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E74
Deuteranopia (green-blind)
#002C6F
Tritanopia (blue-blind)
#282F43
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #391671;
/* rgb */ color: rgb(57, 22, 113);
/* oklch */ color: oklch(31.5% 0.143 293.9);
Tailwind
colors: {
  custom: {
    50: '#76589b',
    500: '#391671',
    950: '#000000',
  },
}
SCSS
$custom: #391671;
$custom-light: #76589b;
$custom-dark: #000000;
JSON
{
  "hex": "#391671",
  "rgb": {
    "r": 57,
    "g": 22,
    "b": 113
  },
  "hsl": {
    "h": 263.077,
    "s": 67.407,
    "l": 26.471
  },
  "oklch": {
    "l": 0.3148,
    "c": 0.1435,
    "h": 293.9
  },
  "luminance": 0.02636
}

Semantic roles & 50–950 ramp

primary
#391671
secondary
#7EA73C
accent
#EA3EA8
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #391671

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

Preview Lab → · Contrast checker → · Palette generator →

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