#391974#391974

#391974 is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.1% C 0.144 H 292.4°. Best body text is #FFFFFF at 13.42:1 contrast (WCAG AA passes).

Color values

HEX#391974
RGBrgb(57, 25, 116)
HSLhsl(261, 65%, 28%)
HSVhsv(261, 78%, 45%)
CMYKcmyk(50.9%, 78.4%, 0%, 54.5%)
CIE-LABlab(19.33, 37.35, -46.33)
CIE-LCHlch(19.33, 59.52, 308.87°)
OKLaboklab(32.14% 0.0547 -0.133)
OKLCHoklch(32.14% 0.144 292.4)
XYZxyz(5.1865, 2.8259, 16.7918)
Luminance0.0283 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391974 #547419
analogous
#192674 #391974 #661974
triadic
#391974 #743919 #197439
tetradic
#391974 #741926 #547419 #197466
square
#391974 #741926 #547419 #197466
split-complementary
#391974 #746619 #267419
monochromatic
#0C0519 #200E42 #391974 #5224A6 #6C34D3

Accessibility & contrast

On white

13.42
#391974 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#391974 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391974
13.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391974#FFFFFF#000000##FFFFFF
##3919741.0013.421.5713.42
#FFFFFF13.421.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003077
Deuteranopia (green-blind)
#002D72
Tritanopia (blue-blind)
#263245
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #391974;
/* rgb */ color: rgb(57, 25, 116);
/* oklch */ color: oklch(32.1% 0.144 292.4);
Tailwind
colors: {
  custom: {
    50: '#76599d',
    500: '#391974',
    950: '#000000',
  },
}
SCSS
$custom: #391974;
$custom-light: #76599d;
$custom-dark: #000000;
JSON
{
  "hex": "#391974",
  "rgb": {
    "r": 57,
    "g": 25,
    "b": 116
  },
  "hsl": {
    "h": 261.099,
    "s": 64.539,
    "l": 27.647
  },
  "oklch": {
    "l": 0.32138,
    "c": 0.14378,
    "h": 292.4
  },
  "luminance": 0.02826
}

Semantic roles & 50–950 ramp

primary
#391974
secondary
#84A940
accent
#E840AD
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #391974

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

Preview Lab → · Contrast checker → · Palette generator →

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