#391358#391358

#391358 is a dark, moderate violet. Relative luminance 0.020; OKLCH L 28.8% C 0.118 H 305.2°. Best body text is #FFFFFF at 14.91:1 contrast (WCAG AA passes).

Color values

HEX#391358
RGBrgb(57, 19, 88)
HSLhsl(273, 64%, 21%)
HSVhsv(273, 78%, 35%)
CMYKcmyk(35.2%, 78.4%, 0%, 65.5%)
CIE-LABlab(15.70, 32.55, -33.84)
CIE-LCHlch(15.70, 46.95, 313.88°)
OKLaboklab(28.78% 0.0678 -0.0962)
OKLCHoklch(28.78% 0.118 305.2)
XYZxyz(3.6813, 2.0402, 9.4305)
Luminance0.0204 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391358 #325813
analogous
#161358 #391358 #581354
triadic
#391358 #583913 #135839
tetradic
#391358 #581613 #325813 #135458
square
#391358 #581613 #325813 #135458
split-complementary
#391358 #545813 #135816
monochromatic
#100519 #180826 #391358 #5A1E8A #7A29BD

Accessibility & contrast

On white

14.91
#391358 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#391358 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391358
14.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391358#FFFFFF#000000##FFFFFF
##3913581.0014.911.4114.91
#FFFFFF14.911.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #391358;
/* rgb */ color: rgb(57, 19, 88);
/* oklch */ color: oklch(28.8% 0.118 305.2);
Tailwind
colors: {
  custom: {
    50: '#735588',
    500: '#391358',
    950: '#000000',
  },
}
SCSS
$custom: #391358;
$custom-light: #735588;
$custom-dark: #000000;
JSON
{
  "hex": "#391358",
  "rgb": {
    "r": 57,
    "g": 19,
    "b": 88
  },
  "hsl": {
    "h": 273.043,
    "s": 64.486,
    "l": 20.98
  },
  "oklch": {
    "l": 0.28778,
    "c": 0.11771,
    "h": 305.2
  },
  "luminance": 0.0204
}

Semantic roles & 50–950 ramp

primary
#391358
secondary
#5F9037
accent
#E7408B
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030B
muted
#7B787C

Preview Lab

Preview with #391358

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

Preview Lab → · Contrast checker → · Palette generator →

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