#5334DD#5334DD

#5334DD is a mid, highly saturated violet. Relative luminance 0.095; OKLCH L 48.2% C 0.237 H 281.1°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#5334DD
RGBrgb(83, 52, 221)
HSLhsl(251, 71%, 54%)
HSVhsv(251, 76%, 87%)
CMYKcmyk(62.4%, 76.5%, 0%, 13.3%)
CIE-LABlab(36.96, 58.03, -80.72)
CIE-LCHlch(36.96, 99.42, 305.71°)
OKLaboklab(48.23% 0.0459 -0.2329)
OKLCHoklch(48.23% 0.237 281.1)
XYZxyz(17.8423, 9.5141, 69.2888)
Luminance0.0951 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5334DD #BEDD34
analogous
#3469DD #5334DD #A734DD
triadic
#5334DD #DD5334 #34DD53
tetradic
#5334DD #DD3469 #BEDD34 #34DDA7
square
#5334DD #DD3469 #BEDD34 #34DDA7
split-complementary
#5334DD #DDA734 #69DD34
monochromatic
#291681 #3A1EB5 #5334DD #7F68E6 #AC9DEF

Accessibility & contrast

On white

7.23
#5334DD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#5334DD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5334DD
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5334DD#FFFFFF#000000##FFFFFF
##5334DD1.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DE2
Deuteranopia (green-blind)
#0051DA
Tritanopia (blue-blind)
#006687
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5334dd;
/* rgb */ color: rgb(83, 52, 221);
/* oklch */ color: oklch(48.2% 0.237 281.1);
Tailwind
colors: {
  custom: {
    50: '#9470e9',
    500: '#5334dd',
    950: '#000000',
  },
}
SCSS
$custom: #5334dd;
$custom-light: #9470e9;
$custom-dark: #000000;
JSON
{
  "hex": "#5334dd",
  "rgb": {
    "r": 83,
    "g": 52,
    "b": 221
  },
  "hsl": {
    "h": 251.006,
    "s": 71.308,
    "l": 53.529
  },
  "oklch": {
    "l": 0.48233,
    "c": 0.2374,
    "h": 281.1
  },
  "luminance": 0.09515
}

Semantic roles & 50–950 ramp

primary
#5334DD
secondary
#CDDB92
accent
#EE3ACD
background
#FAF7FE
surface
#F3EDFD
border
#CDC8D5
text
#0F0816
muted
#7F7B84

Preview Lab

Preview with #5334DD

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

Preview Lab → · Contrast checker → · Palette generator →

#5334DD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva