#5B43CD#5B43CD

#5B43CD is a mid, highly saturated violet. Relative luminance 0.106; OKLCH L 49.4% C 0.202 H 284.1°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#5B43CD
RGBrgb(91, 67, 205)
HSLhsl(250, 58%, 53%)
HSVhsv(250, 67%, 80%)
CMYKcmyk(55.6%, 67.3%, 0%, 19.6%)
CIE-LABlab(38.98, 46.60, -68.16)
CIE-LCHlch(38.98, 82.57, 304.36°)
OKLaboklab(49.4% 0.0494 -0.196)
OKLCHoklch(49.4% 0.202 284.1)
XYZxyz(17.3376, 10.6452, 58.8869)
Luminance0.1065 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B43CD #B5CD43
analogous
#4370CD #5B43CD #A043CD
triadic
#5B43CD #CD5B43 #43CD5B
tetradic
#5B43CD #CD4370 #B5CD43 #43CDA0
square
#5B43CD #CD4370 #B5CD43 #43CDA0
split-complementary
#5B43CD #CDA043 #70CD43
monochromatic
#2F1F76 #422CA7 #5B43CD #8573DA #AFA4E7

Accessibility & contrast

On white

6.71
#5B43CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#5B43CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B43CD
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B43CD#FFFFFF#000000##FFFFFF
##5B43CD1.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D1
Deuteranopia (green-blind)
#0057CA
Tritanopia (blue-blind)
#246682
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5b43cd;
/* rgb */ color: rgb(91, 67, 205);
/* oklch */ color: oklch(49.4% 0.202 284.1);
Tailwind
colors: {
  custom: {
    50: '#9479dd',
    500: '#5b43cd',
    950: '#000000',
  },
}
SCSS
$custom: #5b43cd;
$custom-light: #9479dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5b43cd",
  "rgb": {
    "r": 91,
    "g": 67,
    "b": 205
  },
  "hsl": {
    "h": 250.435,
    "s": 57.983,
    "l": 53.333
  },
  "oklch": {
    "l": 0.49395,
    "c": 0.20215,
    "h": 284.1
  },
  "luminance": 0.10646
}

Semantic roles & 50–950 ramp

primary
#5B43CD
secondary
#C9D498
accent
#E147C6
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5B43CD

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

Preview Lab → · Contrast checker → · Palette generator →

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