#391154#391154

#391154 is a dark, moderate violet. Relative luminance 0.019; OKLCH L 28.2% C 0.116 H 307.7°. Best body text is #FFFFFF at 15.19:1 contrast (WCAG AA passes).

Color values

HEX#391154
RGBrgb(57, 17, 84)
HSLhsl(276, 66%, 20%)
HSVhsv(276, 80%, 33%)
CMYKcmyk(32.1%, 79.8%, 0%, 67.1%)
CIE-LABlab(15.01, 32.48, -32.24)
CIE-LCHlch(15.01, 45.76, 315.21°)
OKLaboklab(28.19% 0.0708 -0.0915)
OKLCHoklch(28.19% 0.116 307.7)
XYZxyz(3.4877, 1.9109, 8.5709)
Luminance0.0191 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391154 #2C5411
analogous
#181154 #391154 #54114E
triadic
#391154 #543911 #115439
tetradic
#391154 #541811 #2C5411 #114E54
square
#391154 #541811 #2C5411 #114E54
split-complementary
#391154 #4E5411 #115418
monochromatic
#110519 #160721 #391154 #5C1B87 #7E26BA

Accessibility & contrast

On white

15.19
#391154 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#391154 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391154
15.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391154#FFFFFF#000000##FFFFFF
##3911541.0015.191.3815.19
#FFFFFF15.191.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002456
Deuteranopia (green-blind)
#002653
Tritanopia (blue-blind)
#352131
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #391154;
/* rgb */ color: rgb(57, 17, 84);
/* oklch */ color: oklch(28.2% 0.116 307.7);
Tailwind
colors: {
  custom: {
    50: '#735385',
    500: '#391154',
    950: '#000000',
  },
}
SCSS
$custom: #391154;
$custom-light: #735385;
$custom-dark: #000000;
JSON
{
  "hex": "#391154",
  "rgb": {
    "r": 57,
    "g": 17,
    "b": 84
  },
  "hsl": {
    "h": 275.821,
    "s": 66.337,
    "l": 19.804
  },
  "oklch": {
    "l": 0.28186,
    "c": 0.11572,
    "h": 307.7
  },
  "luminance": 0.01911
}

Semantic roles & 50–950 ramp

primary
#391154
secondary
#588D34
accent
#E93F83
background
#F7F4F8
surface
#EDE8EF
border
#C8C4CA
text
#08030B
muted
#7B787C

Preview Lab

Preview with #391154

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

Preview Lab → · Contrast checker → · Palette generator →

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