#391975#391975

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

Color values

HEX#391975
RGBrgb(57, 25, 117)
HSLhsl(261, 65%, 28%)
HSVhsv(261, 79%, 46%)
CMYKcmyk(51.3%, 78.6%, 0%, 54.1%)
CIE-LABlab(19.43, 37.64, -46.82)
CIE-LCHlch(19.43, 60.07, 308.80°)
OKLaboklab(32.24% 0.0544 -0.1344)
OKLCHoklch(32.24% 0.145 292)
XYZxyz(5.2450, 2.8493, 17.0998)
Luminance0.0285 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391975 #557519
analogous
#192775 #391975 #671975
triadic
#391975 #753919 #197539
tetradic
#391975 #751927 #557519 #197567
square
#391975 #751927 #557519 #197567
split-complementary
#391975 #756719 #277519
monochromatic
#0C0519 #200E43 #391975 #5224A7 #6C35D4

Accessibility & contrast

On white

13.38
#391975 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #391975
13.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391975#FFFFFF#000000##FFFFFF
##3919751.0013.381.5713.38
#FFFFFF13.381.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.381.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: #391975;
/* rgb */ color: rgb(57, 25, 117);
/* oklch */ color: oklch(32.2% 0.145 292.0);
Tailwind
colors: {
  custom: {
    50: '#76599e',
    500: '#391975',
    950: '#000000',
  },
}
SCSS
$custom: #391975;
$custom-light: #76599e;
$custom-dark: #000000;
JSON
{
  "hex": "#391975",
  "rgb": {
    "r": 57,
    "g": 25,
    "b": 117
  },
  "hsl": {
    "h": 260.87,
    "s": 64.789,
    "l": 27.843
  },
  "oklch": {
    "l": 0.32236,
    "c": 0.14499,
    "h": 292
  },
  "luminance": 0.02849
}

Semantic roles & 50–950 ramp

primary
#391975
secondary
#85AA40
accent
#E840AD
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #391975

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

Preview Lab → · Contrast checker → · Palette generator →

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