#391565#391565

#391565 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.2% C 0.130 H 298.7°. Best body text is #FFFFFF at 14.29:1 contrast (WCAG AA passes).

Color values

HEX#391565
RGBrgb(57, 21, 101)
HSLhsl(267, 66%, 24%)
HSVhsv(267, 79%, 40%)
CMYKcmyk(43.6%, 79.2%, 0%, 60.4%)
CIE-LABlab(17.21, 35.09, -40.04)
CIE-LCHlch(17.21, 53.24, 311.23°)
OKLaboklab(30.21% 0.0626 -0.1145)
OKLCHoklch(30.21% 0.13 298.7)
XYZxyz(4.3039, 2.3457, 12.5354)
Luminance0.0235 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391565 #416515
analogous
#151965 #391565 #611565
triadic
#391565 #653915 #156539
tetradic
#391565 #651519 #416515 #156561
square
#391565 #651519 #416515 #156561
split-complementary
#391565 #656115 #196515
monochromatic
#0E0519 #1C0A32 #391565 #562098 #722ACA

Accessibility & contrast

On white

14.29
#391565 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#391565 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391565
14.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391565#FFFFFF#000000##FFFFFF
##3915651.0014.291.4714.29
#FFFFFF14.291.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A67
Deuteranopia (green-blind)
#002A63
Tritanopia (blue-blind)
#2E2A3C
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #391565;
/* rgb */ color: rgb(57, 21, 101);
/* oklch */ color: oklch(30.2% 0.130 298.7);
Tailwind
colors: {
  custom: {
    50: '#745692',
    500: '#391565',
    950: '#000000',
  },
}
SCSS
$custom: #391565;
$custom-light: #745692;
$custom-dark: #000000;
JSON
{
  "hex": "#391565",
  "rgb": {
    "r": 57,
    "g": 21,
    "b": 101
  },
  "hsl": {
    "h": 267,
    "s": 65.574,
    "l": 23.922
  },
  "oklch": {
    "l": 0.30205,
    "c": 0.13046,
    "h": 298.7
  },
  "luminance": 0.02346
}

Semantic roles & 50–950 ramp

primary
#391565
secondary
#709C3A
accent
#E93F9C
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #391565

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

Preview Lab → · Contrast checker → · Palette generator →

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