#391552#391552

#391552 is a dark, moderate violet. Relative luminance 0.020; OKLCH L 28.5% C 0.108 H 308.0°. Best body text is #FFFFFF at 14.97:1 contrast (WCAG AA passes).

Color values

HEX#391552
RGBrgb(57, 21, 82)
HSLhsl(275, 59%, 20%)
HSVhsv(275, 74%, 32%)
CMYKcmyk(30.5%, 74.4%, 0%, 67.8%)
CIE-LABlab(15.57, 29.93, -29.99)
CIE-LCHlch(15.57, 42.37, 314.95°)
OKLaboklab(28.53% 0.0664 -0.0849)
OKLCHoklch(28.53% 0.108 308)
XYZxyz(3.4782, 2.0154, 8.1868)
Luminance0.0202 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391552 #2E5215
analogous
#1B1552 #391552 #52154C
triadic
#391552 #523915 #155239
tetradic
#391552 #521B15 #2E5215 #154C52
square
#391552 #521B15 #2E5215 #154C52
split-complementary
#391552 #4C5215 #15521B
monochromatic
#110618 #170921 #391552 #5B2183 #7D2EB3

Accessibility & contrast

On white

14.97
#391552 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#391552 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391552
14.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391552#FFFFFF#000000##FFFFFF
##3915521.0014.971.4014.97
#FFFFFF14.971.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002654
Deuteranopia (green-blind)
#072751
Tritanopia (blue-blind)
#352231
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #391552;
/* rgb */ color: rgb(57, 21, 82);
/* oklch */ color: oklch(28.5% 0.108 308.0);
Tailwind
colors: {
  custom: {
    50: '#725583',
    500: '#391552',
    950: '#000000',
  },
}
SCSS
$custom: #391552;
$custom-light: #725583;
$custom-dark: #000000;
JSON
{
  "hex": "#391552",
  "rgb": {
    "r": 57,
    "g": 21,
    "b": 82
  },
  "hsl": {
    "h": 275.41,
    "s": 59.223,
    "l": 20.196
  },
  "oklch": {
    "l": 0.2853,
    "c": 0.10781,
    "h": 308
  },
  "luminance": 0.02015
}

Semantic roles & 50–950 ramp

primary
#391552
secondary
#5A8A39
accent
#E24586
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#08030A
muted
#7B787C

Preview Lab

Preview with #391552

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

Preview Lab → · Contrast checker → · Palette generator →

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