#391558#391558

#391558 is a dark, moderate violet. Relative luminance 0.021; OKLCH L 29.0% C 0.115 H 304.7°. Best body text is #FFFFFF at 14.77:1 contrast (WCAG AA passes).

Color values

HEX#391558
RGBrgb(57, 21, 88)
HSLhsl(272, 61%, 21%)
HSVhsv(272, 76%, 35%)
CMYKcmyk(35.2%, 76.1%, 0%, 65.5%)
CIE-LABlab(16.06, 31.53, -33.25)
CIE-LCHlch(16.06, 45.82, 313.47°)
OKLaboklab(29.04% 0.0655 -0.0945)
OKLCHoklch(29.04% 0.115 304.7)
XYZxyz(3.7166, 2.1108, 9.4423)
Luminance0.0211 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391558 #345815
analogous
#181558 #391558 #581556
triadic
#391558 #583915 #155839
tetradic
#391558 #581815 #345815 #155658
square
#391558 #581815 #345815 #155658
split-complementary
#391558 #565815 #155818
monochromatic
#100619 #190927 #391558 #592189 #792DBB

Accessibility & contrast

On white

14.77
#391558 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #391558
14.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391558#FFFFFF#000000##FFFFFF
##3915581.0014.771.4214.77
#FFFFFF14.771.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #391558;
/* rgb */ color: rgb(57, 21, 88);
/* oklch */ color: oklch(29.0% 0.115 304.7);
Tailwind
colors: {
  custom: {
    50: '#735688',
    500: '#391558',
    950: '#000000',
  },
}
SCSS
$custom: #391558;
$custom-light: #735688;
$custom-dark: #000000;
JSON
{
  "hex": "#391558",
  "rgb": {
    "r": 57,
    "g": 21,
    "b": 88
  },
  "hsl": {
    "h": 272.239,
    "s": 61.468,
    "l": 21.373
  },
  "oklch": {
    "l": 0.29035,
    "c": 0.115,
    "h": 304.7
  },
  "luminance": 0.02111
}

Semantic roles & 50–950 ramp

primary
#391558
secondary
#619039
accent
#E5438E
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030B
muted
#7B787C

Preview Lab

Preview with #391558

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

Preview Lab → · Contrast checker → · Palette generator →

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