#391372#391372

#391372 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.2% C 0.148 H 294.1°. Best body text is #FFFFFF at 13.91:1 contrast (WCAG AA passes).

Color values

HEX#391372
RGBrgb(57, 19, 114)
HSLhsl(264, 71%, 26%)
HSVhsv(264, 83%, 45%)
CMYKcmyk(50%, 83.3%, 0%, 55.3%)
CIE-LABlab(18.14, 39.63, -46.99)
CIE-LCHlch(18.14, 61.47, 310.14°)
OKLaboklab(31.25% 0.0603 -0.1348)
OKLCHoklch(31.25% 0.148 294.1)
XYZxyz(4.9566, 2.5504, 16.1474)
Luminance0.0255 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391372 #4C7213
analogous
#131C72 #391372 #681372
triadic
#391372 #723913 #137239
tetradic
#391372 #72131C #4C7213 #137268
square
#391372 #72131C #4C7213 #137268
split-complementary
#391372 #726813 #1C7213
monochromatic
#0D041A #1F0A3E #391372 #531CA6 #6E25DB

Accessibility & contrast

On white

13.91
#391372 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#391372 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391372
13.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391372#FFFFFF#000000##FFFFFF
##3913721.0013.911.5113.91
#FFFFFF13.911.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D75
Deuteranopia (green-blind)
#002B70
Tritanopia (blue-blind)
#282E43
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #391372;
/* rgb */ color: rgb(57, 19, 114);
/* oklch */ color: oklch(31.2% 0.148 294.1);
Tailwind
colors: {
  custom: {
    50: '#76569b',
    500: '#391372',
    950: '#000000',
  },
}
SCSS
$custom: #391372;
$custom-light: #76569b;
$custom-dark: #000000;
JSON
{
  "hex": "#391372",
  "rgb": {
    "r": 57,
    "g": 19,
    "b": 114
  },
  "hsl": {
    "h": 264,
    "s": 71.429,
    "l": 26.078
  },
  "oklch": {
    "l": 0.31248,
    "c": 0.14773,
    "h": 294.1
  },
  "luminance": 0.02551
}

Semantic roles & 50–950 ramp

primary
#391372
secondary
#7CA938
accent
#EE3AA6
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #391372

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

Preview Lab → · Contrast checker → · Palette generator →

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