#391F70#391F70

#391F70 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.6% C 0.131 H 292.2°. Best body text is #FFFFFF at 13.09:1 contrast (WCAG AA passes).

Color values

HEX#391F70
RGBrgb(57, 31, 112)
HSLhsl(259, 57%, 28%)
HSVhsv(259, 72%, 44%)
CMYKcmyk(49.1%, 72.3%, 0%, 56.1%)
CIE-LABlab(20.12, 32.90, -42.46)
CIE-LCHlch(20.12, 53.72, 307.77°)
OKLaboklab(32.58% 0.0498 -0.1216)
OKLCHoklch(32.58% 0.131 292.2)
XYZxyz(5.1011, 3.0195, 15.6401)
Luminance0.0302 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391F70 #56701F
analogous
#1F2E70 #391F70 #611F70
triadic
#391F70 #70391F #1F7039
tetradic
#391F70 #701F2E #56701F #1F7061
square
#391F70 #701F2E #56701F #1F7061
split-complementary
#391F70 #70611F #2E701F
monochromatic
#0C0718 #211240 #391F70 #512CA0 #6C3FCA

Accessibility & contrast

On white

13.09
#391F70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#391F70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391F70
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391F70#FFFFFF#000000##FFFFFF
##391F701.0013.091.6013.09
#FFFFFF13.091.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003272
Deuteranopia (green-blind)
#002F6E
Tritanopia (blue-blind)
#283345
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #391f70;
/* rgb */ color: rgb(57, 31, 112);
/* oklch */ color: oklch(32.6% 0.131 292.2);
Tailwind
colors: {
  custom: {
    50: '#755d9a',
    500: '#391f70',
    950: '#000000',
  },
}
SCSS
$custom: #391f70;
$custom-light: #755d9a;
$custom-dark: #000000;
JSON
{
  "hex": "#391f70",
  "rgb": {
    "r": 57,
    "g": 31,
    "b": 112
  },
  "hsl": {
    "h": 259.259,
    "s": 56.643,
    "l": 28.039
  },
  "oklch": {
    "l": 0.32583,
    "c": 0.13143,
    "h": 292.2
  },
  "luminance": 0.0302
}

Semantic roles & 50–950 ramp

primary
#391F70
secondary
#86A447
accent
#E048AF
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #391F70

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

Preview Lab → · Contrast checker → · Palette generator →

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