#391366#391366

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

Color values

HEX#391366
RGBrgb(57, 19, 102)
HSLhsl(267, 69%, 24%)
HSVhsv(267, 81%, 40%)
CMYKcmyk(44.1%, 81.4%, 0%, 60%)
CIE-LABlab(16.96, 36.32, -41.10)
CIE-LCHlch(16.96, 54.85, 311.47°)
OKLaboklab(30.06% 0.0642 -0.1176)
OKLCHoklch(30.06% 0.134 298.6)
XYZxyz(4.3179, 2.2948, 12.7833)
Luminance0.0230 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391366 #406613
analogous
#131666 #391366 #621366
triadic
#391366 #663913 #136639
tetradic
#391366 #661316 #406613 #136662
square
#391366 #661316 #406613 #136662
split-complementary
#391366 #666213 #166613
monochromatic
#0E051A #1C0932 #391366 #561D9A #7326CD

Accessibility & contrast

On white

14.39
#391366 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#391366 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391366
14.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391366#FFFFFF#000000##FFFFFF
##3913661.0014.391.4614.39
#FFFFFF14.391.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A68
Deuteranopia (green-blind)
#002964
Tritanopia (blue-blind)
#2E293C
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #391366;
/* rgb */ color: rgb(57, 19, 102);
/* oklch */ color: oklch(30.1% 0.134 298.6);
Tailwind
colors: {
  custom: {
    50: '#755592',
    500: '#391366',
    950: '#000000',
  },
}
SCSS
$custom: #391366;
$custom-light: #755592;
$custom-dark: #000000;
JSON
{
  "hex": "#391366",
  "rgb": {
    "r": 57,
    "g": 19,
    "b": 102
  },
  "hsl": {
    "h": 267.47,
    "s": 68.595,
    "l": 23.725
  },
  "oklch": {
    "l": 0.30064,
    "c": 0.13395,
    "h": 298.6
  },
  "luminance": 0.02295
}

Semantic roles & 50–950 ramp

primary
#391366
secondary
#6F9D37
accent
#EB3C9B
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #391366

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

Preview Lab → · Contrast checker → · Palette generator →

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