#391875#391875

#391875 is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.1% C 0.146 H 292.2°. Best body text is #FFFFFF at 13.45:1 contrast (WCAG AA passes).

Color values

HEX#391875
RGBrgb(57, 24, 117)
HSLhsl(261, 66%, 28%)
HSVhsv(261, 79%, 46%)
CMYKcmyk(51.3%, 79.5%, 0%, 54.1%)
CIE-LABlab(19.25, 38.14, -47.11)
CIE-LCHlch(19.25, 60.61, 309.00°)
OKLaboklab(32.11% 0.0553 -0.1352)
OKLCHoklch(32.11% 0.146 292.2)
XYZxyz(5.2240, 2.8073, 17.0928)
Luminance0.0281 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391875 #547518
analogous
#182675 #391875 #671875
triadic
#391875 #753918 #187539
tetradic
#391875 #751826 #547518 #187567
square
#391875 #751826 #547518 #187567
split-complementary
#391875 #756718 #267518
monochromatic
#0C0519 #200E42 #391875 #5222A8 #6C32D5

Accessibility & contrast

On white

13.45
#391875 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#391875 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391875
13.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391875#FFFFFF#000000##FFFFFF
##3918751.0013.451.5613.45
#FFFFFF13.451.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.451.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #391875;
/* rgb */ color: rgb(57, 24, 117);
/* oklch */ color: oklch(32.1% 0.146 292.2);
Tailwind
colors: {
  custom: {
    50: '#76599e',
    500: '#391875',
    950: '#000000',
  },
}
SCSS
$custom: #391875;
$custom-light: #76599e;
$custom-dark: #000000;
JSON
{
  "hex": "#391875",
  "rgb": {
    "r": 57,
    "g": 24,
    "b": 117
  },
  "hsl": {
    "h": 261.29,
    "s": 65.957,
    "l": 27.647
  },
  "oklch": {
    "l": 0.32114,
    "c": 0.14608,
    "h": 292.2
  },
  "luminance": 0.02807
}

Semantic roles & 50–950 ramp

primary
#391875
secondary
#84AA3F
accent
#E93FAD
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #391875

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

Preview Lab → · Contrast checker → · Palette generator →

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