#391667#391667

#391667 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.5% C 0.132 H 297.6°. Best body text is #FFFFFF at 14.15:1 contrast (WCAG AA passes).

Color values

HEX#391667
RGBrgb(57, 22, 103)
HSLhsl(266, 65%, 25%)
HSVhsv(266, 79%, 40%)
CMYKcmyk(44.7%, 78.6%, 0%, 59.6%)
CIE-LABlab(17.57, 35.15, -40.77)
CIE-LCHlch(17.57, 53.83, 310.76°)
OKLaboklab(30.52% 0.0611 -0.1166)
OKLCHoklch(30.52% 0.132 297.6)
XYZxyz(4.4218, 2.4229, 13.0640)
Luminance0.0242 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391667 #446716
analogous
#161C67 #391667 #621667
triadic
#391667 #673916 #166739
tetradic
#391667 #67161C #446716 #166762
square
#391667 #67161C #446716 #166762
split-complementary
#391667 #676216 #1C6716
monochromatic
#0E0519 #1D0B35 #391667 #552199 #712CCC

Accessibility & contrast

On white

14.15
#391667 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #391667
14.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391667#FFFFFF#000000##FFFFFF
##3916671.0014.151.4814.15
#FFFFFF14.151.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B69
Deuteranopia (green-blind)
#002A65
Tritanopia (blue-blind)
#2D2B3D
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #391667;
/* rgb */ color: rgb(57, 22, 103);
/* oklch */ color: oklch(30.5% 0.132 297.6);
Tailwind
colors: {
  custom: {
    50: '#755793',
    500: '#391667',
    950: '#000000',
  },
}
SCSS
$custom: #391667;
$custom-light: #755793;
$custom-dark: #000000;
JSON
{
  "hex": "#391667",
  "rgb": {
    "r": 57,
    "g": 22,
    "b": 103
  },
  "hsl": {
    "h": 265.926,
    "s": 64.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.30516,
    "c": 0.13165,
    "h": 297.6
  },
  "luminance": 0.02423
}

Semantic roles & 50–950 ramp

primary
#391667
secondary
#739E3B
accent
#E8409F
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #391667

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

Preview Lab → · Contrast checker → · Palette generator →

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