#5C35AF#5C35AF

#5C35AF is a dark, vivid violet. Relative luminance 0.079; OKLCH L 44.9% C 0.182 H 292.1°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#5C35AF
RGBrgb(92, 53, 175)
HSLhsl(259, 54%, 45%)
HSVhsv(259, 70%, 69%)
CMYKcmyk(47.4%, 69.7%, 0%, 31.4%)
CIE-LABlab(33.81, 45.69, -58.98)
CIE-LCHlch(33.81, 74.61, 307.76°)
OKLaboklab(44.94% 0.0686 -0.169)
OKLCHoklch(44.94% 0.182 292.1)
XYZxyz(13.4224, 7.9162, 41.3699)
Luminance0.0792 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C35AF #88AF35
analogous
#354BAF #5C35AF #9935AF
triadic
#5C35AF #AF5C35 #35AF5C
tetradic
#5C35AF #AF354B #88AF35 #35AF99
square
#5C35AF #AF354B #88AF35 #35AF99
split-complementary
#5C35AF #AF9935 #4BAF35
monochromatic
#2B1951 #432780 #5C35AF #7B56CC #A085DA

Accessibility & contrast

On white

8.13
#5C35AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#5C35AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C35AF
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C35AF#FFFFFF#000000##FFFFFF
##5C35AF1.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B3
Deuteranopia (green-blind)
#004DAD
Tritanopia (blue-blind)
#42546E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5c35af;
/* rgb */ color: rgb(92, 53, 175);
/* oklch */ color: oklch(44.9% 0.182 292.1);
Tailwind
colors: {
  custom: {
    50: '#926fc8',
    500: '#5c35af',
    950: '#000000',
  },
}
SCSS
$custom: #5c35af;
$custom-light: #926fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#5c35af",
  "rgb": {
    "r": 92,
    "g": 53,
    "b": 175
  },
  "hsl": {
    "h": 259.18,
    "s": 53.509,
    "l": 44.706
  },
  "oklch": {
    "l": 0.44944,
    "c": 0.18238,
    "h": 292.1
  },
  "luminance": 0.07917
}

Semantic roles & 50–950 ramp

primary
#5C35AF
secondary
#ADC47C
accent
#DD4BAE
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #5C35AF

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

Preview Lab → · Contrast checker → · Palette generator →

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