#391C70#391C70

#391C70 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.2% C 0.135 H 293.0°. Best body text is #FFFFFF at 13.34:1 contrast (WCAG AA passes).

Color values

HEX#391C70
RGBrgb(57, 28, 112)
HSLhsl(261, 60%, 27%)
HSVhsv(261, 75%, 44%)
CMYKcmyk(49.1%, 75%, 0%, 56.1%)
CIE-LABlab(19.52, 34.59, -43.45)
CIE-LCHlch(19.52, 55.54, 308.52°)
OKLaboklab(32.15% 0.0529 -0.1245)
OKLCHoklch(32.15% 0.135 293)
XYZxyz(5.0264, 2.8701, 15.6152)
Luminance0.0287 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391C70 #53701C
analogous
#1C2970 #391C70 #631C70
triadic
#391C70 #70391C #1C7039
tetradic
#391C70 #701C29 #53701C #1C7063
square
#391C70 #701C29 #53701C #1C7063
split-complementary
#391C70 #70631C #29701C
monochromatic
#0C0618 #20103F #391C70 #5228A1 #6C39CD

Accessibility & contrast

On white

13.34
#391C70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#391C70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391C70
13.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391C70#FFFFFF#000000##FFFFFF
##391C701.0013.341.5713.34
#FFFFFF13.341.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003072
Deuteranopia (green-blind)
#002E6E
Tritanopia (blue-blind)
#283244
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #391c70;
/* rgb */ color: rgb(57, 28, 112);
/* oklch */ color: oklch(32.2% 0.135 293.0);
Tailwind
colors: {
  custom: {
    50: '#755b9a',
    500: '#391c70',
    950: '#000000',
  },
}
SCSS
$custom: #391c70;
$custom-light: #755b9a;
$custom-dark: #000000;
JSON
{
  "hex": "#391c70",
  "rgb": {
    "r": 57,
    "g": 28,
    "b": 112
  },
  "hsl": {
    "h": 260.714,
    "s": 60,
    "l": 27.451
  },
  "oklch": {
    "l": 0.32151,
    "c": 0.13529,
    "h": 293
  },
  "luminance": 0.0287
}

Semantic roles & 50–950 ramp

primary
#391C70
secondary
#83A543
accent
#E345AC
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #391C70

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

Preview Lab → · Contrast checker → · Palette generator →

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