#5D43CD#5D43CD

#5D43CD is a mid, highly saturated violet. Relative luminance 0.107; OKLCH L 49.6% C 0.202 H 285.0°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#5D43CD
RGBrgb(93, 67, 205)
HSLhsl(251, 58%, 53%)
HSVhsv(251, 67%, 80%)
CMYKcmyk(54.6%, 67.3%, 0%, 19.6%)
CIE-LABlab(39.15, 46.92, -67.87)
CIE-LCHlch(39.15, 82.51, 304.66°)
OKLaboklab(49.57% 0.0521 -0.1951)
OKLCHoklch(49.57% 0.202 285)
XYZxyz(17.5375, 10.7482, 58.8963)
Luminance0.1075 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D43CD #B3CD43
analogous
#436ECD #5D43CD #A243CD
triadic
#5D43CD #CD5D43 #43CD5D
tetradic
#5D43CD #CD436E #B3CD43 #43CDA2
square
#5D43CD #CD436E #B3CD43 #43CDA2
split-complementary
#5D43CD #CDA243 #6ECD43
monochromatic
#301F76 #432CA7 #5D43CD #8773DA #B0A4E7

Accessibility & contrast

On white

6.67
#5D43CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#5D43CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D43CD
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D43CD#FFFFFF#000000##FFFFFF
##5D43CD1.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D1
Deuteranopia (green-blind)
#0058CA
Tritanopia (blue-blind)
#2B6682
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5d43cd;
/* rgb */ color: rgb(93, 67, 205);
/* oklch */ color: oklch(49.6% 0.202 285.0);
Tailwind
colors: {
  custom: {
    50: '#9579dd',
    500: '#5d43cd',
    950: '#000000',
  },
}
SCSS
$custom: #5d43cd;
$custom-light: #9579dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5d43cd",
  "rgb": {
    "r": 93,
    "g": 67,
    "b": 205
  },
  "hsl": {
    "h": 251.304,
    "s": 57.983,
    "l": 53.333
  },
  "oklch": {
    "l": 0.49565,
    "c": 0.20193,
    "h": 285
  },
  "luminance": 0.10749
}

Semantic roles & 50–950 ramp

primary
#5D43CD
secondary
#C8D498
accent
#E147C4
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5D43CD

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

Preview Lab → · Contrast checker → · Palette generator →

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