#391972#391972

#391972 is a dark, vivid violet. Relative luminance 0.028; OKLCH L 31.9% C 0.141 H 293.0°. Best body text is #FFFFFF at 13.50:1 contrast (WCAG AA passes).

Color values

HEX#391972
RGBrgb(57, 25, 114)
HSLhsl(262, 64%, 27%)
HSVhsv(262, 78%, 45%)
CMYKcmyk(50%, 78.1%, 0%, 55.3%)
CIE-LABlab(19.14, 36.77, -45.36)
CIE-LCHlch(19.14, 58.39, 309.03°)
OKLaboklab(31.94% 0.0552 -0.1301)
OKLCHoklch(31.94% 0.141 293)
XYZxyz(5.0714, 2.7799, 16.1857)
Luminance0.0278 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391972 #527219
analogous
#192672 #391972 #661972
triadic
#391972 #723919 #197239
tetradic
#391972 #721926 #527219 #197266
square
#391972 #721926 #527219 #197266
split-complementary
#391972 #726619 #267219
monochromatic
#0D0619 #200E40 #391972 #5224A4 #6C33D2

Accessibility & contrast

On white

13.50
#391972 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#391972 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391972
13.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391972#FFFFFF#000000##FFFFFF
##3919721.0013.501.5613.50
#FFFFFF13.501.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003075
Deuteranopia (green-blind)
#002D70
Tritanopia (blue-blind)
#273144
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #391972;
/* rgb */ color: rgb(57, 25, 114);
/* oklch */ color: oklch(31.9% 0.141 293.0);
Tailwind
colors: {
  custom: {
    50: '#76599b',
    500: '#391972',
    950: '#000000',
  },
}
SCSS
$custom: #391972;
$custom-light: #76599b;
$custom-dark: #000000;
JSON
{
  "hex": "#391972",
  "rgb": {
    "r": 57,
    "g": 25,
    "b": 114
  },
  "hsl": {
    "h": 261.573,
    "s": 64.029,
    "l": 27.255
  },
  "oklch": {
    "l": 0.31943,
    "c": 0.14136,
    "h": 293
  },
  "luminance": 0.0278
}

Semantic roles & 50–950 ramp

primary
#391972
secondary
#82A740
accent
#E741AB
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #391972

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

Preview Lab → · Contrast checker → · Palette generator →

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