#391457#391457

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

Color values

HEX#391457
RGBrgb(57, 20, 87)
HSLhsl(273, 63%, 21%)
HSVhsv(273, 77%, 34%)
CMYKcmyk(34.5%, 77%, 0%, 65.9%)
CIE-LABlab(15.79, 31.78, -33.01)
CIE-LCHlch(15.79, 45.82, 313.91°)
OKLaboklab(28.82% 0.0668 -0.0938)
OKLCHoklch(28.82% 0.115 305.5)
XYZxyz(3.6574, 2.0583, 9.2196)
Luminance0.0206 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391457 #325714
analogous
#171457 #391457 #571453
triadic
#391457 #573914 #145739
tetradic
#391457 #571714 #325714 #145357
square
#391457 #571714 #325714 #145357
split-complementary
#391457 #535714 #145717
monochromatic
#100619 #180925 #391457 #5A1F89 #7A2BBB

Accessibility & contrast

On white

14.88
#391457 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#391457 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391457
14.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391457#FFFFFF#000000##FFFFFF
##3914571.0014.881.4114.88
#FFFFFF14.881.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.881.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #391457;
/* rgb */ color: rgb(57, 20, 87);
/* oklch */ color: oklch(28.8% 0.115 305.5);
Tailwind
colors: {
  custom: {
    50: '#735587',
    500: '#391457',
    950: '#000000',
  },
}
SCSS
$custom: #391457;
$custom-light: #735587;
$custom-dark: #000000;
JSON
{
  "hex": "#391457",
  "rgb": {
    "r": 57,
    "g": 20,
    "b": 87
  },
  "hsl": {
    "h": 273.134,
    "s": 62.617,
    "l": 20.98
  },
  "oklch": {
    "l": 0.28818,
    "c": 0.11519,
    "h": 305.5
  },
  "luminance": 0.02058
}

Semantic roles & 50–950 ramp

primary
#391457
secondary
#5F8F38
accent
#E6428B
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#08030B
muted
#7B787C

Preview Lab

Preview with #391457

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

Preview Lab → · Contrast checker → · Palette generator →

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