#54358F#54358F

#54358F is a dark, vivid violet. Relative luminance 0.064; OKLCH L 41.5% C 0.142 H 295.4°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#54358F
RGBrgb(84, 53, 143)
HSLhsl(261, 46%, 38%)
HSVhsv(261, 63%, 56%)
CMYKcmyk(41.3%, 62.9%, 0%, 43.9%)
CIE-LABlab(30.43, 35.00, -45.12)
CIE-LCHlch(30.43, 57.10, 307.80°)
OKLaboklab(41.53% 0.061 -0.1285)
OKLCHoklch(41.53% 0.142 295.4)
XYZxyz(9.8859, 6.4140, 26.6984)
Luminance0.0641 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54358F #708F35
analogous
#35438F #54358F #81358F
triadic
#54358F #8F5435 #358F54
tetradic
#54358F #8F3543 #708F35 #358F81
square
#54358F #8F3543 #708F35 #358F81
split-complementary
#54358F #8F8135 #438F35
monochromatic
#201436 #3A2462 #54358F #6F47BB #9273CB

Accessibility & contrast

On white

9.20
#54358F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#54358F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #54358F
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54358F#FFFFFF#000000##FFFFFF
##54358F1.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004892
Deuteranopia (green-blind)
#02468D
Tritanopia (blue-blind)
#45495D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #54358f;
/* rgb */ color: rgb(84, 53, 143);
/* oklch */ color: oklch(41.5% 0.142 295.4);
Tailwind
colors: {
  custom: {
    50: '#896eb0',
    500: '#54358f',
    950: '#000000',
  },
}
SCSS
$custom: #54358f;
$custom-light: #896eb0;
$custom-dark: #000000;
JSON
{
  "hex": "#54358f",
  "rgb": {
    "r": 84,
    "g": 53,
    "b": 143
  },
  "hsl": {
    "h": 260.667,
    "s": 45.918,
    "l": 38.431
  },
  "oklch": {
    "l": 0.41525,
    "c": 0.14228,
    "h": 295.4
  },
  "luminance": 0.06414
}

Semantic roles & 50–950 ramp

primary
#54358F
secondary
#9BB46C
accent
#D652A8
background
#F8F6FA
surface
#F0ECF5
border
#CBC7CF
text
#0C0711
muted
#7D7A80

Preview Lab

Preview with #54358F

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

Preview Lab → · Contrast checker → · Palette generator →

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