#5425AF#5425AF

#5425AF is a dark, vivid violet. Relative luminance 0.063; OKLCH L 42.2% C 0.200 H 290.6°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#5425AF
RGBrgb(84, 37, 175)
HSLhsl(260, 65%, 42%)
HSVhsv(260, 79%, 69%)
CMYKcmyk(52%, 78.9%, 0%, 31.4%)
CIE-LABlab(30.16, 52.22, -64.98)
CIE-LCHlch(30.16, 83.37, 308.79°)
OKLaboklab(42.17% 0.0702 -0.1868)
OKLCHoklch(42.17% 0.2 290.6)
XYZxyz(12.0534, 6.3026, 41.1305)
Luminance0.0630 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5425AF #80AF25
analogous
#253BAF #5425AF #9925AF
triadic
#5425AF #AF5425 #25AF54
tetradic
#5425AF #AF253B #80AF25 #25AF99
square
#5425AF #AF253B #80AF25 #25AF99
split-complementary
#5425AF #AF9925 #3BAF25
monochromatic
#24104A #3C1A7C #5425AF #703CD6 #956EE0

Accessibility & contrast

On white

9.29
#5425AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#5425AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5425AF
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5425AF#FFFFFF#000000##FFFFFF
##5425AF1.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B3
Deuteranopia (green-blind)
#0044AC
Tritanopia (blue-blind)
#334D6A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #5425af;
/* rgb */ color: rgb(84, 37, 175);
/* oklch */ color: oklch(42.2% 0.200 290.6);
Tailwind
colors: {
  custom: {
    50: '#8e66c8',
    500: '#5425af',
    950: '#000000',
  },
}
SCSS
$custom: #5425af;
$custom-light: #8e66c8;
$custom-dark: #000000;
JSON
{
  "hex": "#5425af",
  "rgb": {
    "r": 84,
    "g": 37,
    "b": 175
  },
  "hsl": {
    "h": 260.435,
    "s": 65.094,
    "l": 41.569
  },
  "oklch": {
    "l": 0.42169,
    "c": 0.19954,
    "h": 290.6
  },
  "luminance": 0.06303
}

Semantic roles & 50–950 ramp

primary
#5425AF
secondary
#A7C769
accent
#E840AF
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #5425AF

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

Preview Lab → · Contrast checker → · Palette generator →

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