#391654#391654

#391654 is a dark, moderate violet. Relative luminance 0.021; OKLCH L 28.8% C 0.109 H 306.6°. Best body text is #FFFFFF at 14.82:1 contrast (WCAG AA passes).

Color values

HEX#391654
RGBrgb(57, 22, 84)
HSLhsl(274, 58%, 21%)
HSVhsv(274, 74%, 33%)
CMYKcmyk(32.1%, 73.8%, 0%, 67.1%)
CIE-LABlab(15.92, 29.92, -30.77)
CIE-LCHlch(15.92, 42.92, 314.20°)
OKLaboklab(28.83% 0.0649 -0.0872)
OKLCHoklch(28.83% 0.109 306.6)
XYZxyz(3.5741, 2.0838, 8.5997)
Luminance0.0208 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391654 #315416
analogous
#1A1654 #391654 #541650
triadic
#391654 #543916 #165439
tetradic
#391654 #541A16 #315416 #165054
square
#391654 #541A16 #315416 #165054
split-complementary
#391654 #505416 #16541A
monochromatic
#100618 #180924 #391654 #5A2384 #7B2FB5

Accessibility & contrast

On white

14.82
#391654 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#391654 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391654
14.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391654#FFFFFF#000000##FFFFFF
##3916541.0014.821.4214.82
#FFFFFF14.821.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002656
Deuteranopia (green-blind)
#062853
Tritanopia (blue-blind)
#342433
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #391654;
/* rgb */ color: rgb(57, 22, 84);
/* oklch */ color: oklch(28.8% 0.109 306.6);
Tailwind
colors: {
  custom: {
    50: '#725685',
    500: '#391654',
    950: '#000000',
  },
}
SCSS
$custom: #391654;
$custom-light: #725685;
$custom-dark: #000000;
JSON
{
  "hex": "#391654",
  "rgb": {
    "r": 57,
    "g": 22,
    "b": 84
  },
  "hsl": {
    "h": 273.871,
    "s": 58.491,
    "l": 20.784
  },
  "oklch": {
    "l": 0.28833,
    "c": 0.10873,
    "h": 306.6
  },
  "luminance": 0.02084
}

Semantic roles & 50–950 ramp

primary
#391654
secondary
#5E8B3A
accent
#E2468A
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#08030B
muted
#7B787C

Preview Lab

Preview with #391654

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

Preview Lab → · Contrast checker → · Palette generator →

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