#391672#391672

#391672 is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.6% C 0.145 H 293.6°. Best body text is #FFFFFF at 13.71:1 contrast (WCAG AA passes).

Color values

HEX#391672
RGBrgb(57, 22, 114)
HSLhsl(263, 68%, 27%)
HSVhsv(263, 81%, 45%)
CMYKcmyk(50%, 80.7%, 0%, 55.3%)
CIE-LABlab(18.62, 38.26, -46.21)
CIE-LCHlch(18.62, 59.99, 309.62°)
OKLaboklab(31.58% 0.0579 -0.1326)
OKLCHoklch(31.58% 0.145 293.6)
XYZxyz(5.0107, 2.6584, 16.1654)
Luminance0.0266 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391672 #4F7216
analogous
#162172 #391672 #671672
triadic
#391672 #723916 #167239
tetradic
#391672 #721621 #4F7216 #167267
square
#391672 #721621 #4F7216 #167267
split-complementary
#391672 #726716 #217216
monochromatic
#0D051A #1F0C3F #391672 #5320A5 #6D2CD6

Accessibility & contrast

On white

13.71
#391672 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#391672 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391672
13.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391672#FFFFFF#000000##FFFFFF
##3916721.0013.711.5313.71
#FFFFFF13.711.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E75
Deuteranopia (green-blind)
#002C70
Tritanopia (blue-blind)
#273043
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #391672;
/* rgb */ color: rgb(57, 22, 114);
/* oklch */ color: oklch(31.6% 0.145 293.6);
Tailwind
colors: {
  custom: {
    50: '#76589b',
    500: '#391672',
    950: '#000000',
  },
}
SCSS
$custom: #391672;
$custom-light: #76589b;
$custom-dark: #000000;
JSON
{
  "hex": "#391672",
  "rgb": {
    "r": 57,
    "g": 22,
    "b": 114
  },
  "hsl": {
    "h": 262.826,
    "s": 67.647,
    "l": 26.667
  },
  "oklch": {
    "l": 0.31579,
    "c": 0.14467,
    "h": 293.6
  },
  "luminance": 0.02659
}

Semantic roles & 50–950 ramp

primary
#391672
secondary
#7FA83C
accent
#EB3DA9
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #391672

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

Preview Lab → · Contrast checker → · Palette generator →

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