#391354#391354

#391354 is a dark, moderate violet. Relative luminance 0.020; OKLCH L 28.4% C 0.113 H 307.3°. Best body text is #FFFFFF at 15.05:1 contrast (WCAG AA passes).

Color values

HEX#391354
RGBrgb(57, 19, 84)
HSLhsl(275, 63%, 20%)
HSVhsv(275, 77%, 33%)
CMYKcmyk(32.1%, 77.4%, 0%, 67.1%)
CIE-LABlab(15.36, 31.50, -31.68)
CIE-LCHlch(15.36, 44.67, 314.83°)
OKLaboklab(28.43% 0.0685 -0.0899)
OKLCHoklch(28.43% 0.113 307.3)
XYZxyz(3.5201, 1.9757, 8.5817)
Luminance0.0198 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391354 #2E5413
analogous
#181354 #391354 #54134E
triadic
#391354 #543913 #135439
tetradic
#391354 #541813 #2E5413 #134E54
square
#391354 #541813 #2E5413 #134E54
split-complementary
#391354 #4E5413 #135418
monochromatic
#110619 #170822 #391354 #5B1E86 #7D2AB8

Accessibility & contrast

On white

15.05
#391354 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #391354
15.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391354#FFFFFF#000000##FFFFFF
##3913541.0015.051.4015.05
#FFFFFF15.051.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002556
Deuteranopia (green-blind)
#012753
Tritanopia (blue-blind)
#352232
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #391354;
/* rgb */ color: rgb(57, 19, 84);
/* oklch */ color: oklch(28.4% 0.113 307.3);
Tailwind
colors: {
  custom: {
    50: '#735485',
    500: '#391354',
    950: '#000000',
  },
}
SCSS
$custom: #391354;
$custom-light: #735485;
$custom-dark: #000000;
JSON
{
  "hex": "#391354",
  "rgb": {
    "r": 57,
    "g": 19,
    "b": 84
  },
  "hsl": {
    "h": 275.077,
    "s": 63.107,
    "l": 20.196
  },
  "oklch": {
    "l": 0.28432,
    "c": 0.11305,
    "h": 307.3
  },
  "luminance": 0.01976
}

Semantic roles & 50–950 ramp

primary
#391354
secondary
#5A8C36
accent
#E64286
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#08030B
muted
#7B787C

Preview Lab

Preview with #391354

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

Preview Lab → · Contrast checker → · Palette generator →

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