#391A64#391A64

#391A64 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.8% C 0.123 H 297.9°. Best body text is #FFFFFF at 13.95:1 contrast (WCAG AA passes).

Color values

HEX#391A64
RGBrgb(57, 26, 100)
HSLhsl(265, 59%, 25%)
HSVhsv(265, 74%, 39%)
CMYKcmyk(43%, 74%, 0%, 60.8%)
CIE-LABlab(18.05, 32.18, -38.01)
CIE-LCHlch(18.05, 49.80, 310.25°)
OKLaboklab(30.77% 0.0575 -0.1085)
OKLCHoklch(30.77% 0.123 297.9)
XYZxyz(4.3564, 2.5287, 12.3127)
Luminance0.0253 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391A64 #45641A
analogous
#1A2064 #391A64 #5E1A64
triadic
#391A64 #64391A #1A6439
tetradic
#391A64 #641A20 #45641A #1A645E
square
#391A64 #641A20 #45641A #1A645E
split-complementary
#391A64 #645E1A #20641A
monochromatic
#0E0618 #1D0D33 #391A64 #552795 #7033C5

Accessibility & contrast

On white

13.95
#391A64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#391A64 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391A64
13.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391A64#FFFFFF#000000##FFFFFF
##391A641.0013.951.5113.95
#FFFFFF13.951.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C66
Deuteranopia (green-blind)
#002B62
Tritanopia (blue-blind)
#2E2C3D
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #391a64;
/* rgb */ color: rgb(57, 26, 100);
/* oklch */ color: oklch(30.8% 0.123 297.9);
Tailwind
colors: {
  custom: {
    50: '#745991',
    500: '#391a64',
    950: '#000000',
  },
}
SCSS
$custom: #391a64;
$custom-light: #745991;
$custom-dark: #000000;
JSON
{
  "hex": "#391a64",
  "rgb": {
    "r": 57,
    "g": 26,
    "b": 100
  },
  "hsl": {
    "h": 265.135,
    "s": 58.73,
    "l": 24.706
  },
  "oklch": {
    "l": 0.30773,
    "c": 0.12284,
    "h": 297.9
  },
  "luminance": 0.02529
}

Semantic roles & 50–950 ramp

primary
#391A64
secondary
#749A40
accent
#E246A1
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08040D
muted
#7B797D

Preview Lab

Preview with #391A64

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

Preview Lab → · Contrast checker → · Palette generator →

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