#5330D4#5330D4

#5330D4 is a mid, highly saturated violet. Relative luminance 0.087; OKLCH L 46.9% C 0.231 H 282.7°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#5330D4
RGBrgb(83, 48, 212)
HSLhsl(253, 66%, 51%)
HSVhsv(253, 77%, 83%)
CMYKcmyk(60.8%, 77.4%, 0%, 16.9%)
CIE-LABlab(35.41, 57.35, -78.09)
CIE-LCHlch(35.41, 96.89, 306.29°)
OKLaboklab(46.89% 0.0506 -0.2252)
OKLCHoklch(46.89% 0.231 282.7)
XYZxyz(16.5042, 8.7052, 63.0852)
Luminance0.0871 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5330D4 #B1D430
analogous
#305FD4 #5330D4 #A530D4
triadic
#5330D4 #D45330 #30D453
tetradic
#5330D4 #D4305F #B1D430 #30D4A5
square
#5330D4 #D4305F #B1D430 #30D4A5
split-complementary
#5330D4 #D4A530 #5FD430
monochromatic
#2B1872 #3E22A5 #5330D4 #7D63DF #A795E9

Accessibility & contrast

On white

7.66
#5330D4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#5330D4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5330D4
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5330D4#FFFFFF#000000##FFFFFF
##5330D41.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058D9
Deuteranopia (green-blind)
#004ED1
Tritanopia (blue-blind)
#006081
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5330d4;
/* rgb */ color: rgb(83, 48, 212);
/* oklch */ color: oklch(46.9% 0.231 282.7);
Tailwind
colors: {
  custom: {
    50: '#936de3',
    500: '#5330d4',
    950: '#000000',
  },
}
SCSS
$custom: #5330d4;
$custom-light: #936de3;
$custom-dark: #000000;
JSON
{
  "hex": "#5330d4",
  "rgb": {
    "r": 83,
    "g": 48,
    "b": 212
  },
  "hsl": {
    "h": 252.805,
    "s": 65.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.46888,
    "c": 0.23084,
    "h": 282.7
  },
  "luminance": 0.08706
}

Semantic roles & 50–950 ramp

primary
#5330D4
secondary
#C5D48C
accent
#E93FC4
background
#F9F6FE
surface
#F2ECFC
border
#CCC7D5
text
#0F0716
muted
#7E7A84

Preview Lab

Preview with #5330D4

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

Preview Lab → · Contrast checker → · Palette generator →

#5330D4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva