#391A70#391A70

#391A70 is a dark, vivid violet. Relative luminance 0.028; OKLCH L 31.9% C 0.138 H 293.5°. Best body text is #FFFFFF at 13.50:1 contrast (WCAG AA passes).

Color values

HEX#391A70
RGBrgb(57, 26, 112)
HSLhsl(262, 62%, 27%)
HSVhsv(262, 77%, 44%)
CMYKcmyk(49.1%, 76.8%, 0%, 56.1%)
CIE-LABlab(19.13, 35.67, -44.08)
CIE-LCHlch(19.13, 56.70, 308.98°)
OKLaboklab(31.88% 0.0548 -0.1264)
OKLCHoklch(31.88% 0.138 293.5)
XYZxyz(4.9806, 2.7783, 15.5999)
Luminance0.0278 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391A70 #51701A
analogous
#1A2670 #391A70 #641A70
triadic
#391A70 #70391A #1A7039
tetradic
#391A70 #701A26 #51701A #1A7064
square
#391A70 #701A26 #51701A #1A7064
split-complementary
#391A70 #70641A #26701A
monochromatic
#0D0619 #200E3E #391A70 #5226A2 #6C34D0

Accessibility & contrast

On white

13.50
#391A70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#391A70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391A70
13.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391A70#FFFFFF#000000##FFFFFF
##391A701.0013.501.5613.50
#FFFFFF13.501.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F72
Deuteranopia (green-blind)
#002D6E
Tritanopia (blue-blind)
#283143
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #391a70;
/* rgb */ color: rgb(57, 26, 112);
/* oklch */ color: oklch(31.9% 0.138 293.5);
Tailwind
colors: {
  custom: {
    50: '#765a9a',
    500: '#391a70',
    950: '#000000',
  },
}
SCSS
$custom: #391a70;
$custom-light: #765a9a;
$custom-dark: #000000;
JSON
{
  "hex": "#391a70",
  "rgb": {
    "r": 57,
    "g": 26,
    "b": 112
  },
  "hsl": {
    "h": 261.628,
    "s": 62.319,
    "l": 27.059
  },
  "oklch": {
    "l": 0.31881,
    "c": 0.13774,
    "h": 293.5
  },
  "luminance": 0.02778
}

Semantic roles & 50–950 ramp

primary
#391A70
secondary
#81A541
accent
#E542AB
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #391A70

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

Preview Lab → · Contrast checker → · Palette generator →

#391A70 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva