#391351#391351

#391351 is a dark, moderate violet. Relative luminance 0.019; OKLCH L 28.2% C 0.110 H 309.1°. Best body text is #FFFFFF at 15.15:1 contrast (WCAG AA passes).

Color values

HEX#391351
RGBrgb(57, 19, 81)
HSLhsl(277, 62%, 20%)
HSVhsv(277, 77%, 32%)
CMYKcmyk(29.6%, 76.5%, 0%, 68.2%)
CIE-LABlab(15.11, 30.72, -30.04)
CIE-LCHlch(15.11, 42.96, 315.64°)
OKLaboklab(28.18% 0.069 -0.0851)
OKLCHoklch(28.18% 0.11 309.1)
XYZxyz(3.4051, 1.9297, 7.9761)
Luminance0.0193 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391351 #2B5113
analogous
#1A1351 #391351 #51134A
triadic
#391351 #513913 #135139
tetradic
#391351 #511A13 #2B5113 #134A51
square
#391351 #511A13 #2B5113 #134A51
split-complementary
#391351 #4A5113 #13511A
monochromatic
#110619 #16071F #391351 #5C1F83 #7F2AB4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##391351#FFFFFF#000000##FFFFFF
##3913511.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)
#002453
Deuteranopia (green-blind)
#062650
Tritanopia (blue-blind)
#352130
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #391351;
/* rgb */ color: rgb(57, 19, 81);
/* oklch */ color: oklch(28.2% 0.110 309.1);
Tailwind
colors: {
  custom: {
    50: '#725482',
    500: '#391351',
    950: '#000000',
  },
}
SCSS
$custom: #391351;
$custom-light: #725482;
$custom-dark: #000000;
JSON
{
  "hex": "#391351",
  "rgb": {
    "r": 57,
    "g": 19,
    "b": 81
  },
  "hsl": {
    "h": 276.774,
    "s": 62,
    "l": 19.608
  },
  "oklch": {
    "l": 0.2818,
    "c": 0.10955,
    "h": 309.1
  },
  "luminance": 0.0193
}

Semantic roles & 50–950 ramp

primary
#391351
secondary
#578A36
accent
#E54382
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#08030A
muted
#7B787C

Preview Lab

Preview with #391351

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

Preview Lab → · Contrast checker → · Palette generator →

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