#5C45CF#5C45CF

#5C45CF is a mid, highly saturated violet. Relative luminance 0.110; OKLCH L 49.9% C 0.202 H 283.9°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#5C45CF
RGBrgb(92, 69, 207)
HSLhsl(250, 59%, 54%)
HSVhsv(250, 67%, 81%)
CMYKcmyk(55.6%, 66.7%, 0%, 18.8%)
CIE-LABlab(39.64, 46.24, -68.23)
CIE-LCHlch(39.64, 82.42, 304.13°)
OKLaboklab(49.95% 0.0487 -0.1962)
OKLCHoklch(49.95% 0.202 283.9)
XYZxyz(17.8008, 11.0355, 60.2115)
Luminance0.1104 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C45CF #B8CF45
analogous
#4573CF #5C45CF #A145CF
triadic
#5C45CF #CF5C45 #45CF5C
tetradic
#5C45CF #CF4573 #B8CF45 #45CFA1
square
#5C45CF #CF4573 #B8CF45 #45CFA1
split-complementary
#5C45CF #CFA145 #73CF45
monochromatic
#2F207A #412CAB #5C45CF #8776DC #B1A6E8

Accessibility & contrast

On white

6.55
#5C45CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#5C45CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C45CF
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C45CF#FFFFFF#000000##FFFFFF
##5C45CF1.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D3
Deuteranopia (green-blind)
#0059CC
Tritanopia (blue-blind)
#256884
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5c45cf;
/* rgb */ color: rgb(92, 69, 207);
/* oklch */ color: oklch(49.9% 0.202 283.9);
Tailwind
colors: {
  custom: {
    50: '#957adf',
    500: '#5c45cf',
    950: '#000000',
  },
}
SCSS
$custom: #5c45cf;
$custom-light: #957adf;
$custom-dark: #000000;
JSON
{
  "hex": "#5c45cf",
  "rgb": {
    "r": 92,
    "g": 69,
    "b": 207
  },
  "hsl": {
    "h": 250,
    "s": 58.974,
    "l": 54.118
  },
  "oklch": {
    "l": 0.49945,
    "c": 0.20215,
    "h": 283.9
  },
  "luminance": 0.11037
}

Semantic roles & 50–950 ramp

primary
#5C45CF
secondary
#CBD59B
accent
#E246C8
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5C45CF

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

Preview Lab → · Contrast checker → · Palette generator →

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