#5B43AF#5B43AF

#5B43AF is a mid, vivid violet. Relative luminance 0.093; OKLCH L 46.9% C 0.164 H 288.7°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#5B43AF
RGBrgb(91, 67, 175)
HSLhsl(253, 45%, 47%)
HSVhsv(253, 62%, 69%)
CMYKcmyk(48%, 61.7%, 0%, 31.4%)
CIE-LABlab(36.62, 37.62, -54.42)
CIE-LCHlch(36.62, 66.15, 304.66°)
OKLaboklab(46.95% 0.0526 -0.1556)
OKLCHoklch(46.95% 0.164 288.7)
XYZxyz(14.0572, 9.3330, 41.6099)
Luminance0.0933 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B43AF #97AF43
analogous
#4361AF #5B43AF #9143AF
triadic
#5B43AF #AF5B43 #43AF5B
tetradic
#5B43AF #AF4361 #97AF43 #43AF91
square
#5B43AF #AF4361 #97AF43 #43AF91
split-complementary
#5B43AF #AF9143 #61AF43
monochromatic
#2D2156 #443283 #5B43AF #7E69C6 #A496D7

Accessibility & contrast

On white

7.33
#5B43AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#5B43AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B43AF
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B43AF#FFFFFF#000000##FFFFFF
##5B43AF1.007.332.877.33
#FFFFFF7.331.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B2
Deuteranopia (green-blind)
#0053AD
Tritanopia (blue-blind)
#3F5C72
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5b43af;
/* rgb */ color: rgb(91, 67, 175);
/* oklch */ color: oklch(46.9% 0.164 288.7);
Tailwind
colors: {
  custom: {
    50: '#9078c8',
    500: '#5b43af',
    950: '#000000',
  },
}
SCSS
$custom: #5b43af;
$custom-light: #9078c8;
$custom-dark: #000000;
JSON
{
  "hex": "#5b43af",
  "rgb": {
    "r": 91,
    "g": 67,
    "b": 175
  },
  "hsl": {
    "h": 253.333,
    "s": 44.628,
    "l": 47.451
  },
  "oklch": {
    "l": 0.46949,
    "c": 0.16427,
    "h": 288.7
  },
  "luminance": 0.09334
}

Semantic roles & 50–950 ramp

primary
#5B43AF
secondary
#B6C28B
accent
#D453B8
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0D0913
muted
#7E7B82

Preview Lab

Preview with #5B43AF

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

Preview Lab → · Contrast checker → · Palette generator →

#5B43AF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva