#391E67#391E67

#391E67 is a dark, vivid violet. Relative luminance 0.028; OKLCH L 31.6% C 0.121 H 295.6°. Best body text is #FFFFFF at 13.50:1 contrast (WCAG AA passes).

Color values

HEX#391E67
RGBrgb(57, 30, 103)
HSLhsl(262, 55%, 26%)
HSVhsv(262, 71%, 40%)
CMYKcmyk(44.7%, 70.9%, 0%, 59.6%)
CIE-LABlab(19.13, 30.78, -38.22)
CIE-LCHlch(19.13, 49.07, 308.84°)
OKLaboklab(31.63% 0.0524 -0.1092)
OKLCHoklch(31.63% 0.121 295.6)
XYZxyz(4.5991, 2.7776, 13.1231)
Luminance0.0278 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391E67 #4C671E
analogous
#1E2767 #391E67 #5D1E67
triadic
#391E67 #67391E #1E6739
tetradic
#391E67 #671E27 #4C671E #1E675D
square
#391E67 #671E27 #4C671E #1E675D
split-complementary
#391E67 #675D1E #27671E
monochromatic
#0D0718 #1F1038 #391E67 #532C96 #6E3AC6

Accessibility & contrast

On white

13.50
#391E67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#391E67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391E67
13.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391E67#FFFFFF#000000##FFFFFF
##391E671.0013.501.5613.50
#FFFFFF13.501.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F69
Deuteranopia (green-blind)
#002D65
Tritanopia (blue-blind)
#2D2F3F
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #391e67;
/* rgb */ color: rgb(57, 30, 103);
/* oklch */ color: oklch(31.6% 0.121 295.6);
Tailwind
colors: {
  custom: {
    50: '#745c93',
    500: '#391e67',
    950: '#000000',
  },
}
SCSS
$custom: #391e67;
$custom-light: #745c93;
$custom-dark: #000000;
JSON
{
  "hex": "#391e67",
  "rgb": {
    "r": 57,
    "g": 30,
    "b": 103
  },
  "hsl": {
    "h": 262.192,
    "s": 54.887,
    "l": 26.078
  },
  "oklch": {
    "l": 0.31628,
    "c": 0.1211,
    "h": 295.6
  },
  "luminance": 0.02778
}

Semantic roles & 50–950 ramp

primary
#391E67
secondary
#7C9C45
accent
#DE4AA7
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08040D
muted
#7B797E

Preview Lab

Preview with #391E67

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

Preview Lab → · Contrast checker → · Palette generator →

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