#391454#391454

#391454 is a dark, moderate violet. Relative luminance 0.020; OKLCH L 28.6% C 0.112 H 307.1°. Best body text is #FFFFFF at 14.98:1 contrast (WCAG AA passes).

Color values

HEX#391454
RGBrgb(57, 20, 84)
HSLhsl(275, 62%, 20%)
HSVhsv(275, 76%, 33%)
CMYKcmyk(32.1%, 76.2%, 0%, 67.1%)
CIE-LABlab(15.54, 30.98, -31.39)
CIE-LCHlch(15.54, 44.10, 314.63°)
OKLaboklab(28.56% 0.0673 -0.089)
OKLCHoklch(28.56% 0.112 307.1)
XYZxyz(3.5374, 2.0103, 8.5875)
Luminance0.0201 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391454 #2F5414
analogous
#191454 #391454 #54144F
triadic
#391454 #543914 #145439
tetradic
#391454 #541914 #2F5414 #144F54
square
#391454 #541914 #2F5414 #144F54
split-complementary
#391454 #4F5414 #145419
monochromatic
#110619 #170823 #391454 #5B2085 #7C2CB7

Accessibility & contrast

On white

14.98
#391454 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #391454
14.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391454#FFFFFF#000000##FFFFFF
##3914541.0014.981.4014.98
#FFFFFF14.981.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002656
Deuteranopia (green-blind)
#032753
Tritanopia (blue-blind)
#352232
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #391454;
/* rgb */ color: rgb(57, 20, 84);
/* oklch */ color: oklch(28.6% 0.112 307.1);
Tailwind
colors: {
  custom: {
    50: '#725585',
    500: '#391454',
    950: '#000000',
  },
}
SCSS
$custom: #391454;
$custom-light: #725585;
$custom-dark: #000000;
JSON
{
  "hex": "#391454",
  "rgb": {
    "r": 57,
    "g": 20,
    "b": 84
  },
  "hsl": {
    "h": 274.688,
    "s": 61.538,
    "l": 20.392
  },
  "oklch": {
    "l": 0.28562,
    "c": 0.11164,
    "h": 307.1
  },
  "luminance": 0.0201
}

Semantic roles & 50–950 ramp

primary
#391454
secondary
#5B8C38
accent
#E54387
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#08030B
muted
#7B787C

Preview Lab

Preview with #391454

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

Preview Lab → · Contrast checker → · Palette generator →

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