#391665#391665

#391665 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.3% C 0.129 H 298.4°. Best body text is #FFFFFF at 14.22:1 contrast (WCAG AA passes).

Color values

HEX#391665
RGBrgb(57, 22, 101)
HSLhsl(267, 64%, 24%)
HSVhsv(267, 78%, 40%)
CMYKcmyk(43.6%, 78.2%, 0%, 60.4%)
CIE-LABlab(17.38, 34.59, -39.76)
CIE-LCHlch(17.38, 52.69, 311.02°)
OKLaboklab(30.33% 0.0616 -0.1136)
OKLCHoklch(30.33% 0.129 298.4)
XYZxyz(4.3226, 2.3832, 12.5417)
Luminance0.0238 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391665 #426516
analogous
#161B65 #391665 #611665
triadic
#391665 #653916 #166539
tetradic
#391665 #65161B #426516 #166561
square
#391665 #65161B #426516 #166561
split-complementary
#391665 #656116 #1B6516
monochromatic
#0E0519 #1D0B33 #391665 #552197 #722CCA

Accessibility & contrast

On white

14.22
#391665 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#391665 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391665
14.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391665#FFFFFF#000000##FFFFFF
##3916651.0014.221.4814.22
#FFFFFF14.221.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B67
Deuteranopia (green-blind)
#002A63
Tritanopia (blue-blind)
#2E2A3C
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #391665;
/* rgb */ color: rgb(57, 22, 101);
/* oklch */ color: oklch(30.3% 0.129 298.4);
Tailwind
colors: {
  custom: {
    50: '#745792',
    500: '#391665',
    950: '#000000',
  },
}
SCSS
$custom: #391665;
$custom-light: #745792;
$custom-dark: #000000;
JSON
{
  "hex": "#391665",
  "rgb": {
    "r": 57,
    "g": 22,
    "b": 101
  },
  "hsl": {
    "h": 266.582,
    "s": 64.228,
    "l": 24.118
  },
  "oklch": {
    "l": 0.30329,
    "c": 0.12926,
    "h": 298.4
  },
  "luminance": 0.02383
}

Semantic roles & 50–950 ramp

primary
#391665
secondary
#719C3B
accent
#E7419D
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #391665

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

Preview Lab → · Contrast checker → · Palette generator →

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