#391674#391674

#391674 is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.8% C 0.147 H 292.9°. Best body text is #FFFFFF at 13.63:1 contrast (WCAG AA passes).

Color values

HEX#391674
RGBrgb(57, 22, 116)
HSLhsl(262, 68%, 27%)
HSVhsv(262, 81%, 45%)
CMYKcmyk(50.9%, 81%, 0%, 54.5%)
CIE-LABlab(18.82, 38.82, -47.18)
CIE-LCHlch(18.82, 61.10, 309.45°)
OKLaboklab(31.78% 0.0573 -0.1354)
OKLCHoklch(31.78% 0.147 292.9)
XYZxyz(5.1258, 2.7045, 16.7715)
Luminance0.0271 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391674 #517416
analogous
#162274 #391674 #681674
triadic
#391674 #743916 #167439
tetradic
#391674 #741622 #517416 #167468
square
#391674 #741622 #517416 #167468
split-complementary
#391674 #746816 #227416
monochromatic
#0D051A #200C41 #391674 #5220A7 #6C2DD7

Accessibility & contrast

On white

13.63
#391674 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#391674 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391674
13.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391674#FFFFFF#000000##FFFFFF
##3916741.0013.631.5413.63
#FFFFFF13.631.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F77
Deuteranopia (green-blind)
#002C72
Tritanopia (blue-blind)
#263045
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #391674;
/* rgb */ color: rgb(57, 22, 116);
/* oklch */ color: oklch(31.8% 0.147 292.9);
Tailwind
colors: {
  custom: {
    50: '#76589d',
    500: '#391674',
    950: '#000000',
  },
}
SCSS
$custom: #391674;
$custom-light: #76589d;
$custom-dark: #000000;
JSON
{
  "hex": "#391674",
  "rgb": {
    "r": 57,
    "g": 22,
    "b": 116
  },
  "hsl": {
    "h": 262.34,
    "s": 68.116,
    "l": 27.059
  },
  "oklch": {
    "l": 0.31779,
    "c": 0.14702,
    "h": 292.9
  },
  "luminance": 0.02705
}

Semantic roles & 50–950 ramp

primary
#391674
secondary
#81AA3C
accent
#EB3DAA
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #391674

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

Preview Lab → · Contrast checker → · Palette generator →

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