#391B65#391B65

#391B65 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.0% C 0.123 H 297.2°. Best body text is #FFFFFF at 13.83:1 contrast (WCAG AA passes).

Color values

HEX#391B65
RGBrgb(57, 27, 101)
HSLhsl(264, 58%, 25%)
HSVhsv(264, 73%, 40%)
CMYKcmyk(43.6%, 73.3%, 0%, 60.4%)
CIE-LABlab(18.34, 31.91, -38.20)
CIE-LCHlch(18.34, 49.78, 309.87°)
OKLaboklab(31.01% 0.0562 -0.1091)
OKLCHoklch(31.01% 0.123 297.2)
XYZxyz(4.4276, 2.5932, 12.5767)
Luminance0.0259 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391B65 #47651B
analogous
#1B2265 #391B65 #5E1B65
triadic
#391B65 #65391B #1B6539
tetradic
#391B65 #651B22 #47651B #1B655E
square
#391B65 #651B22 #47651B #1B655E
split-complementary
#391B65 #655E1B #22651B
monochromatic
#0E0618 #1E0E35 #391B65 #542895 #7035C6

Accessibility & contrast

On white

13.83
#391B65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#391B65 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391B65
13.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391B65#FFFFFF#000000##FFFFFF
##391B651.0013.831.5213.83
#FFFFFF13.831.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D67
Deuteranopia (green-blind)
#002C63
Tritanopia (blue-blind)
#2E2D3D
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #391b65;
/* rgb */ color: rgb(57, 27, 101);
/* oklch */ color: oklch(31.0% 0.123 297.2);
Tailwind
colors: {
  custom: {
    50: '#745a92',
    500: '#391b65',
    950: '#000000',
  },
}
SCSS
$custom: #391b65;
$custom-light: #745a92;
$custom-dark: #000000;
JSON
{
  "hex": "#391b65",
  "rgb": {
    "r": 57,
    "g": 27,
    "b": 101
  },
  "hsl": {
    "h": 264.324,
    "s": 57.813,
    "l": 25.098
  },
  "oklch": {
    "l": 0.31006,
    "c": 0.12272,
    "h": 297.2
  },
  "luminance": 0.02593
}

Semantic roles & 50–950 ramp

primary
#391B65
secondary
#769A41
accent
#E147A2
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08040D
muted
#7B797E

Preview Lab

Preview with #391B65

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

Preview Lab → · Contrast checker → · Palette generator →

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