#391380#391380

#391380 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.7% C 0.164 H 289.7°. Best body text is #FFFFFF at 13.30:1 contrast (WCAG AA passes).

Color values

HEX#391380
RGBrgb(57, 19, 128)
HSLhsl(261, 74%, 29%)
HSVhsv(261, 85%, 50%)
CMYKcmyk(55.5%, 85.2%, 0%, 49.8%)
CIE-LABlab(19.61, 43.52, -53.54)
CIE-LCHlch(19.61, 69.00, 309.10°)
OKLaboklab(32.71% 0.0552 -0.154)
OKLCHoklch(32.71% 0.164 289.7)
XYZxyz(5.8154, 2.8938, 20.6700)
Luminance0.0289 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391380 #5A8013
analogous
#132480 #391380 #701380
triadic
#391380 #803913 #138039
tetradic
#391380 #801324 #5A8013 #138070
square
#391380 #801324 #5A8013 #138070
split-complementary
#391380 #807013 #248013
monochromatic
#0C041B #210B4B #391380 #511BB5 #6C2DE0

Accessibility & contrast

On white

13.30
#391380 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #391380
13.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391380#FFFFFF#000000##FFFFFF
##3913801.0013.301.5813.30
#FFFFFF13.301.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003183
Deuteranopia (green-blind)
#002D7E
Tritanopia (blue-blind)
#1D344B
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #391380;
/* rgb */ color: rgb(57, 19, 128);
/* oklch */ color: oklch(32.7% 0.164 289.7);
Tailwind
colors: {
  custom: {
    50: '#7957a6',
    500: '#391380',
    950: '#000000',
  },
}
SCSS
$custom: #391380;
$custom-light: #7957a6;
$custom-dark: #000000;
JSON
{
  "hex": "#391380",
  "rgb": {
    "r": 57,
    "g": 19,
    "b": 128
  },
  "hsl": {
    "h": 260.917,
    "s": 74.15,
    "l": 28.824
  },
  "oklch": {
    "l": 0.32706,
    "c": 0.1636,
    "h": 289.7
  },
  "luminance": 0.02894
}

Semantic roles & 50–950 ramp

primary
#391380
secondary
#8AB539
accent
#F137B0
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A030F
muted
#7C787F

Preview Lab

Preview with #391380

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

Preview Lab → · Contrast checker → · Palette generator →

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