#391660#391660

#391660 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 29.9% C 0.123 H 300.6°. Best body text is #FFFFFF at 14.41:1 contrast (WCAG AA passes).

Color values

HEX#391660
RGBrgb(57, 22, 96)
HSLhsl(268, 63%, 23%)
HSVhsv(268, 77%, 38%)
CMYKcmyk(40.6%, 77.1%, 0%, 62.4%)
CIE-LABlab(16.93, 33.19, -37.18)
CIE-LCHlch(16.93, 49.84, 311.76°)
OKLaboklab(29.87% 0.0628 -0.1061)
OKLCHoklch(29.87% 0.123 300.6)
XYZxyz(4.0851, 2.2882, 11.2905)
Luminance0.0229 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391660 #3D6016
analogous
#161860 #391660 #5E1660
triadic
#391660 #603916 #166039
tetradic
#391660 #601618 #3D6016 #16605E
square
#391660 #601618 #3D6016 #16605E
split-complementary
#391660 #605E16 #186016
monochromatic
#0F0619 #1B0B2E #391660 #572192 #742DC4

Accessibility & contrast

On white

14.41
#391660 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#391660 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391660
14.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391660#FFFFFF#000000##FFFFFF
##3916601.0014.411.4614.41
#FFFFFF14.411.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002962
Deuteranopia (green-blind)
#00295F
Tritanopia (blue-blind)
#302839
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #391660;
/* rgb */ color: rgb(57, 22, 96);
/* oklch */ color: oklch(29.9% 0.123 300.6);
Tailwind
colors: {
  custom: {
    50: '#74578e',
    500: '#391660',
    950: '#000000',
  },
}
SCSS
$custom: #391660;
$custom-light: #74578e;
$custom-dark: #000000;
JSON
{
  "hex": "#391660",
  "rgb": {
    "r": 57,
    "g": 22,
    "b": 96
  },
  "hsl": {
    "h": 268.378,
    "s": 62.712,
    "l": 23.137
  },
  "oklch": {
    "l": 0.29871,
    "c": 0.12325,
    "h": 300.6
  },
  "luminance": 0.02288
}

Semantic roles & 50–950 ramp

primary
#391660
secondary
#6B973B
accent
#E64298
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #391660

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

Preview Lab → · Contrast checker → · Palette generator →

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