#391C67#391C67

#391C67 is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.3% C 0.124 H 296.2°. Best body text is #FFFFFF at 13.67:1 contrast (WCAG AA passes).

Color values

HEX#391C67
RGBrgb(57, 28, 103)
HSLhsl(263, 57%, 26%)
HSVhsv(263, 73%, 40%)
CMYKcmyk(44.7%, 72.8%, 0%, 59.6%)
CIE-LABlab(18.71, 31.93, -38.90)
CIE-LCHlch(18.71, 50.33, 309.38°)
OKLaboklab(31.33% 0.0547 -0.1112)
OKLCHoklch(31.33% 0.124 296.2)
XYZxyz(4.5501, 2.6795, 13.1068)
Luminance0.0268 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391C67 #4A671C
analogous
#1C2467 #391C67 #5E1C67
triadic
#391C67 #67391C #1C6739
tetradic
#391C67 #671C24 #4A671C #1C675E
square
#391C67 #671C24 #4A671C #1C675E
split-complementary
#391C67 #675E1C #24671C
monochromatic
#0D0718 #1E0F37 #391C67 #542997 #6E36C7

Accessibility & contrast

On white

13.67
#391C67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#391C67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391C67
13.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391C67#FFFFFF#000000##FFFFFF
##391C671.0013.671.5413.67
#FFFFFF13.671.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E69
Deuteranopia (green-blind)
#002C65
Tritanopia (blue-blind)
#2D2E3F
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #391c67;
/* rgb */ color: rgb(57, 28, 103);
/* oklch */ color: oklch(31.3% 0.124 296.2);
Tailwind
colors: {
  custom: {
    50: '#745b93',
    500: '#391c67',
    950: '#000000',
  },
}
SCSS
$custom: #391c67;
$custom-light: #745b93;
$custom-dark: #000000;
JSON
{
  "hex": "#391c67",
  "rgb": {
    "r": 57,
    "g": 28,
    "b": 103
  },
  "hsl": {
    "h": 263.2,
    "s": 57.252,
    "l": 25.686
  },
  "oklch": {
    "l": 0.31329,
    "c": 0.1239,
    "h": 296.2
  },
  "luminance": 0.0268
}

Semantic roles & 50–950 ramp

primary
#391C67
secondary
#7A9C43
accent
#E147A5
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09040D
muted
#7B797E

Preview Lab

Preview with #391C67

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

Preview Lab → · Contrast checker → · Palette generator →

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