#5D35AB#5D35AB

#5D35AB is a dark, vivid violet. Relative luminance 0.078; OKLCH L 44.7% C 0.178 H 293.5°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#5D35AB
RGBrgb(93, 53, 171)
HSLhsl(260, 53%, 44%)
HSVhsv(260, 69%, 67%)
CMYKcmyk(45.6%, 69%, 0%, 32.9%)
CIE-LABlab(33.59, 44.76, -56.94)
CIE-LCHlch(33.59, 72.43, 308.17°)
OKLaboklab(44.71% 0.0707 -0.163)
OKLCHoklch(44.71% 0.178 293.5)
XYZxyz(13.1360, 7.8132, 39.3362)
Luminance0.0781 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D35AB #83AB35
analogous
#3548AB #5D35AB #9835AB
triadic
#5D35AB #AB5D35 #35AB5D
tetradic
#5D35AB #AB3548 #83AB35 #35AB98
square
#5D35AB #AB3548 #83AB35 #35AB98
split-complementary
#5D35AB #AB9835 #48AB35
monochromatic
#2A184E #44277C #5D35AB #7C53CA #9F82D8

Accessibility & contrast

On white

8.19
#5D35AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#5D35AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D35AB
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D35AB#FFFFFF#000000##FFFFFF
##5D35AB1.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AF
Deuteranopia (green-blind)
#004DA9
Tritanopia (blue-blind)
#46526C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5d35ab;
/* rgb */ color: rgb(93, 53, 171);
/* oklch */ color: oklch(44.7% 0.178 293.5);
Tailwind
colors: {
  custom: {
    50: '#926fc5',
    500: '#5d35ab',
    950: '#000000',
  },
}
SCSS
$custom: #5d35ab;
$custom-light: #926fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#5d35ab",
  "rgb": {
    "r": 93,
    "g": 53,
    "b": 171
  },
  "hsl": {
    "h": 260.339,
    "s": 52.679,
    "l": 43.922
  },
  "oklch": {
    "l": 0.44712,
    "c": 0.17765,
    "h": 293.5
  },
  "luminance": 0.07814
}

Semantic roles & 50–950 ramp

primary
#5D35AB
secondary
#A9C27A
accent
#DC4CAB
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #5D35AB

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

Preview Lab → · Contrast checker → · Palette generator →

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