#391761#391761

#391761 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.1% C 0.123 H 299.9°. Best body text is #FFFFFF at 14.29:1 contrast (WCAG AA passes).

Color values

HEX#391761
RGBrgb(57, 23, 97)
HSLhsl(268, 62%, 24%)
HSVhsv(268, 76%, 38%)
CMYKcmyk(41.2%, 76.3%, 0%, 62%)
CIE-LABlab(17.21, 32.95, -37.40)
CIE-LCHlch(17.21, 49.84, 311.38°)
OKLaboklab(30.09% 0.0614 -0.1067)
OKLCHoklch(30.09% 0.123 299.9)
XYZxyz(4.1509, 2.3457, 11.5410)
Luminance0.0235 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391761 #3F6117
analogous
#171A61 #391761 #5E1761
triadic
#391761 #613917 #176139
tetradic
#391761 #61171A #3F6117 #17615E
square
#391761 #61171A #3F6117 #17615E
split-complementary
#391761 #615E17 #1A6117
monochromatic
#0F0619 #1C0B30 #391761 #562392 #732EC4

Accessibility & contrast

On white

14.29
#391761 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#391761 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391761
14.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391761#FFFFFF#000000##FFFFFF
##3917611.0014.291.4714.29
#FFFFFF14.291.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A63
Deuteranopia (green-blind)
#002A60
Tritanopia (blue-blind)
#30293A
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #391761;
/* rgb */ color: rgb(57, 23, 97);
/* oklch */ color: oklch(30.1% 0.123 299.9);
Tailwind
colors: {
  custom: {
    50: '#74578f',
    500: '#391761',
    950: '#000000',
  },
}
SCSS
$custom: #391761;
$custom-light: #74578f;
$custom-dark: #000000;
JSON
{
  "hex": "#391761",
  "rgb": {
    "r": 57,
    "g": 23,
    "b": 97
  },
  "hsl": {
    "h": 267.568,
    "s": 61.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.30093,
    "c": 0.12315,
    "h": 299.9
  },
  "luminance": 0.02346
}

Semantic roles & 50–950 ramp

primary
#391761
secondary
#6E983C
accent
#E5439A
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #391761

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

Preview Lab → · Contrast checker → · Palette generator →

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