#5723B2#5723B2

#5723B2 is a dark, highly saturated violet. Relative luminance 0.064; OKLCH L 42.6% C 0.205 H 291.6°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#5723B2
RGBrgb(87, 35, 178)
HSLhsl(262, 67%, 42%)
HSVhsv(262, 80%, 70%)
CMYKcmyk(51.1%, 80.3%, 0%, 30.2%)
CIE-LABlab(30.50, 54.27, -66.21)
CIE-LCHlch(30.50, 85.61, 309.34°)
OKLaboklab(42.57% 0.0753 -0.1902)
OKLCHoklch(42.57% 0.205 291.6)
XYZxyz(12.5651, 6.4422, 42.6922)
Luminance0.0644 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5723B2 #7EB223
analogous
#2337B2 #5723B2 #9F23B2
triadic
#5723B2 #B25723 #23B257
tetradic
#5723B2 #B22337 #7EB223 #23B29F
square
#5723B2 #B22337 #7EB223 #23B29F
split-complementary
#5723B2 #B29F23 #37B223
monochromatic
#250F4C #3E197F #5723B2 #743AD8 #986DE2

Accessibility & contrast

On white

9.18
#5723B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#5723B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5723B2
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5723B2#FFFFFF#000000##FFFFFF
##5723B21.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB6
Deuteranopia (green-blind)
#0045AF
Tritanopia (blue-blind)
#374D6B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #5723b2;
/* rgb */ color: rgb(87, 35, 178);
/* oklch */ color: oklch(42.6% 0.205 291.6);
Tailwind
colors: {
  custom: {
    50: '#9065ca',
    500: '#5723b2',
    950: '#000000',
  },
}
SCSS
$custom: #5723b2;
$custom-light: #9065ca;
$custom-dark: #000000;
JSON
{
  "hex": "#5723b2",
  "rgb": {
    "r": 87,
    "g": 35,
    "b": 178
  },
  "hsl": {
    "h": 261.818,
    "s": 67.136,
    "l": 41.765
  },
  "oklch": {
    "l": 0.4257,
    "c": 0.2046,
    "h": 291.6
  },
  "luminance": 0.06443
}

Semantic roles & 50–950 ramp

primary
#5723B2
secondary
#A6C968
accent
#EA3EAB
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #5723B2

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

Preview Lab → · Contrast checker → · Palette generator →

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