#391683#391683

#391683 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.3% C 0.164 H 288.5°. Best body text is #FFFFFF at 12.99:1 contrast (WCAG AA passes).

Color values

HEX#391683
RGBrgb(57, 22, 131)
HSLhsl(259, 71%, 30%)
HSVhsv(259, 83%, 51%)
CMYKcmyk(56.5%, 83.2%, 0%, 48.6%)
CIE-LABlab(20.37, 43.09, -54.19)
CIE-LCHlch(20.37, 69.24, 308.49°)
OKLaboklab(33.32% 0.0522 -0.1559)
OKLCHoklch(33.32% 0.164 288.5)
XYZxyz(6.0698, 3.0821, 21.7434)
Luminance0.0308 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391683 #608316
analogous
#162A83 #391683 #6F1683
triadic
#391683 #833916 #168339
tetradic
#391683 #83162A #608316 #16836F
square
#391683 #83162A #608316 #16836F
split-complementary
#391683 #836F16 #2A8316
monochromatic
#0B041A #220D4F #391683 #501FB7 #6C36DD

Accessibility & contrast

On white

12.99
#391683 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#391683 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391683
12.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391683#FFFFFF#000000##FFFFFF
##3916831.0012.991.6212.99
#FFFFFF12.991.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003386
Deuteranopia (green-blind)
#002E81
Tritanopia (blue-blind)
#1A374D
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #391683;
/* rgb */ color: rgb(57, 22, 131);
/* oklch */ color: oklch(33.3% 0.164 288.5);
Tailwind
colors: {
  custom: {
    50: '#7959a8',
    500: '#391683',
    950: '#000000',
  },
}
SCSS
$custom: #391683;
$custom-light: #7959a8;
$custom-dark: #000000;
JSON
{
  "hex": "#391683",
  "rgb": {
    "r": 57,
    "g": 22,
    "b": 131
  },
  "hsl": {
    "h": 259.266,
    "s": 71.242,
    "l": 30
  },
  "oklch": {
    "l": 0.33323,
    "c": 0.16444,
    "h": 288.5
  },
  "luminance": 0.03082
}

Semantic roles & 50–950 ramp

primary
#391683
secondary
#90B73D
accent
#EE3AB4
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #391683

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

Preview Lab → · Contrast checker → · Palette generator →

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