#54388E#54388E

#54388E is a dark, vivid violet. Relative luminance 0.067; OKLCH L 41.9% C 0.137 H 294.8°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#54388E
RGBrgb(84, 56, 142)
HSLhsl(260, 43%, 39%)
HSVhsv(260, 61%, 56%)
CMYKcmyk(40.8%, 60.6%, 0%, 44.3%)
CIE-LABlab(31.03, 32.93, -43.54)
CIE-LCHlch(31.03, 54.59, 307.10°)
OKLaboklab(41.94% 0.0573 -0.1239)
OKLCHoklch(41.94% 0.137 294.8)
XYZxyz(9.9515, 6.6659, 26.3483)
Luminance0.0667 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54388E #728E38
analogous
#38478E #54388E #7F388E
triadic
#54388E #8E5438 #388E54
tetradic
#54388E #8E3847 #728E38 #388E7F
square
#54388E #8E3847 #728E38 #388E7F
split-complementary
#54388E #8E7F38 #478E38
monochromatic
#201536 #3A2762 #54388E #6F4BB8 #9277C9

Accessibility & contrast

On white

9.00
#54388E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#54388E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #54388E
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54388E#FFFFFF#000000##FFFFFF
##54388E1.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A91
Deuteranopia (green-blind)
#0F488C
Tritanopia (blue-blind)
#454B5D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #54388e;
/* rgb */ color: rgb(84, 56, 142);
/* oklch */ color: oklch(41.9% 0.137 294.8);
Tailwind
colors: {
  custom: {
    50: '#8870b0',
    500: '#54388e',
    950: '#000000',
  },
}
SCSS
$custom: #54388e;
$custom-light: #8870b0;
$custom-dark: #000000;
JSON
{
  "hex": "#54388e",
  "rgb": {
    "r": 84,
    "g": 56,
    "b": 142
  },
  "hsl": {
    "h": 259.535,
    "s": 43.434,
    "l": 38.824
  },
  "oklch": {
    "l": 0.4194,
    "c": 0.1365,
    "h": 294.8
  },
  "luminance": 0.06666
}

Semantic roles & 50–950 ramp

primary
#54388E
secondary
#9DB26F
accent
#D355AA
background
#F8F6FA
surface
#F0ECF5
border
#CBC7CF
text
#0C0710
muted
#7D7A7F

Preview Lab

Preview with #54388E

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

Preview Lab → · Contrast checker → · Palette generator →

#54388E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva