#5D35AF#5D35AF

#5D35AF is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.0% C 0.182 H 292.6°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#5D35AF
RGBrgb(93, 53, 175)
HSLhsl(260, 54%, 45%)
HSVhsv(260, 70%, 69%)
CMYKcmyk(46.9%, 69.7%, 0%, 31.4%)
CIE-LABlab(33.92, 45.87, -58.80)
CIE-LCHlch(33.92, 74.57, 307.96°)
OKLaboklab(45.05% 0.07 -0.1684)
OKLCHoklch(45.05% 0.182 292.6)
XYZxyz(13.5230, 7.9681, 41.3746)
Luminance0.0797 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D35AF #87AF35
analogous
#354AAF #5D35AF #9A35AF
triadic
#5D35AF #AF5D35 #35AF5D
tetradic
#5D35AF #AF354A #87AF35 #35AF9A
square
#5D35AF #AF354A #87AF35 #35AF9A
split-complementary
#5D35AF #AF9A35 #4AAF35
monochromatic
#2B1951 #442780 #5D35AF #7C56CC #A185DA

Accessibility & contrast

On white

8.10
#5D35AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#5D35AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D35AF
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D35AF#FFFFFF#000000##FFFFFF
##5D35AF1.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B3
Deuteranopia (green-blind)
#004DAD
Tritanopia (blue-blind)
#44546E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5d35af;
/* rgb */ color: rgb(93, 53, 175);
/* oklch */ color: oklch(45.0% 0.182 292.6);
Tailwind
colors: {
  custom: {
    50: '#926fc8',
    500: '#5d35af',
    950: '#000000',
  },
}
SCSS
$custom: #5d35af;
$custom-light: #926fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#5d35af",
  "rgb": {
    "r": 93,
    "g": 53,
    "b": 175
  },
  "hsl": {
    "h": 259.672,
    "s": 53.509,
    "l": 44.706
  },
  "oklch": {
    "l": 0.45046,
    "c": 0.18241,
    "h": 292.6
  },
  "luminance": 0.07969
}

Semantic roles & 50–950 ramp

primary
#5D35AF
secondary
#ACC47C
accent
#DD4BAD
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #5D35AF

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

Preview Lab → · Contrast checker → · Palette generator →

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