#391567#391567

#391567 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.4% C 0.133 H 297.8°. Best body text is #FFFFFF at 14.22:1 contrast (WCAG AA passes).

Color values

HEX#391567
RGBrgb(57, 21, 103)
HSLhsl(266, 66%, 24%)
HSVhsv(266, 80%, 40%)
CMYKcmyk(44.7%, 79.6%, 0%, 59.6%)
CIE-LABlab(17.39, 35.64, -41.06)
CIE-LCHlch(17.39, 54.37, 310.96°)
OKLaboklab(30.39% 0.062 -0.1175)
OKLCHoklch(30.39% 0.133 297.8)
XYZxyz(4.4031, 2.3854, 13.0578)
Luminance0.0238 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391567 #436715
analogous
#151A67 #391567 #621567
triadic
#391567 #673915 #156739
tetradic
#391567 #67151A #436715 #156762
square
#391567 #67151A #436715 #156762
split-complementary
#391567 #676215 #1A6715
monochromatic
#0E0519 #1D0B34 #391567 #551F9A #712ACD

Accessibility & contrast

On white

14.22
#391567 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#391567 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391567
14.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391567#FFFFFF#000000##FFFFFF
##3915671.0014.221.4814.22
#FFFFFF14.221.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B69
Deuteranopia (green-blind)
#002A65
Tritanopia (blue-blind)
#2D2B3D
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #391567;
/* rgb */ color: rgb(57, 21, 103);
/* oklch */ color: oklch(30.4% 0.133 297.8);
Tailwind
colors: {
  custom: {
    50: '#755793',
    500: '#391567',
    950: '#000000',
  },
}
SCSS
$custom: #391567;
$custom-light: #755793;
$custom-dark: #000000;
JSON
{
  "hex": "#391567",
  "rgb": {
    "r": 57,
    "g": 21,
    "b": 103
  },
  "hsl": {
    "h": 266.341,
    "s": 66.129,
    "l": 24.314
  },
  "oklch": {
    "l": 0.30394,
    "c": 0.13283,
    "h": 297.8
  },
  "luminance": 0.02385
}

Semantic roles & 50–950 ramp

primary
#391567
secondary
#729E3A
accent
#E93F9E
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #391567

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

Preview Lab → · Contrast checker → · Palette generator →

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