#391866#391866

#391866 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.7% C 0.128 H 297.6°. Best body text is #FFFFFF at 14.03:1 contrast (WCAG AA passes).

Color values

HEX#391866
RGBrgb(57, 24, 102)
HSLhsl(265, 62%, 25%)
HSVhsv(265, 76%, 40%)
CMYKcmyk(44.1%, 76.5%, 0%, 60%)
CIE-LABlab(17.84, 33.83, -39.67)
CIE-LCHlch(17.84, 52.14, 310.46°)
OKLaboklab(30.68% 0.0593 -0.1134)
OKLCHoklch(30.68% 0.128 297.6)
XYZxyz(4.4116, 2.4824, 12.8145)
Luminance0.0248 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391866 #456618
analogous
#181E66 #391866 #601866
triadic
#391866 #663918 #186639
tetradic
#391866 #66181E #456618 #186660
square
#391866 #66181E #456618 #186660
split-complementary
#391866 #666018 #1E6618
monochromatic
#0E0619 #1D0C34 #391866 #552498 #702FC9

Accessibility & contrast

On white

14.03
#391866 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #391866
14.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391866#FFFFFF#000000##FFFFFF
##3918661.0014.031.5014.03
#FFFFFF14.031.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.031.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: #391866;
/* rgb */ color: rgb(57, 24, 102);
/* oklch */ color: oklch(30.7% 0.128 297.6);
Tailwind
colors: {
  custom: {
    50: '#745892',
    500: '#391866',
    950: '#000000',
  },
}
SCSS
$custom: #391866;
$custom-light: #745892;
$custom-dark: #000000;
JSON
{
  "hex": "#391866",
  "rgb": {
    "r": 57,
    "g": 24,
    "b": 102
  },
  "hsl": {
    "h": 265.385,
    "s": 61.905,
    "l": 24.706
  },
  "oklch": {
    "l": 0.3068,
    "c": 0.12796,
    "h": 297.6
  },
  "luminance": 0.02482
}

Semantic roles & 50–950 ramp

primary
#391866
secondary
#749C3E
accent
#E543A0
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #391866

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

Preview Lab → · Contrast checker → · Palette generator →

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