#5427AF#5427AF

#5427AF is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.4% C 0.198 H 290.4°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#5427AF
RGBrgb(84, 39, 175)
HSLhsl(260, 64%, 42%)
HSVhsv(260, 78%, 69%)
CMYKcmyk(52%, 77.7%, 0%, 31.4%)
CIE-LABlab(30.47, 51.33, -64.47)
CIE-LCHlch(30.47, 82.41, 308.52°)
OKLaboklab(42.39% 0.0688 -0.1853)
OKLCHoklch(42.39% 0.198 290.4)
XYZxyz(12.1173, 6.4305, 41.1519)
Luminance0.0643 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5427AF #82AF27
analogous
#273EAF #5427AF #9827AF
triadic
#5427AF #AF5427 #27AF54
tetradic
#5427AF #AF273E #82AF27 #27AF98
square
#5427AF #AF273E #82AF27 #27AF98
split-complementary
#5427AF #AF9827 #3EAF27
monochromatic
#24114B #3C1C7D #5427AF #703FD4 #9671DF

Accessibility & contrast

On white

9.19
#5427AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#5427AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5427AF
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5427AF#FFFFFF#000000##FFFFFF
##5427AF1.009.192.299.19
#FFFFFF9.191.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB3
Deuteranopia (green-blind)
#0045AC
Tritanopia (blue-blind)
#334E6A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #5427af;
/* rgb */ color: rgb(84, 39, 175);
/* oklch */ color: oklch(42.4% 0.198 290.4);
Tailwind
colors: {
  custom: {
    50: '#8e67c8',
    500: '#5427af',
    950: '#000000',
  },
}
SCSS
$custom: #5427af;
$custom-light: #8e67c8;
$custom-dark: #000000;
JSON
{
  "hex": "#5427af",
  "rgb": {
    "r": 84,
    "g": 39,
    "b": 175
  },
  "hsl": {
    "h": 259.853,
    "s": 63.551,
    "l": 41.961
  },
  "oklch": {
    "l": 0.42385,
    "c": 0.19764,
    "h": 290.4
  },
  "luminance": 0.06431
}

Semantic roles & 50–950 ramp

primary
#5427AF
secondary
#A8C66B
accent
#E741B0
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #5427AF

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

Preview Lab → · Contrast checker → · Palette generator →

#5427AF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva