#391966#391966

#391966 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.8% C 0.127 H 297.4°. Best body text is #FFFFFF at 13.96:1 contrast (WCAG AA passes).

Color values

HEX#391966
RGBrgb(57, 25, 102)
HSLhsl(265, 61%, 25%)
HSVhsv(265, 75%, 40%)
CMYKcmyk(44.1%, 75.5%, 0%, 60%)
CIE-LABlab(18.03, 33.30, -39.36)
CIE-LCHlch(18.03, 51.56, 310.23°)
OKLaboklab(30.82% 0.0582 -0.1125)
OKLCHoklch(30.82% 0.127 297.4)
XYZxyz(4.4326, 2.5243, 12.8215)
Luminance0.0252 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391966 #466619
analogous
#192066 #391966 #601966
triadic
#391966 #663919 #196639
tetradic
#391966 #661920 #466619 #196660
square
#391966 #661920 #466619 #196660
split-complementary
#391966 #666019 #206619
monochromatic
#0E0619 #1E0D35 #391966 #542597 #7031C8

Accessibility & contrast

On white

13.96
#391966 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#391966 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391966
13.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391966#FFFFFF#000000##FFFFFF
##3919661.0013.961.5013.96
#FFFFFF13.961.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C68
Deuteranopia (green-blind)
#002B64
Tritanopia (blue-blind)
#2E2C3D
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #391966;
/* rgb */ color: rgb(57, 25, 102);
/* oklch */ color: oklch(30.8% 0.127 297.4);
Tailwind
colors: {
  custom: {
    50: '#745992',
    500: '#391966',
    950: '#000000',
  },
}
SCSS
$custom: #391966;
$custom-light: #745992;
$custom-dark: #000000;
JSON
{
  "hex": "#391966",
  "rgb": {
    "r": 57,
    "g": 25,
    "b": 102
  },
  "hsl": {
    "h": 264.935,
    "s": 60.63,
    "l": 24.902
  },
  "oklch": {
    "l": 0.30815,
    "c": 0.12666,
    "h": 297.4
  },
  "luminance": 0.02524
}

Semantic roles & 50–950 ramp

primary
#391966
secondary
#759C3F
accent
#E444A1
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #391966

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

Preview Lab → · Contrast checker → · Palette generator →

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