#391E66#391E66

#391E66 is a dark, moderate violet. Relative luminance 0.028; OKLCH L 31.5% C 0.120 H 296.0°. Best body text is #FFFFFF at 13.53:1 contrast (WCAG AA passes).

Color values

HEX#391E66
RGBrgb(57, 30, 102)
HSLhsl(263, 55%, 26%)
HSVhsv(263, 71%, 40%)
CMYKcmyk(44.1%, 70.6%, 0%, 60%)
CIE-LABlab(19.05, 30.48, -37.70)
CIE-LCHlch(19.05, 48.48, 308.95°)
OKLaboklab(31.54% 0.0525 -0.1077)
OKLCHoklch(31.54% 0.12 296)
XYZxyz(4.5493, 2.7576, 12.8604)
Luminance0.0276 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391E66 #4B661E
analogous
#1E2766 #391E66 #5D1E66
triadic
#391E66 #66391E #1E6639
tetradic
#391E66 #661E27 #4B661E #1E665D
square
#391E66 #661E27 #4B661E #1E665D
split-complementary
#391E66 #665D1E #27661E
monochromatic
#0D0718 #1F1037 #391E66 #532C95 #6E3AC5

Accessibility & contrast

On white

13.53
#391E66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#391E66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391E66
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391E66#FFFFFF#000000##FFFFFF
##391E661.0013.531.5513.53
#FFFFFF13.531.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #391e66;
/* rgb */ color: rgb(57, 30, 102);
/* oklch */ color: oklch(31.5% 0.120 296.0);
Tailwind
colors: {
  custom: {
    50: '#745c92',
    500: '#391e66',
    950: '#000000',
  },
}
SCSS
$custom: #391e66;
$custom-light: #745c92;
$custom-dark: #000000;
JSON
{
  "hex": "#391e66",
  "rgb": {
    "r": 57,
    "g": 30,
    "b": 102
  },
  "hsl": {
    "h": 262.5,
    "s": 54.545,
    "l": 25.882
  },
  "oklch": {
    "l": 0.31541,
    "c": 0.1198,
    "h": 296
  },
  "luminance": 0.02758
}

Semantic roles & 50–950 ramp

primary
#391E66
secondary
#7B9B45
accent
#DE4AA6
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08040D
muted
#7B797E

Preview Lab

Preview with #391E66

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

Preview Lab → · Contrast checker → · Palette generator →

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