#391057#391057

#391057 is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.3% C 0.120 H 306.3°. Best body text is #FFFFFF at 15.15:1 contrast (WCAG AA passes).

Color values

HEX#391057
RGBrgb(57, 16, 87)
HSLhsl(275, 69%, 20%)
HSVhsv(275, 82%, 34%)
CMYKcmyk(34.5%, 81.6%, 0%, 65.9%)
CIE-LABlab(15.11, 33.71, -34.12)
CIE-LCHlch(15.11, 47.97, 314.66°)
OKLaboklab(28.34% 0.0712 -0.097)
OKLCHoklch(28.34% 0.12 306.3)
XYZxyz(3.5926, 1.9286, 9.1980)
Luminance0.0193 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391057 #2E5710
analogous
#161057 #391057 #571051
triadic
#391057 #573910 #105739
tetradic
#391057 #571610 #2E5710 #105157
square
#391057 #571610 #2E5710 #105157
split-complementary
#391057 #515710 #105716
monochromatic
#11051A #170623 #391057 #5B1A8B #7D23BE

Accessibility & contrast

On white

15.15
#391057 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#391057 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391057
15.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391057#FFFFFF#000000##FFFFFF
##3910571.0015.151.3915.15
#FFFFFF15.151.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002559
Deuteranopia (green-blind)
#002656
Tritanopia (blue-blind)
#342233
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #391057;
/* rgb */ color: rgb(57, 16, 87);
/* oklch */ color: oklch(28.3% 0.120 306.3);
Tailwind
colors: {
  custom: {
    50: '#735387',
    500: '#391057',
    950: '#000000',
  },
}
SCSS
$custom: #391057;
$custom-light: #735387;
$custom-dark: #000000;
JSON
{
  "hex": "#391057",
  "rgb": {
    "r": 57,
    "g": 16,
    "b": 87
  },
  "hsl": {
    "h": 274.648,
    "s": 68.932,
    "l": 20.196
  },
  "oklch": {
    "l": 0.28335,
    "c": 0.12036,
    "h": 306.3
  },
  "luminance": 0.01929
}

Semantic roles & 50–950 ramp

primary
#391057
secondary
#5A9032
accent
#EC3C86
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#08030B
muted
#7B787C

Preview Lab

Preview with #391057

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

Preview Lab → · Contrast checker → · Palette generator →

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