#391876#391876

#391876 is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.2% C 0.147 H 291.9°. Best body text is #FFFFFF at 13.41:1 contrast (WCAG AA passes).

Color values

HEX#391876
RGBrgb(57, 24, 118)
HSLhsl(261, 66%, 28%)
HSVhsv(261, 80%, 46%)
CMYKcmyk(51.7%, 79.7%, 0%, 53.7%)
CIE-LABlab(19.35, 38.43, -47.59)
CIE-LCHlch(19.35, 61.17, 308.93°)
OKLaboklab(32.21% 0.055 -0.1366)
OKLCHoklch(32.21% 0.147 291.9)
XYZxyz(5.2831, 2.8309, 17.4041)
Luminance0.0283 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391876 #557618
analogous
#182676 #391876 #681876
triadic
#391876 #763918 #187639
tetradic
#391876 #761826 #557618 #187668
square
#391876 #761826 #557618 #187668
split-complementary
#391876 #766818 #267618
monochromatic
#0C0519 #200E43 #391876 #5222A9 #6C33D5

Accessibility & contrast

On white

13.41
#391876 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#391876 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391876
13.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391876#FFFFFF#000000##FFFFFF
##3918761.0013.411.5713.41
#FFFFFF13.411.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003079
Deuteranopia (green-blind)
#002D74
Tritanopia (blue-blind)
#253246
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #391876;
/* rgb */ color: rgb(57, 24, 118);
/* oklch */ color: oklch(32.2% 0.147 291.9);
Tailwind
colors: {
  custom: {
    50: '#77599e',
    500: '#391876',
    950: '#000000',
  },
}
SCSS
$custom: #391876;
$custom-light: #77599e;
$custom-dark: #000000;
JSON
{
  "hex": "#391876",
  "rgb": {
    "r": 57,
    "g": 24,
    "b": 118
  },
  "hsl": {
    "h": 261.064,
    "s": 66.197,
    "l": 27.843
  },
  "oklch": {
    "l": 0.32213,
    "c": 0.14728,
    "h": 291.9
  },
  "luminance": 0.02831
}

Semantic roles & 50–950 ramp

primary
#391876
secondary
#85AB3F
accent
#E93FAD
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #391876

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

Preview Lab → · Contrast checker → · Palette generator →

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