#391B72#391B72

#391B72 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.2% C 0.139 H 292.6°. Best body text is #FFFFFF at 13.34:1 contrast (WCAG AA passes).

Color values

HEX#391B72
RGBrgb(57, 27, 114)
HSLhsl(261, 62%, 28%)
HSVhsv(261, 76%, 45%)
CMYKcmyk(50%, 76.3%, 0%, 55.3%)
CIE-LABlab(19.51, 35.72, -44.76)
CIE-LCHlch(19.51, 57.26, 308.60°)
OKLaboklab(32.2% 0.0534 -0.1284)
OKLCHoklch(32.2% 0.139 292.6)
XYZxyz(5.1157, 2.8685, 16.2005)
Luminance0.0287 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391B72 #54721B
analogous
#1B2872 #391B72 #651B72
triadic
#391B72 #72391B #1B7239
tetradic
#391B72 #721B28 #54721B #1B7265
square
#391B72 #721B28 #54721B #1B7265
split-complementary
#391B72 #72651B #28721B
monochromatic
#0C0619 #200F41 #391B72 #5227A3 #6C38D0

Accessibility & contrast

On white

13.34
#391B72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#391B72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391B72
13.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391B72#FFFFFF#000000##FFFFFF
##391B721.0013.341.5713.34
#FFFFFF13.341.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003075
Deuteranopia (green-blind)
#002E70
Tritanopia (blue-blind)
#273245
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #391b72;
/* rgb */ color: rgb(57, 27, 114);
/* oklch */ color: oklch(32.2% 0.139 292.6);
Tailwind
colors: {
  custom: {
    50: '#765a9b',
    500: '#391b72',
    950: '#000000',
  },
}
SCSS
$custom: #391b72;
$custom-light: #765a9b;
$custom-dark: #000000;
JSON
{
  "hex": "#391b72",
  "rgb": {
    "r": 57,
    "g": 27,
    "b": 114
  },
  "hsl": {
    "h": 260.69,
    "s": 61.702,
    "l": 27.647
  },
  "oklch": {
    "l": 0.32204,
    "c": 0.13901,
    "h": 292.6
  },
  "luminance": 0.02869
}

Semantic roles & 50–950 ramp

primary
#391B72
secondary
#84A742
accent
#E543AD
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #391B72

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

Preview Lab → · Contrast checker → · Palette generator →

#391B72 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva