#391B93#391B93

#391B93 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.6% C 0.179 H 284.1°. Best body text is #FFFFFF at 11.99:1 contrast (WCAG AA passes).

Color values

HEX#391B93
RGBrgb(57, 27, 147)
HSLhsl(255, 69%, 34%)
HSVhsv(255, 82%, 58%)
CMYKcmyk(61.2%, 81.6%, 0%, 42.4%)
CIE-LABlab(22.86, 45.46, -60.09)
CIE-LCHlch(22.86, 75.34, 307.11°)
OKLaboklab(35.56% 0.0435 -0.1732)
OKLCHoklch(35.56% 0.179 284.1)
XYZxyz(7.3441, 3.7598, 27.9368)
Luminance0.0376 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391B93 #75931B
analogous
#1B3993 #391B93 #751B93
triadic
#391B93 #93391B #1B9339
tetradic
#391B93 #931B39 #75931B #1B9375
square
#391B93 #931B39 #75931B #1B9375
split-complementary
#391B93 #93751B #39931B
monochromatic
#11082C #25125F #391B93 #4D24C7 #6F4BDE

Accessibility & contrast

On white

11.99
#391B93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#391B93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391B93
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391B93#FFFFFF#000000##FFFFFF
##391B931.0011.991.7511.99
#FFFFFF11.991.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A96
Deuteranopia (green-blind)
#003391
Tritanopia (blue-blind)
#003F57
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #391b93;
/* rgb */ color: rgb(57, 27, 147);
/* oklch */ color: oklch(35.6% 0.179 284.1);
Tailwind
colors: {
  custom: {
    50: '#7c5cb4',
    500: '#391b93',
    950: '#000000',
  },
}
SCSS
$custom: #391b93;
$custom-light: #7c5cb4;
$custom-dark: #000000;
JSON
{
  "hex": "#391b93",
  "rgb": {
    "r": 57,
    "g": 27,
    "b": 147
  },
  "hsl": {
    "h": 255,
    "s": 68.966,
    "l": 34.118
  },
  "oklch": {
    "l": 0.3556,
    "c": 0.17859,
    "h": 284.1
  },
  "luminance": 0.0376
}

Semantic roles & 50–950 ramp

primary
#391B93
secondary
#A2C04A
accent
#EC3CC0
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0411
muted
#7C7980

Preview Lab

Preview with #391B93

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

Preview Lab → · Contrast checker → · Palette generator →

#391B93 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva