#5723A9#5723A9

#5723A9 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.7% C 0.195 H 293.6°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#5723A9
RGBrgb(87, 35, 169)
HSLhsl(263, 66%, 40%)
HSVhsv(263, 79%, 66%)
CMYKcmyk(48.5%, 79.3%, 0%, 33.7%)
CIE-LABlab(29.64, 51.92, -62.22)
CIE-LCHlch(29.64, 81.04, 309.84°)
OKLaboklab(41.72% 0.0782 -0.1786)
OKLCHoklch(41.72% 0.195 293.6)
XYZxyz(11.6910, 6.0925, 38.0884)
Luminance0.0609 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5723A9 #75A923
analogous
#2332A9 #5723A9 #9A23A9
triadic
#5723A9 #A95723 #23A957
tetradic
#5723A9 #A92332 #75A923 #23A99A
square
#5723A9 #A92332 #75A923 #23A99A
split-complementary
#5723A9 #A99A23 #32A923
monochromatic
#230E44 #3D1976 #5723A9 #7334D5 #9667DF

Accessibility & contrast

On white

9.47
#5723A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#5723A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5723A9
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5723A9#FFFFFF#000000##FFFFFF
##5723A91.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AD
Deuteranopia (green-blind)
#0043A7
Tritanopia (blue-blind)
#3E4966
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #5723a9;
/* rgb */ color: rgb(87, 35, 169);
/* oklch */ color: oklch(41.7% 0.195 293.6);
Tailwind
colors: {
  custom: {
    50: '#8f65c4',
    500: '#5723a9',
    950: '#000000',
  },
}
SCSS
$custom: #5723a9;
$custom-light: #8f65c4;
$custom-dark: #000000;
JSON
{
  "hex": "#5723a9",
  "rgb": {
    "r": 87,
    "g": 35,
    "b": 169
  },
  "hsl": {
    "h": 263.284,
    "s": 65.686,
    "l": 40
  },
  "oklch": {
    "l": 0.41715,
    "c": 0.19493,
    "h": 293.6
  },
  "luminance": 0.06093
}

Semantic roles & 50–950 ramp

primary
#5723A9
secondary
#9FC563
accent
#E93FA7
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #5723A9

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

Preview Lab → · Contrast checker → · Palette generator →

#5723A9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva