#391AAE#391AAE

#391AAE is a dark, highly saturated violet. Relative luminance 0.047; OKLCH L 38.4% C 0.210 H 279.5°. Best body text is #FFFFFF at 10.86:1 contrast (WCAG AA passes).

Color values

HEX#391AAE
RGBrgb(57, 26, 174)
HSLhsl(253, 74%, 39%)
HSVhsv(253, 85%, 68%)
CMYKcmyk(67.2%, 85.1%, 0%, 31.8%)
CIE-LABlab(25.75, 53.64, -71.75)
CIE-LCHlch(25.75, 89.59, 306.78°)
OKLaboklab(38.44% 0.0348 -0.2071)
OKLCHoklch(38.44% 0.21 279.5)
XYZxyz(9.6943, 4.6638, 40.4255)
Luminance0.0466 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391AAE #8FAE1A
analogous
#1A45AE #391AAE #831AAE
triadic
#391AAE #AE391A #1AAE39
tetradic
#391AAE #AE1A45 #8FAE1A #1AAE83
square
#391AAE #AE1A45 #8FAE1A #1AAE83
split-complementary
#391AAE #AE831A #45AE1A
monochromatic
#160A44 #281279 #391AAE #4D27DF #795CE7

Accessibility & contrast

On white

10.86
#391AAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#391AAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391AAE
10.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391AAE#FFFFFF#000000##FFFFFF
##391AAE1.0010.861.9310.86
#FFFFFF10.861.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042B2
Deuteranopia (green-blind)
#0037AC
Tritanopia (blue-blind)
#004A67
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #391aae;
/* rgb */ color: rgb(57, 26, 174);
/* oklch */ color: oklch(38.4% 0.210 279.5);
Tailwind
colors: {
  custom: {
    50: '#815ec8',
    500: '#391aae',
    950: '#000000',
  },
}
SCSS
$custom: #391aae;
$custom-light: #815ec8;
$custom-dark: #000000;
JSON
{
  "hex": "#391aae",
  "rgb": {
    "r": 57,
    "g": 26,
    "b": 174
  },
  "hsl": {
    "h": 252.568,
    "s": 74,
    "l": 39.216
  },
  "oklch": {
    "l": 0.38444,
    "c": 0.21005,
    "h": 279.5
  },
  "luminance": 0.04665
}

Semantic roles & 50–950 ramp

primary
#391AAE
secondary
#B3CA59
accent
#F137CA
background
#F8F5FC
surface
#F0E9F8
border
#CBC5D1
text
#0C0513
muted
#7D7982

Preview Lab

Preview with #391AAE

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

Preview Lab → · Contrast checker → · Palette generator →

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