#5323B2#5323B2

#5323B2 is a dark, highly saturated violet. Relative luminance 0.063; OKLCH L 42.1% C 0.205 H 289.7°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#5323B2
RGBrgb(83, 35, 178)
HSLhsl(260, 67%, 42%)
HSVhsv(260, 80%, 70%)
CMYKcmyk(53.4%, 80.3%, 0%, 30.2%)
CIE-LABlab(30.05, 53.75, -66.97)
CIE-LCHlch(30.05, 85.88, 308.75°)
OKLaboklab(42.15% 0.0691 -0.1926)
OKLCHoklch(42.15% 0.205 289.7)
XYZxyz(12.2019, 6.2549, 42.6752)
Luminance0.0625 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5323B2 #82B223
analogous
#233BB2 #5323B2 #9B23B2
triadic
#5323B2 #B25323 #23B253
tetradic
#5323B2 #B2233B #82B223 #23B29B
square
#5323B2 #B2233B #82B223 #23B29B
split-complementary
#5323B2 #B29B23 #3BB223
monochromatic
#230F4C #3B197F #5323B2 #6F3AD8 #946DE2

Accessibility & contrast

On white

9.33
#5323B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#5323B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5323B2
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5323B2#FFFFFF#000000##FFFFFF
##5323B21.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B6
Deuteranopia (green-blind)
#0043AF
Tritanopia (blue-blind)
#2E4D6B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #5323b2;
/* rgb */ color: rgb(83, 35, 178);
/* oklch */ color: oklch(42.1% 0.205 289.7);
Tailwind
colors: {
  custom: {
    50: '#8e65ca',
    500: '#5323b2',
    950: '#000000',
  },
}
SCSS
$custom: #5323b2;
$custom-light: #8e65ca;
$custom-dark: #000000;
JSON
{
  "hex": "#5323b2",
  "rgb": {
    "r": 83,
    "g": 35,
    "b": 178
  },
  "hsl": {
    "h": 260.14,
    "s": 67.136,
    "l": 41.765
  },
  "oklch": {
    "l": 0.4215,
    "c": 0.20463,
    "h": 289.7
  },
  "luminance": 0.06255
}

Semantic roles & 50–950 ramp

primary
#5323B2
secondary
#A8C968
accent
#EA3EB0
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #5323B2

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

Preview Lab → · Contrast checker → · Palette generator →

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