#54358D#54358D

#54358D is a dark, vivid violet. Relative luminance 0.064; OKLCH L 41.4% C 0.140 H 295.9°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#54358D
RGBrgb(84, 53, 141)
HSLhsl(261, 45%, 38%)
HSVhsv(261, 62%, 55%)
CMYKcmyk(40.4%, 62.4%, 0%, 44.7%)
CIE-LABlab(30.29, 34.43, -44.13)
CIE-LCHlch(30.29, 55.97, 307.96°)
OKLaboklab(41.37% 0.0611 -0.1256)
OKLCHoklch(41.37% 0.14 295.9)
XYZxyz(9.7357, 6.3539, 25.9076)
Luminance0.0635 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54358D #6E8D35
analogous
#35428D #54358D #80358D
triadic
#54358D #8D5435 #358D54
tetradic
#54358D #8D3542 #6E8D35 #358D80
square
#54358D #8D3542 #6E8D35 #358D80
split-complementary
#54358D #8D8035 #428D35
monochromatic
#1F1434 #3A2461 #54358D #6F46B9 #9172CA

Accessibility & contrast

On white

9.25
#54358D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#54358D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #54358D
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54358D#FFFFFF#000000##FFFFFF
##54358D1.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004890
Deuteranopia (green-blind)
#08468B
Tritanopia (blue-blind)
#46485C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #54358d;
/* rgb */ color: rgb(84, 53, 141);
/* oklch */ color: oklch(41.4% 0.140 295.9);
Tailwind
colors: {
  custom: {
    50: '#886eaf',
    500: '#54358d',
    950: '#000000',
  },
}
SCSS
$custom: #54358d;
$custom-light: #886eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#54358d",
  "rgb": {
    "r": 84,
    "g": 53,
    "b": 141
  },
  "hsl": {
    "h": 261.136,
    "s": 45.361,
    "l": 38.039
  },
  "oklch": {
    "l": 0.41372,
    "c": 0.13968,
    "h": 295.9
  },
  "luminance": 0.06354
}

Semantic roles & 50–950 ramp

primary
#54358D
secondary
#99B26B
accent
#D553A7
background
#F8F6FA
surface
#F0ECF4
border
#CBC7CE
text
#0C0710
muted
#7D7A7F

Preview Lab

Preview with #54358D

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

Preview Lab → · Contrast checker → · Palette generator →

#54358D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva