#54348D#54348D

#54348D is a dark, vivid violet. Relative luminance 0.063; OKLCH L 41.2% C 0.141 H 296.2°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#54348D
RGBrgb(84, 52, 141)
HSLhsl(262, 46%, 38%)
HSVhsv(262, 63%, 55%)
CMYKcmyk(40.4%, 63.1%, 0%, 44.7%)
CIE-LABlab(30.07, 35.01, -44.48)
CIE-LCHlch(30.07, 56.61, 308.21°)
OKLaboklab(41.21% 0.0623 -0.1267)
OKLCHoklch(41.21% 0.141 296.2)
XYZxyz(9.6906, 6.2637, 25.8926)
Luminance0.0626 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54348D #6D8D34
analogous
#34408D #54348D #80348D
triadic
#54348D #8D5434 #348D54
tetradic
#54348D #8D3440 #6D8D34 #348D80
square
#54348D #8D3440 #6D8D34 #348D80
split-complementary
#54348D #8D8034 #408D34
monochromatic
#1F1334 #392460 #54348D #6F44BA #9171CB

Accessibility & contrast

On white

9.32
#54348D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#54348D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #54348D
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54348D#FFFFFF#000000##FFFFFF
##54348D1.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004790
Deuteranopia (green-blind)
#05468B
Tritanopia (blue-blind)
#46485B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #54348d;
/* rgb */ color: rgb(84, 52, 141);
/* oklch */ color: oklch(41.2% 0.141 296.2);
Tailwind
colors: {
  custom: {
    50: '#886daf',
    500: '#54348d',
    950: '#000000',
  },
}
SCSS
$custom: #54348d;
$custom-light: #886daf;
$custom-dark: #000000;
JSON
{
  "hex": "#54348d",
  "rgb": {
    "r": 84,
    "g": 52,
    "b": 141
  },
  "hsl": {
    "h": 261.573,
    "s": 46.114,
    "l": 37.843
  },
  "oklch": {
    "l": 0.41212,
    "c": 0.14116,
    "h": 296.2
  },
  "luminance": 0.06264
}

Semantic roles & 50–950 ramp

primary
#54348D
secondary
#99B36A
accent
#D652A6
background
#F8F6FA
surface
#F0ECF4
border
#CBC7CE
text
#0C0710
muted
#7D7A7F

Preview Lab

Preview with #54348D

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

Preview Lab → · Contrast checker → · Palette generator →

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