#5B43CB#5B43CB

#5B43CB is a mid, vivid violet. Relative luminance 0.105; OKLCH L 49.2% C 0.200 H 284.4°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#5B43CB
RGBrgb(91, 67, 203)
HSLhsl(251, 57%, 53%)
HSVhsv(251, 67%, 80%)
CMYKcmyk(55.2%, 67%, 0%, 20.4%)
CIE-LABlab(38.81, 46.00, -67.27)
CIE-LCHlch(38.81, 81.50, 304.36°)
OKLaboklab(49.22% 0.0497 -0.1934)
OKLCHoklch(49.22% 0.2 284.4)
XYZxyz(17.0978, 10.5493, 57.6236)
Luminance0.1055 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B43CB #B3CB43
analogous
#436FCB #5B43CB #9F43CB
triadic
#5B43CB #CB5B43 #43CB5B
tetradic
#5B43CB #CB436F #B3CB43 #43CB9F
square
#5B43CB #CB436F #B3CB43 #43CB9F
split-complementary
#5B43CB #CB9F43 #6FCB43
monochromatic
#2F2074 #422DA4 #5B43CB #8573D8 #AFA3E6

Accessibility & contrast

On white

6.75
#5B43CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#5B43CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B43CB
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B43CB#FFFFFF#000000##FFFFFF
##5B43CB1.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCF
Deuteranopia (green-blind)
#0057C8
Tritanopia (blue-blind)
#276681
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5b43cb;
/* rgb */ color: rgb(91, 67, 203);
/* oklch */ color: oklch(49.2% 0.200 284.4);
Tailwind
colors: {
  custom: {
    50: '#9479dc',
    500: '#5b43cb',
    950: '#000000',
  },
}
SCSS
$custom: #5b43cb;
$custom-light: #9479dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5b43cb",
  "rgb": {
    "r": 91,
    "g": 67,
    "b": 203
  },
  "hsl": {
    "h": 250.588,
    "s": 56.667,
    "l": 52.941
  },
  "oklch": {
    "l": 0.49224,
    "c": 0.19969,
    "h": 284.4
  },
  "luminance": 0.1055
}

Semantic roles & 50–950 ramp

primary
#5B43CB
secondary
#C8D298
accent
#E048C5
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5B43CB

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

Preview Lab → · Contrast checker → · Palette generator →

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