#5339D3#5339D3

#5339D3 is a mid, highly saturated violet. Relative luminance 0.095; OKLCH L 47.9% C 0.221 H 281.8°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#5339D3
RGBrgb(83, 57, 211)
HSLhsl(250, 64%, 53%)
HSVhsv(250, 73%, 83%)
CMYKcmyk(60.7%, 73%, 0%, 17.3%)
CIE-LABlab(36.87, 52.64, -75.11)
CIE-LCHlch(36.87, 91.72, 305.02°)
OKLaboklab(47.88% 0.0451 -0.2166)
OKLCHoklch(47.88% 0.221 281.8)
XYZxyz(16.7846, 9.4672, 62.5583)
Luminance0.0947 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5339D3 #B9D339
analogous
#396CD3 #5339D3 #A039D3
triadic
#5339D3 #D35339 #39D353
tetradic
#5339D3 #D3396C #B9D339 #39D3A0
square
#5339D3 #D3396C #B9D339 #39D3A0
split-complementary
#5339D3 #D3A039 #6CD339
monochromatic
#2A1A77 #3C26A9 #5339D3 #7E6BDE #AA9DE9

Accessibility & contrast

On white

7.26
#5339D3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#5339D3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5339D3
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5339D3#FFFFFF#000000##FFFFFF
##5339D31.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CD7
Deuteranopia (green-blind)
#0051D0
Tritanopia (blue-blind)
#006483
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5339d3;
/* rgb */ color: rgb(83, 57, 211);
/* oklch */ color: oklch(47.9% 0.221 281.8);
Tailwind
colors: {
  custom: {
    50: '#9272e2',
    500: '#5339d3',
    950: '#000000',
  },
}
SCSS
$custom: #5339d3;
$custom-light: #9272e2;
$custom-dark: #000000;
JSON
{
  "hex": "#5339d3",
  "rgb": {
    "r": 83,
    "g": 57,
    "b": 211
  },
  "hsl": {
    "h": 250.13,
    "s": 63.636,
    "l": 52.549
  },
  "oklch": {
    "l": 0.47883,
    "c": 0.22124,
    "h": 281.8
  },
  "luminance": 0.09468
}

Semantic roles & 50–950 ramp

primary
#5339D3
secondary
#CAD592
accent
#E741CB
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0E0816
muted
#7E7B84

Preview Lab

Preview with #5339D3

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

Preview Lab → · Contrast checker → · Palette generator →

#5339D3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva