#391568#391568

#391568 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.5% C 0.134 H 297.4°. Best body text is #FFFFFF at 14.18:1 contrast (WCAG AA passes).

Color values

HEX#391568
RGBrgb(57, 21, 104)
HSLhsl(266, 66%, 25%)
HSVhsv(266, 80%, 41%)
CMYKcmyk(45.2%, 79.8%, 0%, 59.2%)
CIE-LABlab(17.49, 35.92, -41.56)
CIE-LCHlch(17.49, 54.93, 310.84°)
OKLaboklab(30.49% 0.0618 -0.1189)
OKLCHoklch(30.49% 0.134 297.4)
XYZxyz(4.4535, 2.4056, 13.3237)
Luminance0.0241 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391568 #446815
analogous
#151B68 #391568 #631568
triadic
#391568 #683915 #156839
tetradic
#391568 #68151B #446815 #156863
square
#391568 #68151B #446815 #156863
split-complementary
#391568 #686315 #1B6815
monochromatic
#0E0519 #1D0B35 #391568 #551F9B #712ACE

Accessibility & contrast

On white

14.18
#391568 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #391568
14.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391568#FFFFFF#000000##FFFFFF
##3915681.0014.181.4814.18
#FFFFFF14.181.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B6A
Deuteranopia (green-blind)
#002A66
Tritanopia (blue-blind)
#2D2B3E
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #391568;
/* rgb */ color: rgb(57, 21, 104);
/* oklch */ color: oklch(30.5% 0.134 297.4);
Tailwind
colors: {
  custom: {
    50: '#755794',
    500: '#391568',
    950: '#000000',
  },
}
SCSS
$custom: #391568;
$custom-light: #755794;
$custom-dark: #000000;
JSON
{
  "hex": "#391568",
  "rgb": {
    "r": 57,
    "g": 21,
    "b": 104
  },
  "hsl": {
    "h": 266.024,
    "s": 66.4,
    "l": 24.51
  },
  "oklch": {
    "l": 0.30489,
    "c": 0.13401,
    "h": 297.4
  },
  "luminance": 0.02406
}

Semantic roles & 50–950 ramp

primary
#391568
secondary
#739F3A
accent
#E93E9F
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #391568

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

Preview Lab → · Contrast checker → · Palette generator →

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