#391058#391058

#391058 is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.4% C 0.121 H 305.7°. Best body text is #FFFFFF at 15.12:1 contrast (WCAG AA passes).

Color values

HEX#391058
RGBrgb(57, 16, 88)
HSLhsl(274, 69%, 20%)
HSVhsv(274, 82%, 35%)
CMYKcmyk(35.2%, 81.8%, 0%, 65.5%)
CIE-LABlab(15.20, 33.97, -34.65)
CIE-LCHlch(15.20, 48.53, 314.43°)
OKLaboklab(28.43% 0.071 -0.0986)
OKLCHoklch(28.43% 0.121 305.7)
XYZxyz(3.6337, 1.9450, 9.4146)
Luminance0.0194 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391058 #2F5810
analogous
#151058 #391058 #581053
triadic
#391058 #583910 #105839
tetradic
#391058 #581510 #2F5810 #105358
square
#391058 #581510 #2F5810 #105358
split-complementary
#391058 #535810 #105815
monochromatic
#11051A #170724 #391058 #5B198C #7C23C0

Accessibility & contrast

On white

15.12
#391058 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#391058 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391058
15.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391058#FFFFFF#000000##FFFFFF
##3910581.0015.121.3915.12
#FFFFFF15.121.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00255A
Deuteranopia (green-blind)
#002657
Tritanopia (blue-blind)
#332233
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #391058;
/* rgb */ color: rgb(57, 16, 88);
/* oklch */ color: oklch(28.4% 0.121 305.7);
Tailwind
colors: {
  custom: {
    50: '#735388',
    500: '#391058',
    950: '#000000',
  },
}
SCSS
$custom: #391058;
$custom-light: #735388;
$custom-dark: #000000;
JSON
{
  "hex": "#391058",
  "rgb": {
    "r": 57,
    "g": 16,
    "b": 88
  },
  "hsl": {
    "h": 274.167,
    "s": 69.231,
    "l": 20.392
  },
  "oklch": {
    "l": 0.28425,
    "c": 0.12149,
    "h": 305.7
  },
  "luminance": 0.01945
}

Semantic roles & 50–950 ramp

primary
#391058
secondary
#5B9132
accent
#EC3C88
background
#F7F4F8
surface
#EDE7F0
border
#C8C3CB
text
#08030B
muted
#7B787C

Preview Lab

Preview with #391058

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

Preview Lab → · Contrast checker → · Palette generator →

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