#391693#391693

#391693 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 35.1% C 0.183 H 284.7°. Best body text is #FFFFFF at 12.28:1 contrast (WCAG AA passes).

Color values

HEX#391693
RGBrgb(57, 22, 147)
HSLhsl(257, 74%, 33%)
HSVhsv(257, 85%, 58%)
CMYKcmyk(61.2%, 85%, 0%, 42.4%)
CIE-LABlab(22.12, 47.62, -61.30)
CIE-LCHlch(22.12, 77.62, 307.84°)
OKLaboklab(35.05% 0.0463 -0.1767)
OKLCHoklch(35.05% 0.183 284.7)
XYZxyz(7.2391, 3.5498, 27.9018)
Luminance0.0355 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391693 #709316
analogous
#163193 #391693 #771693
triadic
#391693 #933916 #169339
tetradic
#391693 #931631 #709316 #169377
square
#391693 #931631 #709316 #169377
split-complementary
#391693 #937716 #319316
monochromatic
#100629 #240E5E #391693 #4E1EC8 #6E41E3

Accessibility & contrast

On white

12.28
#391693 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#391693 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391693
12.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391693#FFFFFF#000000##FFFFFF
##3916931.0012.281.7112.28
#FFFFFF12.281.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003896
Deuteranopia (green-blind)
#003191
Tritanopia (blue-blind)
#003D57
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #391693;
/* rgb */ color: rgb(57, 22, 147);
/* oklch */ color: oklch(35.1% 0.183 284.7);
Tailwind
colors: {
  custom: {
    50: '#7c5ab4',
    500: '#391693',
    950: '#000000',
  },
}
SCSS
$custom: #391693;
$custom-light: #7c5ab4;
$custom-dark: #000000;
JSON
{
  "hex": "#391693",
  "rgb": {
    "r": 57,
    "g": 22,
    "b": 147
  },
  "hsl": {
    "h": 256.8,
    "s": 73.964,
    "l": 33.137
  },
  "oklch": {
    "l": 0.35052,
    "c": 0.18266,
    "h": 284.7
  },
  "luminance": 0.0355
}

Semantic roles & 50–950 ramp

primary
#391693
secondary
#9FC342
accent
#F137BD
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0411
muted
#7C7980

Preview Lab

Preview with #391693

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

Preview Lab → · Contrast checker → · Palette generator →

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