#5331A0#5331A0

#5331A0 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.2% C 0.169 H 291.5°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#5331A0
RGBrgb(83, 49, 160)
HSLhsl(258, 53%, 41%)
HSVhsv(258, 69%, 63%)
CMYKcmyk(48.1%, 69.4%, 0%, 37.3%)
CIE-LABlab(30.82, 41.94, -54.89)
CIE-LCHlch(30.82, 69.08, 307.38°)
OKLaboklab(42.19% 0.062 -0.1573)
OKLCHoklch(42.19% 0.169 291.5)
XYZxyz(11.0090, 6.5733, 33.9396)
Luminance0.0657 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5331A0 #7EA031
analogous
#3147A0 #5331A0 #8A31A0
triadic
#5331A0 #A05331 #31A053
tetradic
#5331A0 #A03147 #7EA031 #31A08A
square
#5331A0 #A03147 #7EA031 #31A08A
split-complementary
#5331A0 #A08A31 #47A031
monochromatic
#221442 #3B2371 #5331A0 #6E47C7 #9376D5

Accessibility & contrast

On white

9.07
#5331A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#5331A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5331A0
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5331A0#FFFFFF#000000##FFFFFF
##5331A01.009.072.319.07
#FFFFFF9.071.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA3
Deuteranopia (green-blind)
#00469E
Tritanopia (blue-blind)
#3B4D64
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #5331a0;
/* rgb */ color: rgb(83, 49, 160);
/* oklch */ color: oklch(42.2% 0.169 291.5);
Tailwind
colors: {
  custom: {
    50: '#8a6cbd',
    500: '#5331a0',
    950: '#000000',
  },
}
SCSS
$custom: #5331a0;
$custom-light: #8a6cbd;
$custom-dark: #000000;
JSON
{
  "hex": "#5331a0",
  "rgb": {
    "r": 83,
    "g": 49,
    "b": 160
  },
  "hsl": {
    "h": 258.378,
    "s": 53.11,
    "l": 40.98
  },
  "oklch": {
    "l": 0.42192,
    "c": 0.16906,
    "h": 291.5
  },
  "luminance": 0.06574
}

Semantic roles & 50–950 ramp

primary
#5331A0
secondary
#A5BD70
accent
#DD4BB0
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0D0712
muted
#7D7A81

Preview Lab

Preview with #5331A0

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

Preview Lab → · Contrast checker → · Palette generator →

#5331A0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva