#391B67#391B67

#391B67 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.2% C 0.125 H 296.5°. Best body text is #FFFFFF at 13.76:1 contrast (WCAG AA passes).

Color values

HEX#391B67
RGBrgb(57, 27, 103)
HSLhsl(264, 58%, 25%)
HSVhsv(264, 74%, 40%)
CMYKcmyk(44.7%, 73.8%, 0%, 59.6%)
CIE-LABlab(18.51, 32.49, -39.23)
CIE-LCHlch(18.51, 50.94, 309.63°)
OKLaboklab(31.18% 0.0558 -0.1121)
OKLCHoklch(31.18% 0.125 296.5)
XYZxyz(4.5268, 2.6329, 13.0990)
Luminance0.0263 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391B67 #49671B
analogous
#1B2367 #391B67 #5F1B67
triadic
#391B67 #67391B #1B6739
tetradic
#391B67 #671B23 #49671B #1B675F
square
#391B67 #671B23 #49671B #1B675F
split-complementary
#391B67 #675F1B #23671B
monochromatic
#0D0618 #1E0E37 #391B67 #542897 #6F34C8

Accessibility & contrast

On white

13.76
#391B67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#391B67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391B67
13.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391B67#FFFFFF#000000##FFFFFF
##391B671.0013.761.5313.76
#FFFFFF13.761.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D69
Deuteranopia (green-blind)
#002C65
Tritanopia (blue-blind)
#2D2E3F
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #391b67;
/* rgb */ color: rgb(57, 27, 103);
/* oklch */ color: oklch(31.2% 0.125 296.5);
Tailwind
colors: {
  custom: {
    50: '#745a93',
    500: '#391b67',
    950: '#000000',
  },
}
SCSS
$custom: #391b67;
$custom-light: #745a93;
$custom-dark: #000000;
JSON
{
  "hex": "#391b67",
  "rgb": {
    "r": 57,
    "g": 27,
    "b": 103
  },
  "hsl": {
    "h": 263.684,
    "s": 58.462,
    "l": 25.49
  },
  "oklch": {
    "l": 0.31184,
    "c": 0.12526,
    "h": 296.5
  },
  "luminance": 0.02633
}

Semantic roles & 50–950 ramp

primary
#391B67
secondary
#789C42
accent
#E246A4
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09040D
muted
#7B797E

Preview Lab

Preview with #391B67

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

Preview Lab → · Contrast checker → · Palette generator →

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