#391955#391955

#391955 is a dark, moderate violet. Relative luminance 0.022; OKLCH L 29.4% C 0.105 H 305.3°. Best body text is #FFFFFF at 14.54:1 contrast (WCAG AA passes).

Color values

HEX#391955
RGBrgb(57, 25, 85)
HSLhsl(272, 55%, 22%)
HSVhsv(272, 71%, 33%)
CMYKcmyk(32.9%, 70.6%, 0%, 66.7%)
CIE-LABlab(16.61, 28.52, -30.34)
CIE-LCHlch(16.61, 41.64, 313.22°)
OKLaboklab(29.35% 0.0609 -0.086)
OKLCHoklch(29.35% 0.105 305.3)
XYZxyz(3.6743, 2.2210, 8.8277)
Luminance0.0222 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391955 #355519
analogous
#1B1955 #391955 #551953
triadic
#391955 #553919 #195539
tetradic
#391955 #551B19 #355519 #195355
square
#391955 #551B19 #355519 #195355
split-complementary
#391955 #535519 #19551B
monochromatic
#100718 #190B26 #391955 #592784 #7835B4

Accessibility & contrast

On white

14.54
#391955 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#391955 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391955
14.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391955#FFFFFF#000000##FFFFFF
##3919551.0014.541.4414.54
#FFFFFF14.541.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002857
Deuteranopia (green-blind)
#092954
Tritanopia (blue-blind)
#342634
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #391955;
/* rgb */ color: rgb(57, 25, 85);
/* oklch */ color: oklch(29.4% 0.105 305.3);
Tailwind
colors: {
  custom: {
    50: '#725885',
    500: '#391955',
    950: '#000000',
  },
}
SCSS
$custom: #391955;
$custom-light: #725885;
$custom-dark: #000000;
JSON
{
  "hex": "#391955",
  "rgb": {
    "r": 57,
    "g": 25,
    "b": 85
  },
  "hsl": {
    "h": 272,
    "s": 54.545,
    "l": 21.569
  },
  "oklch": {
    "l": 0.29351,
    "c": 0.10537,
    "h": 305.3
  },
  "luminance": 0.02221
}

Semantic roles & 50–950 ramp

primary
#391955
secondary
#628B3E
accent
#DE4A8F
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#08030B
muted
#7B787C

Preview Lab

Preview with #391955

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

Preview Lab → · Contrast checker → · Palette generator →

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