#5734AE#5734AE

#5734AE is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.2% C 0.182 H 290.0°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#5734AE
RGBrgb(87, 52, 174)
HSLhsl(257, 54%, 44%)
HSVhsv(257, 70%, 68%)
CMYKcmyk(50%, 70.1%, 0%, 31.8%)
CIE-LABlab(33.00, 45.05, -59.72)
CIE-LCHlch(33.00, 74.81, 307.03°)
OKLaboklab(44.22% 0.0625 -0.1713)
OKLCHoklch(44.22% 0.182 290)
XYZxyz(12.7963, 7.5377, 40.8169)
Luminance0.0754 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5734AE #8BAE34
analogous
#344EAE #5734AE #9434AE
triadic
#5734AE #AE5734 #34AE57
tetradic
#5734AE #AE344E #8BAE34 #34AE94
square
#5734AE #AE344E #8BAE34 #34AE94
split-complementary
#5734AE #AE9434 #4EAE34
monochromatic
#281850 #3F267F #5734AE #7653CC #9C83DA

Accessibility & contrast

On white

8.37
#5734AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#5734AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5734AE
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5734AE#FFFFFF#000000##FFFFFF
##5734AE1.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B2
Deuteranopia (green-blind)
#004BAC
Tritanopia (blue-blind)
#39536D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #5734ae;
/* rgb */ color: rgb(87, 52, 174);
/* oklch */ color: oklch(44.2% 0.182 290.0);
Tailwind
colors: {
  custom: {
    50: '#8f6ec7',
    500: '#5734ae',
    950: '#000000',
  },
}
SCSS
$custom: #5734ae;
$custom-light: #8f6ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#5734ae",
  "rgb": {
    "r": 87,
    "g": 52,
    "b": 174
  },
  "hsl": {
    "h": 257.213,
    "s": 53.982,
    "l": 44.314
  },
  "oklch": {
    "l": 0.44217,
    "c": 0.18238,
    "h": 290
  },
  "luminance": 0.07538
}

Semantic roles & 50–950 ramp

primary
#5734AE
secondary
#AEC37B
accent
#DD4AB3
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #5734AE

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

Preview Lab → · Contrast checker → · Palette generator →

#5734AE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva