#391766#391766

#391766 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.5% C 0.129 H 297.8°. Best body text is #FFFFFF at 14.11:1 contrast (WCAG AA passes).

Color values

HEX#391766
RGBrgb(57, 23, 102)
HSLhsl(266, 63%, 25%)
HSVhsv(266, 77%, 40%)
CMYKcmyk(44.1%, 77.5%, 0%, 60%)
CIE-LABlab(17.65, 34.36, -39.97)
CIE-LCHlch(17.65, 52.71, 310.68°)
OKLaboklab(30.55% 0.0603 -0.1143)
OKLCHoklch(30.55% 0.129 297.8)
XYZxyz(4.3914, 2.4419, 12.8078)
Luminance0.0244 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391766 #446617
analogous
#171C66 #391766 #611766
triadic
#391766 #663917 #176639
tetradic
#391766 #66171C #446617 #176661
square
#391766 #66171C #446617 #176661
split-complementary
#391766 #666117 #1C6617
monochromatic
#0E0619 #1D0C34 #391766 #552298 #712ECA

Accessibility & contrast

On white

14.11
#391766 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #391766
14.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391766#FFFFFF#000000##FFFFFF
##3917661.0014.111.4914.11
#FFFFFF14.111.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B68
Deuteranopia (green-blind)
#002A64
Tritanopia (blue-blind)
#2E2B3D
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #391766;
/* rgb */ color: rgb(57, 23, 102);
/* oklch */ color: oklch(30.5% 0.129 297.8);
Tailwind
colors: {
  custom: {
    50: '#745892',
    500: '#391766',
    950: '#000000',
  },
}
SCSS
$custom: #391766;
$custom-light: #745892;
$custom-dark: #000000;
JSON
{
  "hex": "#391766",
  "rgb": {
    "r": 57,
    "g": 23,
    "b": 102
  },
  "hsl": {
    "h": 265.823,
    "s": 63.2,
    "l": 24.51
  },
  "oklch": {
    "l": 0.30549,
    "c": 0.12921,
    "h": 297.8
  },
  "luminance": 0.02442
}

Semantic roles & 50–950 ramp

primary
#391766
secondary
#739C3C
accent
#E6429F
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #391766

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

Preview Lab → · Contrast checker → · Palette generator →

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