#5323CA#5323CA

#5323CA is a dark, highly saturated violet. Relative luminance 0.073; OKLCH L 44.6% C 0.230 H 285.3°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#5323CA
RGBrgb(83, 35, 202)
HSLhsl(257, 70%, 46%)
HSVhsv(257, 83%, 79%)
CMYKcmyk(58.9%, 82.7%, 0%, 20.8%)
CIE-LABlab(32.49, 60.14, -77.11)
CIE-LCHlch(32.49, 97.79, 307.95°)
OKLaboklab(44.56% 0.0609 -0.2222)
OKLCHoklch(44.56% 0.23 285.3)
XYZxyz(14.8257, 7.3044, 56.4943)
Luminance0.0731 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5323CA #9ACA23
analogous
#2346CA #5323CA #A723CA
triadic
#5323CA #CA5323 #23CA53
tetradic
#5323CA #CA2346 #9ACA23 #23CAA7
square
#5323CA #CA2346 #9ACA23 #23CAA7
split-complementary
#5323CA #CAA723 #46CA23
monochromatic
#281162 #3E1A96 #5323CA #754AE0 #9D7FE9

Accessibility & contrast

On white

8.53
#5323CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#5323CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5323CA
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5323CA#FFFFFF#000000##FFFFFF
##5323CA1.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051CE
Deuteranopia (green-blind)
#0047C7
Tritanopia (blue-blind)
#065779
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #5323ca;
/* rgb */ color: rgb(83, 35, 202);
/* oklch */ color: oklch(44.6% 0.230 285.3);
Tailwind
colors: {
  custom: {
    50: '#9266dc',
    500: '#5323ca',
    950: '#000000',
  },
}
SCSS
$custom: #5323ca;
$custom-light: #9266dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5323ca",
  "rgb": {
    "r": 83,
    "g": 35,
    "b": 202
  },
  "hsl": {
    "h": 257.246,
    "s": 70.464,
    "l": 46.471
  },
  "oklch": {
    "l": 0.44563,
    "c": 0.23038,
    "h": 285.3
  },
  "luminance": 0.07305
}

Semantic roles & 50–950 ramp

primary
#5323CA
secondary
#B7D178
accent
#ED3BBA
background
#F9F6FD
surface
#F2EBFB
border
#CCC6D4
text
#0E0615
muted
#7E7A83

Preview Lab

Preview with #5323CA

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

Preview Lab → · Contrast checker → · Palette generator →

#5323CA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva