#391968#391968

#391968 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.0% C 0.129 H 296.6°. Best body text is #FFFFFF at 13.88:1 contrast (WCAG AA passes).

Color values

HEX#391968
RGBrgb(57, 25, 104)
HSLhsl(264, 61%, 25%)
HSVhsv(264, 76%, 41%)
CMYKcmyk(45.2%, 76%, 0%, 59.2%)
CIE-LABlab(18.21, 33.88, -40.38)
CIE-LCHlch(18.21, 52.71, 309.99°)
OKLaboklab(31% 0.0578 -0.1155)
OKLCHoklch(31% 0.129 296.6)
XYZxyz(4.5330, 2.5645, 13.3502)
Luminance0.0256 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391968 #486819
analogous
#192068 #391968 #601968
triadic
#391968 #683919 #196839
tetradic
#391968 #681920 #486819 #196860
square
#391968 #681920 #486819 #196860
split-complementary
#391968 #686019 #206819
monochromatic
#0E0619 #1E0D37 #391968 #542599 #6F31CB

Accessibility & contrast

On white

13.88
#391968 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#391968 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391968
13.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391968#FFFFFF#000000##FFFFFF
##3919681.0013.881.5113.88
#FFFFFF13.881.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D6A
Deuteranopia (green-blind)
#002B66
Tritanopia (blue-blind)
#2D2D3F
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #391968;
/* rgb */ color: rgb(57, 25, 104);
/* oklch */ color: oklch(31.0% 0.129 296.6);
Tailwind
colors: {
  custom: {
    50: '#745994',
    500: '#391968',
    950: '#000000',
  },
}
SCSS
$custom: #391968;
$custom-light: #745994;
$custom-dark: #000000;
JSON
{
  "hex": "#391968",
  "rgb": {
    "r": 57,
    "g": 25,
    "b": 104
  },
  "hsl": {
    "h": 264.304,
    "s": 61.24,
    "l": 25.294
  },
  "oklch": {
    "l": 0.30998,
    "c": 0.12913,
    "h": 296.6
  },
  "luminance": 0.02565
}

Semantic roles & 50–950 ramp

primary
#391968
secondary
#779E3F
accent
#E443A3
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09040D
muted
#7B797E

Preview Lab

Preview with #391968

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

Preview Lab → · Contrast checker → · Palette generator →

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