#391E6F#391E6F

#391E6F is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.3% C 0.131 H 292.8°. Best body text is #FFFFFF at 13.21:1 contrast (WCAG AA passes).

Color values

HEX#391E6F
RGBrgb(57, 30, 111)
HSLhsl(260, 57%, 28%)
HSVhsv(260, 73%, 44%)
CMYKcmyk(48.6%, 73%, 0%, 56.5%)
CIE-LABlab(19.83, 33.18, -42.30)
CIE-LCHlch(19.83, 53.76, 308.11°)
OKLaboklab(32.34% 0.051 -0.1212)
OKLCHoklch(32.34% 0.131 292.8)
XYZxyz(5.0201, 2.9459, 15.3400)
Luminance0.0295 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391E6F #546F1E
analogous
#1E2B6F #391E6F #611E6F
triadic
#391E6F #6F391E #1E6F39
tetradic
#391E6F #6F1E2B #546F1E #1E6F61
square
#391E6F #6F1E2B #546F1E #1E6F61
split-complementary
#391E6F #6F611E #2B6F1E
monochromatic
#0C0718 #20113F #391E6F #522B9F #6C3DCB

Accessibility & contrast

On white

13.21
#391E6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#391E6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391E6F
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391E6F#FFFFFF#000000##FFFFFF
##391E6F1.0013.211.5913.21
#FFFFFF13.211.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003171
Deuteranopia (green-blind)
#002E6D
Tritanopia (blue-blind)
#293244
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #391e6f;
/* rgb */ color: rgb(57, 30, 111);
/* oklch */ color: oklch(32.3% 0.131 292.8);
Tailwind
colors: {
  custom: {
    50: '#755c99',
    500: '#391e6f',
    950: '#000000',
  },
}
SCSS
$custom: #391e6f;
$custom-light: #755c99;
$custom-dark: #000000;
JSON
{
  "hex": "#391e6f",
  "rgb": {
    "r": 57,
    "g": 30,
    "b": 111
  },
  "hsl": {
    "h": 260,
    "s": 57.447,
    "l": 27.647
  },
  "oklch": {
    "l": 0.32344,
    "c": 0.13146,
    "h": 292.8
  },
  "luminance": 0.02946
}

Semantic roles & 50–950 ramp

primary
#391E6F
secondary
#84A346
accent
#E147AD
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #391E6F

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

Preview Lab → · Contrast checker → · Palette generator →

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