#391458#391458

#391458 is a dark, moderate violet. Relative luminance 0.021; OKLCH L 28.9% C 0.116 H 304.9°. Best body text is #FFFFFF at 14.84:1 contrast (WCAG AA passes).

Color values

HEX#391458
RGBrgb(57, 20, 88)
HSLhsl(273, 63%, 21%)
HSVhsv(273, 77%, 35%)
CMYKcmyk(35.2%, 77.3%, 0%, 65.5%)
CIE-LABlab(15.88, 32.04, -33.55)
CIE-LCHlch(15.88, 46.39, 313.68°)
OKLaboklab(28.9% 0.0667 -0.0954)
OKLCHoklch(28.9% 0.116 304.9)
XYZxyz(3.6986, 2.0748, 9.4363)
Luminance0.0208 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391458 #335814
analogous
#171458 #391458 #581455
triadic
#391458 #583914 #145839
tetradic
#391458 #581714 #335814 #145558
square
#391458 #581714 #335814 #145558
split-complementary
#391458 #555814 #145817
monochromatic
#100619 #190926 #391458 #591F8A #7A2BBC

Accessibility & contrast

On white

14.84
#391458 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#391458 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391458
14.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391458#FFFFFF#000000##FFFFFF
##3914581.0014.841.4214.84
#FFFFFF14.841.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00275A
Deuteranopia (green-blind)
#002857
Tritanopia (blue-blind)
#332434
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #391458;
/* rgb */ color: rgb(57, 20, 88);
/* oklch */ color: oklch(28.9% 0.116 304.9);
Tailwind
colors: {
  custom: {
    50: '#735588',
    500: '#391458',
    950: '#000000',
  },
}
SCSS
$custom: #391458;
$custom-light: #735588;
$custom-dark: #000000;
JSON
{
  "hex": "#391458",
  "rgb": {
    "r": 57,
    "g": 20,
    "b": 88
  },
  "hsl": {
    "h": 272.647,
    "s": 62.963,
    "l": 21.176
  },
  "oklch": {
    "l": 0.28904,
    "c": 0.11637,
    "h": 304.9
  },
  "luminance": 0.02075
}

Semantic roles & 50–950 ramp

primary
#391458
secondary
#609038
accent
#E6428D
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030B
muted
#7B787C

Preview Lab

Preview with #391458

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

Preview Lab → · Contrast checker → · Palette generator →

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