#391893#391893

#391893 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 35.2% C 0.181 H 284.5°. Best body text is #FFFFFF at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#391893
RGBrgb(57, 24, 147)
HSLhsl(256, 72%, 34%)
HSVhsv(256, 84%, 58%)
CMYKcmyk(61.2%, 83.7%, 0%, 42.4%)
CIE-LABlab(22.41, 46.79, -60.84)
CIE-LCHlch(22.41, 76.75, 307.56°)
OKLaboklab(35.25% 0.0452 -0.1754)
OKLCHoklch(35.25% 0.181 284.5)
XYZxyz(7.2788, 3.6292, 27.9151)
Luminance0.0363 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391893 #729318
analogous
#183493 #391893 #761893
triadic
#391893 #933918 #189339
tetradic
#391893 #931834 #729318 #189376
square
#391893 #931834 #729318 #189376
split-complementary
#391893 #937618 #349318
monochromatic
#10072A #250F5E #391893 #4D21C8 #6F45E1

Accessibility & contrast

On white

12.17
#391893 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#391893 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391893
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391893#FFFFFF#000000##FFFFFF
##3918931.0012.171.7312.17
#FFFFFF12.171.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003996
Deuteranopia (green-blind)
#003291
Tritanopia (blue-blind)
#003E57
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #391893;
/* rgb */ color: rgb(57, 24, 147);
/* oklch */ color: oklch(35.2% 0.181 284.5);
Tailwind
colors: {
  custom: {
    50: '#7c5bb4',
    500: '#391893',
    950: '#000000',
  },
}
SCSS
$custom: #391893;
$custom-light: #7c5bb4;
$custom-dark: #000000;
JSON
{
  "hex": "#391893",
  "rgb": {
    "r": 57,
    "g": 24,
    "b": 147
  },
  "hsl": {
    "h": 256.098,
    "s": 71.93,
    "l": 33.529
  },
  "oklch": {
    "l": 0.35246,
    "c": 0.1811,
    "h": 284.5
  },
  "luminance": 0.0363
}

Semantic roles & 50–950 ramp

primary
#391893
secondary
#A0C245
accent
#EF39BE
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0411
muted
#7C7980

Preview Lab

Preview with #391893

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

Preview Lab → · Contrast checker → · Palette generator →

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