#391374#391374

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

Color values

HEX#391374
RGBrgb(57, 19, 116)
HSLhsl(264, 72%, 26%)
HSVhsv(264, 84%, 45%)
CMYKcmyk(50.9%, 83.6%, 0%, 54.5%)
CIE-LABlab(18.35, 40.18, -47.95)
CIE-LCHlch(18.35, 62.56, 309.96°)
OKLaboklab(31.45% 0.0596 -0.1376)
OKLCHoklch(31.45% 0.15 293.4)
XYZxyz(5.0717, 2.5964, 16.7535)
Luminance0.0260 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391374 #4E7413
analogous
#131E74 #391374 #6A1374
triadic
#391374 #743913 #137439
tetradic
#391374 #74131E #4E7413 #13746A
square
#391374 #74131E #4E7413 #13746A
split-complementary
#391374 #746A13 #1E7413
monochromatic
#0D041A #1F0A3F #391374 #531CA9 #6D26DB

Accessibility & contrast

On white

13.82
#391374 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#391374 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391374
13.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391374#FFFFFF#000000##FFFFFF
##3913741.0013.821.5213.82
#FFFFFF13.821.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E77
Deuteranopia (green-blind)
#002B72
Tritanopia (blue-blind)
#262F44
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #391374;
/* rgb */ color: rgb(57, 19, 116);
/* oklch */ color: oklch(31.5% 0.150 293.4);
Tailwind
colors: {
  custom: {
    50: '#77569d',
    500: '#391374',
    950: '#000000',
  },
}
SCSS
$custom: #391374;
$custom-light: #77569d;
$custom-dark: #000000;
JSON
{
  "hex": "#391374",
  "rgb": {
    "r": 57,
    "g": 19,
    "b": 116
  },
  "hsl": {
    "h": 263.505,
    "s": 71.852,
    "l": 26.471
  },
  "oklch": {
    "l": 0.31452,
    "c": 0.15001,
    "h": 293.4
  },
  "luminance": 0.02597
}

Semantic roles & 50–950 ramp

primary
#391374
secondary
#7EAA38
accent
#EF39A8
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #391374

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

Preview Lab → · Contrast checker → · Palette generator →

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