#391A67#391A67

#391A67 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.0% C 0.127 H 296.7°. Best body text is #FFFFFF at 13.84:1 contrast (WCAG AA passes).

Color values

HEX#391A67
RGBrgb(57, 26, 103)
HSLhsl(264, 60%, 25%)
HSVhsv(264, 75%, 40%)
CMYKcmyk(44.7%, 74.8%, 0%, 59.6%)
CIE-LABlab(18.31, 33.05, -39.56)
CIE-LCHlch(18.31, 51.54, 309.88°)
OKLaboklab(31.04% 0.0569 -0.1131)
OKLCHoklch(31.04% 0.127 296.7)
XYZxyz(4.5043, 2.5878, 13.0915)
Luminance0.0259 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391A67 #48671A
analogous
#1A2167 #391A67 #5F1A67
triadic
#391A67 #67391A #1A6739
tetradic
#391A67 #671A21 #48671A #1A675F
square
#391A67 #671A21 #48671A #1A675F
split-complementary
#391A67 #675F1A #21671A
monochromatic
#0E0618 #1E0E36 #391A67 #542698 #6F33C9

Accessibility & contrast

On white

13.84
#391A67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #391A67
13.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391A67#FFFFFF#000000##FFFFFF
##391A671.0013.841.5213.84
#FFFFFF13.841.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D69
Deuteranopia (green-blind)
#002C65
Tritanopia (blue-blind)
#2D2D3E
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #391a67;
/* rgb */ color: rgb(57, 26, 103);
/* oklch */ color: oklch(31.0% 0.127 296.7);
Tailwind
colors: {
  custom: {
    50: '#745993',
    500: '#391a67',
    950: '#000000',
  },
}
SCSS
$custom: #391a67;
$custom-light: #745993;
$custom-dark: #000000;
JSON
{
  "hex": "#391a67",
  "rgb": {
    "r": 57,
    "g": 26,
    "b": 103
  },
  "hsl": {
    "h": 264.156,
    "s": 59.69,
    "l": 25.294
  },
  "oklch": {
    "l": 0.31043,
    "c": 0.12659,
    "h": 296.7
  },
  "luminance": 0.02588
}

Semantic roles & 50–950 ramp

primary
#391A67
secondary
#779D40
accent
#E345A3
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09040D
muted
#7B797E

Preview Lab

Preview with #391A67

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

Preview Lab → · Contrast checker → · Palette generator →

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