#391961#391961

#391961 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.4% C 0.120 H 299.4°. Best body text is #FFFFFF at 14.14:1 contrast (WCAG AA passes).

Color values

HEX#391961
RGBrgb(57, 25, 97)
HSLhsl(267, 59%, 24%)
HSVhsv(267, 74%, 38%)
CMYKcmyk(41.2%, 74.2%, 0%, 62%)
CIE-LABlab(17.59, 31.87, -36.77)
CIE-LCHlch(17.59, 48.66, 310.92°)
OKLaboklab(30.37% 0.0592 -0.1049)
OKLCHoklch(30.37% 0.12 299.4)
XYZxyz(4.1921, 2.4281, 11.5548)
Luminance0.0243 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391961 #416119
analogous
#191D61 #391961 #5D1961
triadic
#391961 #613919 #196139
tetradic
#391961 #61191D #416119 #19615D
square
#391961 #61191D #416119 #19615D
split-complementary
#391961 #615D19 #1D6119
monochromatic
#0E0618 #1C0C30 #391961 #562692 #7232C2

Accessibility & contrast

On white

14.14
#391961 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#391961 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391961
14.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391961#FFFFFF#000000##FFFFFF
##3919611.0014.141.4914.14
#FFFFFF14.141.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B63
Deuteranopia (green-blind)
#002B60
Tritanopia (blue-blind)
#302A3B
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #391961;
/* rgb */ color: rgb(57, 25, 97);
/* oklch */ color: oklch(30.4% 0.120 299.4);
Tailwind
colors: {
  custom: {
    50: '#74588e',
    500: '#391961',
    950: '#000000',
  },
}
SCSS
$custom: #391961;
$custom-light: #74588e;
$custom-dark: #000000;
JSON
{
  "hex": "#391961",
  "rgb": {
    "r": 57,
    "g": 25,
    "b": 97
  },
  "hsl": {
    "h": 266.667,
    "s": 59.016,
    "l": 23.922
  },
  "oklch": {
    "l": 0.30366,
    "c": 0.12045,
    "h": 299.4
  },
  "luminance": 0.02428
}

Semantic roles & 50–950 ramp

primary
#391961
secondary
#70973F
accent
#E2469D
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #391961

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

Preview Lab → · Contrast checker → · Palette generator →

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