#54368F#54368F

#54368F is a dark, vivid violet. Relative luminance 0.065; OKLCH L 41.7% C 0.141 H 295.1°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#54368F
RGBrgb(84, 54, 143)
HSLhsl(260, 45%, 39%)
HSVhsv(260, 62%, 56%)
CMYKcmyk(41.3%, 62.2%, 0%, 43.9%)
CIE-LABlab(30.66, 34.41, -44.77)
CIE-LCHlch(30.66, 56.46, 307.55°)
OKLaboklab(41.69% 0.0598 -0.1275)
OKLCHoklch(41.69% 0.141 295.1)
XYZxyz(9.9319, 6.5061, 26.7138)
Luminance0.0651 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54368F #718F36
analogous
#36448F #54368F #80368F
triadic
#54368F #8F5436 #368F54
tetradic
#54368F #8F3644 #718F36 #368F80
square
#54368F #8F3644 #718F36 #368F80
split-complementary
#54368F #8F8036 #448F36
monochromatic
#201436 #3A2563 #54368F #6F48BA #9275CB

Accessibility & contrast

On white

9.13
#54368F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#54368F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #54368F
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54368F#FFFFFF#000000##FFFFFF
##54368F1.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004992
Deuteranopia (green-blind)
#06478D
Tritanopia (blue-blind)
#454A5D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #54368f;
/* rgb */ color: rgb(84, 54, 143);
/* oklch */ color: oklch(41.7% 0.141 295.1);
Tailwind
colors: {
  custom: {
    50: '#896eb0',
    500: '#54368f',
    950: '#000000',
  },
}
SCSS
$custom: #54368f;
$custom-light: #896eb0;
$custom-dark: #000000;
JSON
{
  "hex": "#54368f",
  "rgb": {
    "r": 84,
    "g": 54,
    "b": 143
  },
  "hsl": {
    "h": 260.225,
    "s": 45.178,
    "l": 38.627
  },
  "oklch": {
    "l": 0.41686,
    "c": 0.14081,
    "h": 295.1
  },
  "luminance": 0.06506
}

Semantic roles & 50–950 ramp

primary
#54368F
secondary
#9CB36D
accent
#D553A9
background
#F8F6FA
surface
#F0ECF5
border
#CBC7CF
text
#0C0711
muted
#7D7A80

Preview Lab

Preview with #54368F

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

Preview Lab → · Contrast checker → · Palette generator →

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