#391C65#391C65

#391C65 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.2% C 0.121 H 297.0°. Best body text is #FFFFFF at 13.74:1 contrast (WCAG AA passes).

Color values

HEX#391C65
RGBrgb(57, 28, 101)
HSLhsl(264, 57%, 25%)
HSVhsv(264, 72%, 40%)
CMYKcmyk(43.6%, 72.3%, 0%, 60.4%)
CIE-LABlab(18.54, 31.34, -37.87)
CIE-LCHlch(18.54, 49.16, 309.61°)
OKLaboklab(31.15% 0.055 -0.1081)
OKLCHoklch(31.15% 0.121 297)
XYZxyz(4.4509, 2.6399, 12.5844)
Luminance0.0264 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391C65 #48651C
analogous
#1C2365 #391C65 #5D1C65
triadic
#391C65 #65391C #1C6539
tetradic
#391C65 #651C23 #48651C #1C655D
square
#391C65 #651C23 #48651C #1C655D
split-complementary
#391C65 #655D1C #23651C
monochromatic
#0E0718 #1E0F35 #391C65 #542995 #6F37C5

Accessibility & contrast

On white

13.74
#391C65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#391C65 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391C65
13.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391C65#FFFFFF#000000##FFFFFF
##391C651.0013.741.5313.74
#FFFFFF13.741.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D67
Deuteranopia (green-blind)
#002C64
Tritanopia (blue-blind)
#2E2E3E
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #391c65;
/* rgb */ color: rgb(57, 28, 101);
/* oklch */ color: oklch(31.2% 0.121 297.0);
Tailwind
colors: {
  custom: {
    50: '#745a91',
    500: '#391c65',
    950: '#000000',
  },
}
SCSS
$custom: #391c65;
$custom-light: #745a91;
$custom-dark: #000000;
JSON
{
  "hex": "#391c65",
  "rgb": {
    "r": 57,
    "g": 28,
    "b": 101
  },
  "hsl": {
    "h": 263.836,
    "s": 56.589,
    "l": 25.294
  },
  "oklch": {
    "l": 0.31152,
    "c": 0.12134,
    "h": 297
  },
  "luminance": 0.0264
}

Semantic roles & 50–950 ramp

primary
#391C65
secondary
#779A43
accent
#E048A4
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08040D
muted
#7B797E

Preview Lab

Preview with #391C65

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

Preview Lab → · Contrast checker → · Palette generator →

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