#5C46B0#5C46B0

#5C46B0 is a mid, vivid violet. Relative luminance 0.098; OKLCH L 47.6% C 0.161 H 288.2°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#5C46B0
RGBrgb(92, 70, 176)
HSLhsl(252, 43%, 48%)
HSVhsv(252, 60%, 69%)
CMYKcmyk(47.7%, 60.2%, 0%, 31%)
CIE-LABlab(37.46, 36.34, -53.64)
CIE-LCHlch(37.46, 64.79, 304.12°)
OKLaboklab(47.61% 0.0505 -0.1533)
OKLCHoklch(47.61% 0.161 288.2)
XYZxyz(14.4380, 9.7896, 42.1947)
Luminance0.0979 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C46B0 #9AB046
analogous
#4665B0 #5C46B0 #9146B0
triadic
#5C46B0 #B05C46 #46B05C
tetradic
#5C46B0 #B04665 #9AB046 #46B091
square
#5C46B0 #B04665 #9AB046 #46B091
split-complementary
#5C46B0 #B09146 #65B046
monochromatic
#2E2358 #453584 #5C46B0 #806EC5 #A69AD7

Accessibility & contrast

On white

7.10
#5C46B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#5C46B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C46B0
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C46B0#FFFFFF#000000##FFFFFF
##5C46B01.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB3
Deuteranopia (green-blind)
#0055AE
Tritanopia (blue-blind)
#405E74
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #5c46b0;
/* rgb */ color: rgb(92, 70, 176);
/* oklch */ color: oklch(47.6% 0.161 288.2);
Tailwind
colors: {
  custom: {
    50: '#917ac8',
    500: '#5c46b0',
    950: '#000000',
  },
}
SCSS
$custom: #5c46b0;
$custom-light: #917ac8;
$custom-dark: #000000;
JSON
{
  "hex": "#5c46b0",
  "rgb": {
    "r": 92,
    "g": 70,
    "b": 176
  },
  "hsl": {
    "h": 252.453,
    "s": 43.089,
    "l": 48.235
  },
  "oklch": {
    "l": 0.47613,
    "c": 0.16141,
    "h": 288.2
  },
  "luminance": 0.0979
}

Semantic roles & 50–950 ramp

primary
#5C46B0
secondary
#B8C38F
accent
#D355B9
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0D0913
muted
#7E7B82

Preview Lab

Preview with #5C46B0

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

Preview Lab → · Contrast checker → · Palette generator →

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