#391357#391357

#391357 is a dark, moderate violet. Relative luminance 0.020; OKLCH L 28.7% C 0.117 H 305.7°. Best body text is #FFFFFF at 14.95:1 contrast (WCAG AA passes).

Color values

HEX#391357
RGBrgb(57, 19, 87)
HSLhsl(274, 64%, 21%)
HSVhsv(274, 78%, 34%)
CMYKcmyk(34.5%, 78.2%, 0%, 65.9%)
CIE-LABlab(15.61, 32.28, -33.30)
CIE-LCHlch(15.61, 46.38, 314.11°)
OKLaboklab(28.69% 0.068 -0.0947)
OKLCHoklch(28.69% 0.117 305.7)
XYZxyz(3.6401, 2.0238, 9.2138)
Luminance0.0202 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391357 #315713
analogous
#171357 #391357 #571353
triadic
#391357 #573913 #135739
tetradic
#391357 #571713 #315713 #135357
square
#391357 #571713 #315713 #135357
split-complementary
#391357 #535713 #135717
monochromatic
#100519 #180825 #391357 #5A1E89 #7B29BB

Accessibility & contrast

On white

14.95
#391357 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#391357 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391357
14.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391357#FFFFFF#000000##FFFFFF
##3913571.0014.951.4014.95
#FFFFFF14.951.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002659
Deuteranopia (green-blind)
#002756
Tritanopia (blue-blind)
#342333
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #391357;
/* rgb */ color: rgb(57, 19, 87);
/* oklch */ color: oklch(28.7% 0.117 305.7);
Tailwind
colors: {
  custom: {
    50: '#735587',
    500: '#391357',
    950: '#000000',
  },
}
SCSS
$custom: #391357;
$custom-light: #735587;
$custom-dark: #000000;
JSON
{
  "hex": "#391357",
  "rgb": {
    "r": 57,
    "g": 19,
    "b": 87
  },
  "hsl": {
    "h": 273.529,
    "s": 64.151,
    "l": 20.784
  },
  "oklch": {
    "l": 0.28691,
    "c": 0.11654,
    "h": 305.7
  },
  "luminance": 0.02024
}

Semantic roles & 50–950 ramp

primary
#391357
secondary
#5E8F36
accent
#E7418A
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#08030B
muted
#7B787C

Preview Lab

Preview with #391357

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

Preview Lab → · Contrast checker → · Palette generator →

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