#391083#391083

#391083 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.8% C 0.169 H 289.2°. Best body text is #FFFFFF at 13.33:1 contrast (WCAG AA passes).

Color values

HEX#391083
RGBrgb(57, 16, 131)
HSLhsl(261, 78%, 29%)
HSVhsv(261, 88%, 51%)
CMYKcmyk(56.5%, 87.8%, 0%, 48.6%)
CIE-LABlab(19.55, 45.49, -55.54)
CIE-LCHlch(19.55, 71.80, 309.32°)
OKLaboklab(32.76% 0.0558 -0.1598)
OKLCHoklch(32.76% 0.169 289.2)
XYZxyz(5.9682, 2.8788, 21.7095)
Luminance0.0288 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391083 #5A8310
analogous
#102183 #391083 #731083
triadic
#391083 #833910 #108339
tetradic
#391083 #831021 #5A8310 #108373
square
#391083 #831021 #5A8310 #108373
split-complementary
#391083 #837310 #218310
monochromatic
#0C031B #21094C #391083 #5117BA #6C29E5

Accessibility & contrast

On white

13.33
#391083 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#391083 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391083
13.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391083#FFFFFF#000000##FFFFFF
##3910831.0013.331.5813.33
#FFFFFF13.331.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003186
Deuteranopia (green-blind)
#002C81
Tritanopia (blue-blind)
#1A354C
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #391083;
/* rgb */ color: rgb(57, 16, 131);
/* oklch */ color: oklch(32.8% 0.169 289.2);
Tailwind
colors: {
  custom: {
    50: '#7956a8',
    500: '#391083',
    950: '#000000',
  },
}
SCSS
$custom: #391083;
$custom-light: #7956a8;
$custom-dark: #000000;
JSON
{
  "hex": "#391083",
  "rgb": {
    "r": 57,
    "g": 16,
    "b": 131
  },
  "hsl": {
    "h": 261.391,
    "s": 78.231,
    "l": 28.824
  },
  "oklch": {
    "l": 0.32761,
    "c": 0.16926,
    "h": 289.2
  },
  "luminance": 0.02879
}

Semantic roles & 50–950 ramp

primary
#391083
secondary
#8AB936
accent
#F533B0
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0310
muted
#7C787F

Preview Lab

Preview with #391083

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

Preview Lab → · Contrast checker → · Palette generator →

#391083 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva