#391C64#391C64

#391C64 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.1% C 0.120 H 297.4°. Best body text is #FFFFFF at 13.78:1 contrast (WCAG AA passes).

Color values

HEX#391C64
RGBrgb(57, 28, 100)
HSLhsl(264, 56%, 25%)
HSVhsv(264, 72%, 39%)
CMYKcmyk(43%, 72%, 0%, 60.8%)
CIE-LABlab(18.45, 31.05, -37.35)
CIE-LCHlch(18.45, 48.57, 309.74°)
OKLaboklab(31.06% 0.0552 -0.1066)
OKLCHoklch(31.06% 0.12 297.4)
XYZxyz(4.4023, 2.6204, 12.3280)
Luminance0.0262 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391C64 #47641C
analogous
#1C2364 #391C64 #5D1C64
triadic
#391C64 #64391C #1C6439
tetradic
#391C64 #641C23 #47641C #1C645D
square
#391C64 #641C23 #47641C #1C645D
split-complementary
#391C64 #645D1C #23641C
monochromatic
#0E0718 #1E0F34 #391C64 #542994 #7037C4

Accessibility & contrast

On white

13.78
#391C64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#391C64 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391C64
13.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391C64#FFFFFF#000000##FFFFFF
##391C641.0013.781.5213.78
#FFFFFF13.781.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D66
Deuteranopia (green-blind)
#002C63
Tritanopia (blue-blind)
#2E2D3D
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #391c64;
/* rgb */ color: rgb(57, 28, 100);
/* oklch */ color: oklch(31.1% 0.120 297.4);
Tailwind
colors: {
  custom: {
    50: '#745a91',
    500: '#391c64',
    950: '#000000',
  },
}
SCSS
$custom: #391c64;
$custom-light: #745a91;
$custom-dark: #000000;
JSON
{
  "hex": "#391c64",
  "rgb": {
    "r": 57,
    "g": 28,
    "b": 100
  },
  "hsl": {
    "h": 264.167,
    "s": 56.25,
    "l": 25.098
  },
  "oklch": {
    "l": 0.31064,
    "c": 0.12005,
    "h": 297.4
  },
  "luminance": 0.0262
}

Semantic roles & 50–950 ramp

primary
#391C64
secondary
#769943
accent
#E048A3
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08040D
muted
#7B797D

Preview Lab

Preview with #391C64

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

Preview Lab → · Contrast checker → · Palette generator →

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