#391670#391670

#391670 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.4% C 0.142 H 294.3°. Best body text is #FFFFFF at 13.79:1 contrast (WCAG AA passes).

Color values

HEX#391670
RGBrgb(57, 22, 112)
HSLhsl(263, 67%, 26%)
HSVhsv(263, 80%, 44%)
CMYKcmyk(49.1%, 80.4%, 0%, 56.1%)
CIE-LABlab(18.42, 37.69, -45.24)
CIE-LCHlch(18.42, 58.88, 309.80°)
OKLaboklab(31.38% 0.0585 -0.1297)
OKLCHoklch(31.38% 0.142 294.3)
XYZxyz(4.8981, 2.6134, 15.5725)
Luminance0.0261 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391670 #4D7016
analogous
#162070 #391670 #661670
triadic
#391670 #703916 #167039
tetradic
#391670 #701620 #4D7016 #167066
square
#391670 #701620 #4D7016 #167066
split-complementary
#391670 #706616 #207016
monochromatic
#0D051A #1F0C3D #391670 #5320A3 #6D2BD5

Accessibility & contrast

On white

13.79
#391670 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#391670 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391670
13.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391670#FFFFFF#000000##FFFFFF
##3916701.0013.791.5213.79
#FFFFFF13.791.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E73
Deuteranopia (green-blind)
#002B6E
Tritanopia (blue-blind)
#292F42
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #391670;
/* rgb */ color: rgb(57, 22, 112);
/* oklch */ color: oklch(31.4% 0.142 294.3);
Tailwind
colors: {
  custom: {
    50: '#76589a',
    500: '#391670',
    950: '#000000',
  },
}
SCSS
$custom: #391670;
$custom-light: #76589a;
$custom-dark: #000000;
JSON
{
  "hex": "#391670",
  "rgb": {
    "r": 57,
    "g": 22,
    "b": 112
  },
  "hsl": {
    "h": 263.333,
    "s": 67.164,
    "l": 26.275
  },
  "oklch": {
    "l": 0.31382,
    "c": 0.14232,
    "h": 294.3
  },
  "luminance": 0.02614
}

Semantic roles & 50–950 ramp

primary
#391670
secondary
#7DA63C
accent
#EA3EA7
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #391670

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

Preview Lab → · Contrast checker → · Palette generator →

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