#391563#391563

#391563 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.0% C 0.128 H 299.5°. Best body text is #FFFFFF at 14.37:1 contrast (WCAG AA passes).

Color values

HEX#391563
RGBrgb(57, 21, 99)
HSLhsl(268, 65%, 24%)
HSVhsv(268, 79%, 39%)
CMYKcmyk(42.4%, 78.8%, 0%, 61.2%)
CIE-LABlab(17.02, 34.53, -39.02)
CIE-LCHlch(17.02, 52.11, 311.51°)
OKLaboklab(30.02% 0.0631 -0.1115)
OKLCHoklch(30.02% 0.128 299.5)
XYZxyz(4.2071, 2.3070, 12.0256)
Luminance0.0231 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391563 #3F6315
analogous
#151863 #391563 #601563
triadic
#391563 #633915 #156339
tetradic
#391563 #631518 #3F6315 #156360
square
#391563 #631518 #3F6315 #156360
split-complementary
#391563 #636015 #186315
monochromatic
#0F0519 #1C0A31 #391563 #562095 #732AC8

Accessibility & contrast

On white

14.37
#391563 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#391563 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391563
14.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391563#FFFFFF#000000##FFFFFF
##3915631.0014.371.4614.37
#FFFFFF14.371.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A65
Deuteranopia (green-blind)
#002961
Tritanopia (blue-blind)
#2F293B
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #391563;
/* rgb */ color: rgb(57, 21, 99);
/* oklch */ color: oklch(30.0% 0.128 299.5);
Tailwind
colors: {
  custom: {
    50: '#745690',
    500: '#391563',
    950: '#000000',
  },
}
SCSS
$custom: #391563;
$custom-light: #745690;
$custom-dark: #000000;
JSON
{
  "hex": "#391563",
  "rgb": {
    "r": 57,
    "g": 21,
    "b": 99
  },
  "hsl": {
    "h": 267.692,
    "s": 65,
    "l": 23.529
  },
  "oklch": {
    "l": 0.30019,
    "c": 0.1281,
    "h": 299.5
  },
  "luminance": 0.02307
}

Semantic roles & 50–950 ramp

primary
#391563
secondary
#6E9A3A
accent
#E8409A
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030D
muted
#7B787D

Preview Lab

Preview with #391563

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

Preview Lab → · Contrast checker → · Palette generator →

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