#5C45CD#5C45CD

#5C45CD is a mid, vivid violet. Relative luminance 0.109; OKLCH L 49.8% C 0.200 H 284.2°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#5C45CD
RGBrgb(92, 69, 205)
HSLhsl(250, 58%, 54%)
HSVhsv(250, 66%, 80%)
CMYKcmyk(55.1%, 66.3%, 0%, 19.6%)
CIE-LABlab(39.48, 45.64, -67.34)
CIE-LCHlch(39.48, 81.35, 304.13°)
OKLaboklab(49.78% 0.049 -0.1936)
OKLCHoklch(49.78% 0.2 284.2)
XYZxyz(17.5578, 10.9383, 58.9319)
Luminance0.1094 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C45CD #B6CD45
analogous
#4572CD #5C45CD #A045CD
triadic
#5C45CD #CD5C45 #45CD5C
tetradic
#5C45CD #CD4572 #B6CD45 #45CDA0
square
#5C45CD #CD4572 #B6CD45 #45CDA0
split-complementary
#5C45CD #CDA045 #72CD45
monochromatic
#2F2077 #422DA8 #5C45CD #8675DA #B1A5E7

Accessibility & contrast

On white

6.59
#5C45CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#5C45CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C45CD
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C45CD#FFFFFF#000000##FFFFFF
##5C45CD1.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D1
Deuteranopia (green-blind)
#0059CA
Tritanopia (blue-blind)
#276883
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5c45cd;
/* rgb */ color: rgb(92, 69, 205);
/* oklch */ color: oklch(49.8% 0.200 284.2);
Tailwind
colors: {
  custom: {
    50: '#957add',
    500: '#5c45cd',
    950: '#000000',
  },
}
SCSS
$custom: #5c45cd;
$custom-light: #957add;
$custom-dark: #000000;
JSON
{
  "hex": "#5c45cd",
  "rgb": {
    "r": 92,
    "g": 69,
    "b": 205
  },
  "hsl": {
    "h": 250.147,
    "s": 57.627,
    "l": 53.725
  },
  "oklch": {
    "l": 0.49776,
    "c": 0.19968,
    "h": 284.2
  },
  "luminance": 0.10939
}

Semantic roles & 50–950 ramp

primary
#5C45CD
secondary
#CAD49A
accent
#E147C7
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5C45CD

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

Preview Lab → · Contrast checker → · Palette generator →

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