#391167#391167

#391167 is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.9% C 0.137 H 298.6°. Best body text is #FFFFFF at 14.48:1 contrast (WCAG AA passes).

Color values

HEX#391167
RGBrgb(57, 17, 103)
HSLhsl(268, 72%, 24%)
HSVhsv(268, 83%, 40%)
CMYKcmyk(44.7%, 83.5%, 0%, 59.6%)
CIE-LABlab(16.75, 37.49, -42.11)
CIE-LCHlch(16.75, 56.38, 311.68°)
OKLaboklab(29.94% 0.0657 -0.1205)
OKLCHoklch(29.94% 0.137 298.6)
XYZxyz(4.3353, 2.2500, 13.0352)
Luminance0.0225 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391167 #3F6711
analogous
#111467 #391167 #641167
triadic
#391167 #673911 #116739
tetradic
#391167 #671114 #3F6711 #116764
square
#391167 #671114 #3F6711 #116764
split-complementary
#391167 #676411 #146711
monochromatic
#0F041A #1C0832 #391167 #561A9C #7322D0

Accessibility & contrast

On white

14.48
#391167 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#391167 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391167
14.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391167#FFFFFF#000000##FFFFFF
##3911671.0014.481.4514.48
#FFFFFF14.481.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002969
Deuteranopia (green-blind)
#002865
Tritanopia (blue-blind)
#2D293C
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #391167;
/* rgb */ color: rgb(57, 17, 103);
/* oklch */ color: oklch(29.9% 0.137 298.6);
Tailwind
colors: {
  custom: {
    50: '#755593',
    500: '#391167',
    950: '#000000',
  },
}
SCSS
$custom: #391167;
$custom-light: #755593;
$custom-dark: #000000;
JSON
{
  "hex": "#391167",
  "rgb": {
    "r": 57,
    "g": 17,
    "b": 103
  },
  "hsl": {
    "h": 267.907,
    "s": 71.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.29943,
    "c": 0.13725,
    "h": 298.6
  },
  "luminance": 0.0225
}

Semantic roles & 50–950 ramp

primary
#391167
secondary
#6E9F35
accent
#EE399A
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #391167

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

Preview Lab → · Contrast checker → · Palette generator →

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